| Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
WMitem< T > Class Template Reference#include <WMclass.h>
Inheritance diagram for WMitem< T >: ![]() Detailed Descriptiontemplate<class T>
WMitem<T> is a reference to the variable of type T described by the associated WMentry.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. | |
| template<> | |
| std::string | toString (void) const |
| override this to return appropriate string representation | |
| template<> | |
| std::string | toString (void) const |
| override this to return appropriate string representation | |
| template<> | |
| std::string | toString (void) const |
| override this to return appropriate string representation | |
| template<> | |
| std::string | toString (void) const |
| override this to return appropriate string representation | |
| template<> | |
| std::string | toString (void) const |
| override this to return appropriate string representation | |
| template<> | |
| std::string | toString (void) const |
| override this to return appropriate string representation | |
| template<> | |
| std::string | toString (void) const |
| override this to return appropriate string representation | |
| template<> | |
| std::string | toString (void) const |
| override this to return appropriate string representation | |
|
||||||||||
|
constructor
|
|
||||||||||
|
shallow copy
|
|
||||||||||
|
Annonces changes, throws an event from wmVarEGID.
Definition at line 269 of file WMclass.h. Referenced by WMitem< T >::operator++(), WMitem< T >::operator--(), and WMitem< T >::operator=(). |
|
||||||||||
|
Explicit retrieval of variable value, used by toString().
Definition at line 175 of file WMclass.h. Referenced by dump(), WMMonitorBehavior::find(), WMitem< T >::operator *=(), WMitem< T >::operator++(), WMitem< T >::operator+=(), WMitem< T >::operator--(), WMitem< T >::operator-=(), WMitem< T >::operator/=(), WMitem< T >::operator=(), WMMonitorBehavior::registerData(), and WMitem< T >::toString(). |
|
||||||||||
|
Generic operator*=.
|
|
|||||||||
|
Coerce a WMitem<T> to type T by retrieving the value.
|
|
||||||||||
|
Generic operator postfix (x++).
|
|
|||||||||
|
Generic operator prefix (++x).
|
|
||||||||||
|
Generic operator+=.
|
|
||||||||||
|
Generic operator postfix (x--).
|
|
|||||||||
|
Generic operator prefix (--x).
|
|
||||||||||
|
Generic operator-=.
|
|
||||||||||
|
Generic operator/=.
|
|
||||||||||
|
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 261 of file WMclass.h. Referenced by WMitem< T >::operator *=(), WMitem< T >::operator+=(), WMitem< T >::operator-=(), and WMitem< T >::operator/=(). |
|
||||||||||
|
override this to return appropriate string representation
Implements WMitem_base. Definition at line 70 of file WMclass.cc. |
|
||||||||||
|
override this to return appropriate string representation
Implements WMitem_base. Definition at line 63 of file WMclass.cc. |
|
||||||||||
|
override this to return appropriate string representation
Implements WMitem_base. Definition at line 51 of file WMclass.cc. |
|
||||||||||
|
override this to return appropriate string representation
Implements WMitem_base. Definition at line 44 of file WMclass.cc. |
|
||||||||||
|
override this to return appropriate string representation
Implements WMitem_base. Definition at line 37 of file WMclass.cc. |
|
||||||||||
|
override this to return appropriate string representation
Implements WMitem_base. Definition at line 30 of file WMclass.cc. |
|
||||||||||
|
override this to return appropriate string representation
Implements WMitem_base. Definition at line 23 of file WMclass.cc. |
|
||||||||||
|
override this to return appropriate string representation
Implements WMitem_base. Definition at line 16 of file WMclass.cc. |
|
||||||||||
|
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. |
|
Tekkotsu v2.4.1 |
Generated Tue Aug 16 16:35:13 2005 by Doxygen 1.4.4 |