Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WMentry Class Reference

A WMentry is an entry in a WMregistry. More...

#include <WMclass.h>


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 94 of file WMclass.h.

List of all members.

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 
)

constructor

Definition at line 104 of file WMclass.h.

WMentry::WMentry ( const WMentry in  ) 

shallow copy

Definition at line 106 of file WMclass.h.


Member Function Documentation

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

don't assign


Member Data Documentation

Pointer to a WMitem instance for the variable.

Definition at line 98 of file WMclass.h.

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

std::string const WMentry::item_name

Name of the variable described by this entry.

Definition at line 96 of file WMclass.h.

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

The registry in which this entry resides.

Definition at line 99 of file WMclass.h.

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

std::string const WMentry::type_name

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

Definition at line 97 of file WMclass.h.

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

True if changes to this variable should be reported.

Definition at line 100 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 v5.1CVS
Generated Mon May 9 04:59:18 2016 by Doxygen 1.6.3