Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WMitem_base Class Reference

#include <WMclass.h>

Inheritance diagram for WMitem_base:

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 ~WMitem_base ()
 destructor, does nothing
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

virtual WMitem_base::~WMitem_base (  )  [inline, virtual]

destructor, does nothing

Definition at line 124 of file WMclass.h.

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

Constructor.

Definition at line 130 of file WMclass.h.

WMitem_base::WMitem_base ( const WMitem_base in  )  [inline]

*can* copy

Definition at line 131 of file WMclass.h.


Member Function Documentation

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

override this to return appropriate string representation

Implemented in WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, and WMitem< T >.

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

void WMitem_base::watch ( void   )  const [inline]

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

Definition at line 134 of file WMclass.h.

Referenced by WMMonitorBehavior::registerData().

void WMitem_base::unwatch ( void   )  const [inline]

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

Definition at line 140 of file WMclass.h.

Referenced by WMMonitorBehavior::registerData().

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

don't assign


Member Data Documentation

void* const WMitem_base::value

Pointer to the actual variable referenced by this WMitem.

Definition at line 125 of file WMclass.h.

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

Pointer to the WMentry describing this variable.

Definition at line 126 of file WMclass.h.

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


The documentation for this class was generated from the following file:

Tekkotsu v4.0
Generated Thu Nov 22 00:58:48 2007 by Doxygen 1.5.4