Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WMitem_base Class Reference

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

#include <WMclass.h>

Inheritance diagram for WMitem_base:

Detailed Description

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

Definition at line 116 of file WMclass.h.

List of all members.

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 (  )  [virtual]

destructor, does nothing

Definition at line 118 of file WMclass.h.

WMitem_base::WMitem_base ( void *const   val  ) 

Constructor.

Definition at line 124 of file WMclass.h.

WMitem_base::WMitem_base ( const WMitem_base in  ) 

*can* copy

Definition at line 125 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 >, WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, WMitem< T >, and WMitem< T >.

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

void WMitem_base::unwatch ( void   )  const

Turn off 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::watch ( void   )  const

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

Definition at line 128 of file WMclass.h.

Referenced by WMMonitorBehavior::registerData().


Member Data Documentation

Pointer to the WMentry describing this variable.

Definition at line 120 of file WMclass.h.

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

void* const WMitem_base::value

Pointer to the actual variable referenced by this WMitem.

Definition at line 119 of file WMclass.h.

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


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:18 2016 by Doxygen 1.6.3