Homepage Demos Overview Downloads Tutorials Reference
Credits

WMentry Class Reference

#include <WMclass.h>

List of all members.


Detailed Description

A WMentry is an entry in a WMregistry.

The item it describes is a unique variable, which may be accessed via many WMitem instances, all of which point back to the same WMentry.

Definition at line 100 of file WMclass.h.

Public Member Functions

 WMentry (const std::string &iname, const std::string &tname, WMitem_base *ival, WMregistry *reg=0)
 constructor
 WMentry (const WMentry &in)
 shallow copy

Public Attributes

std::string const item_name
 Name of the variable described by this entry.
std::string const type_name
 Type of the variable, e.g., "int".
WMitem_base *const item
 Pointer to a WMitem instance for the variable.
WMregistryregistry
 The registry in which this entry resides.
bool watched
 True if changes to this variable should be reported.

Private Member Functions

WMentry operator= (const WMentry &)
 don't assign


Constructor & Destructor Documentation

WMentry::WMentry const std::string &  iname,
const std::string &  tname,
WMitem_base ival,
WMregistry reg = 0
[inline]
 

constructor

Definition at line 110 of file WMclass.h.

WMentry::WMentry const WMentry in  )  [inline]
 

shallow copy

Definition at line 112 of file WMclass.h.


Member Function Documentation

WMentry WMentry::operator= const WMentry  )  [private]
 

don't assign


Member Data Documentation

WMitem_base* const WMentry::item
 

Pointer to a WMitem instance for the variable.

Definition at line 104 of file WMclass.h.

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

std::string const WMentry::item_name
 

Name of the variable described by this entry.

Definition at line 102 of file WMclass.h.

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

WMregistry* WMentry::registry
 

The registry in which this entry resides.

Definition at line 105 of file WMclass.h.

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

std::string const WMentry::type_name
 

Type of the variable, e.g., "int".

Definition at line 103 of file WMclass.h.

Referenced by WMMonitorBehavior::processEvent(), WMMonitorBehavior::registerData(), and WMitem< T >::toString().

bool WMentry::watched
 

True if changes to this variable should be reported.

Definition at line 106 of file WMclass.h.

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


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

Tekkotsu v2.2.1
Generated Tue Nov 23 16:37:55 2004 by Doxygen 1.3.9.1