Homepage Demos Overview Downloads Tutorials Reference
Credits

WMitem_base Class Reference

#include <WMclass.h>

Inheritance diagram for WMitem_base:

Inheritance graph
[legend]
List of all members.

Detailed Description

WMitem_base is the base class from which all WMitem<T> subclasses are derived.

Definition at line 122 of file WMclass.h.

Public Member Functions

virtual std::string toString (void) const =0
 override this to return appropriate string representation

 WMitem_base (void *const val)
 Constructor.

 WMitem_base (const WMitem_base &in)
 *can* copy

void watch (void) const
 Turn on monitoring of changes to the variable described by this entry.

void unwatch (void) const
 Turn off monitoring of changes to the variable described by this entry.


Public Attributes

void *const  value
 Pointer to the actual variable referenced by this WMitem.

WMentryentry
 Pointer to the WMentry describing this variable.


Private Member Functions

WMitem_baseoperator= (const WMitem_base &)
 don't assign


Constructor & Destructor Documentation

WMitem_base::WMitem_base void *const   val  )  [inline]
 

Constructor.

Definition at line 129 of file WMclass.h.

WMitem_base::WMitem_base const WMitem_base in  )  [inline]
 

*can* copy

Definition at line 130 of file WMclass.h.


Member Function Documentation

WMitem_base& WMitem_base::operator= const WMitem_base  )  [private]
 

don't assign

virtual std::string WMitem_base::toString void   )  const [pure virtual]
 

override this to return appropriate string representation

Implemented in WMitem< T >.

Referenced by WMMonitorBehavior::processEvent(), and WMMonitorBehavior::registerData().

void WMitem_base::unwatch void   )  const [inline]
 

Turn off monitoring of changes to the variable described by this entry.

Definition at line 139 of file WMclass.h.

Referenced by WMMonitorBehavior::registerData().

void WMitem_base::watch void   )  const [inline]
 

Turn on monitoring of changes to the variable described by this entry.

Definition at line 133 of file WMclass.h.

Referenced by WMMonitorBehavior::registerData().


Member Data Documentation

WMentry* WMitem_base::entry
 

Pointer to the WMentry describing this variable.

Definition at line 125 of file WMclass.h.

Referenced by WMitem< T >::announce(), create_WMentry(), WMMonitorBehavior::registerData(), unwatch(), watch(), and WMitem_base().

void* const WMitem_base::value
 

Pointer to the actual variable referenced by this WMitem.

Definition at line 124 of file WMclass.h.

Referenced by WMitem< T >::get_value(), WMitem< T >::operator T &(), and WMitem_base().


The documentation for this class was generated from the following file:
Tekkotsu v2.0
Generated Wed Jan 21 03:23:34 2004 by Doxygen 1.3.4