| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <WMclass.h>
Inheritance diagram for WMitem< T >:

If the variable is declared in multiple functions, each declaration will have an associated WMitem<T> instance, but all the instances will reference the same variable.
Definition at line 155 of file WMclass.h.
Public Member Functions | |
| WMitem (T *const initval) | |
| constructor | |
| WMitem (const WMitem &in) | |
| shallow copy | |
| virtual WMitem< T > & | operator= (const T &new_value) |
| Assignment operator. | |
| WMitem< T > & | operator++ () |
| Generic operator prefix (++x). | |
| WMitem< T > | operator++ (int) |
| Generic operator postfix (x++). | |
| WMitem< T > & | operator-- () |
| Generic operator prefix (--x). | |
| WMitem< T > | operator-- (int) |
| Generic operator postfix (x--). | |
| WMitem< T > & | operator+= (const T &val) |
| Generic operator+=. | |
| WMitem< T > & | operator-= (const T &val) |
| Generic operator-=. | |
| WMitem< T > & | operator *= (const T &val) |
| Generic operator*=. | |
| WMitem< T > & | operator/= (const T &val) |
| Generic operator/=. | |
| void | announce (const T &val) |
| Annonces changes, throws an event from wmVarEGID. | |
| virtual T & | get_value (void) const |
| Explicit retrieval of variable value, used by toString(). | |
| virtual | operator T & () const |
| Coerce a WMitem<T> to type T by retrieving the value. | |
| virtual std::string | toString (void) const |
| std::String representation of the value. | |
|
||||||||||
|
constructor
|
|
||||||||||
|
shallow copy
|
|
||||||||||
|
Annonces changes, throws an event from wmVarEGID.
Definition at line 268 of file WMclass.h. References WMitem_base::entry, erouter, EventRouter::postEvent(), EventBase::statusETID, WMentry::watched, and EventBase::wmVarEGID. |
Here is the call graph for this function:

|
||||||||||
|
Explicit retrieval of variable value, used by toString().
Definition at line 174 of file WMclass.h. References WMitem_base::value. |
|
||||||||||
|
Generic operator*=.
Definition at line 327 of file WMclass.h. References WMitem< T >::get_value(), and WMitem< T >::operator=(). |
Here is the call graph for this function:

|
|||||||||
|
Coerce a WMitem<T> to type T by retrieving the value.
Definition at line 177 of file WMclass.h. References WMitem_base::value. |
|
||||||||||
|
Generic operator postfix (x++).
Definition at line 297 of file WMclass.h. References WMitem< T >::announce(), and WMitem< T >::get_value(). |
Here is the call graph for this function:

|
|||||||||
|
Generic operator prefix (++x).
Definition at line 291 of file WMclass.h. References WMitem< T >::announce(), and WMitem< T >::get_value(). |
Here is the call graph for this function:

|
||||||||||
|
Generic operator+=.
Definition at line 317 of file WMclass.h. References WMitem< T >::get_value(), and WMitem< T >::operator=(). |
Here is the call graph for this function:

|
||||||||||
|
Generic operator postfix (x--).
Definition at line 310 of file WMclass.h. References WMitem< T >::announce(), and WMitem< T >::get_value(). |
Here is the call graph for this function:

|
|||||||||
|
Generic operator prefix (--x).
Definition at line 304 of file WMclass.h. References WMitem< T >::announce(), and WMitem< T >::get_value(). |
Here is the call graph for this function:

|
||||||||||
|
Generic operator-=.
Definition at line 322 of file WMclass.h. References WMitem< T >::get_value(), and WMitem< T >::operator=(). |
Here is the call graph for this function:

|
||||||||||
|
Generic operator/=.
Definition at line 332 of file WMclass.h. References WMitem< T >::get_value(), and WMitem< T >::operator=(). |
Here is the call graph for this function:

|
||||||||||
|
Assignment operator. The assignment operator for WMitem<T> changes the value of the variable referenced by the WMitem, and reports the change if the variable is "watched". Definition at line 260 of file WMclass.h. References WMitem< T >::announce(), and WMitem< T >::get_value(). |
Here is the call graph for this function:

|
||||||||||
|
std::String representation of the value. Generic toString() method that just displays the variable's type and address. Will be overridden for common types like int or double. Implements WMitem_base. Definition at line 14 of file WMclass.cc. References WMitem< T >::get_value(). |
Here is the call graph for this function:

|
Tekkotsu v1.5 |
Generated Fri Oct 10 15:58:34 2003 by Doxygen 1.3.4 |