Homepage Demos Overview Downloads Tutorials Reference
Credits

WMregistry Class Reference

#include <WMclass.h>

List of all members.


Detailed Description

A WMregistry is a namespace; it holds a collection of WMEntry instances describing the variables that live in this registry.

Definition at line 62 of file WMclass.h.

Public Member Functions

 WMregistry (const std::string &n="anonymous", WMregistry *p=NULL)
 Constructor.
 WMregistry (const WMregistry &in)
 shallow copy
WMregistryoperator= (const WMregistry &in)
 shallow assignment
void watch (void)
 Turn on monitoring of changes to variables.
void unwatch (void)
 Turn off monitoring of changes to variables.
void dump (void) const
 Dump the registry to the console, for debugging.

Public Attributes

std::string name
 Name of the registry.
std::vector< WMentry * > entries
 Entries that make up the registry.
bool watched
 True if changes to this registry are being monitored.
WMregistryparent
 pointer to parent registry (allows recursive structure)


Constructor & Destructor Documentation

WMregistry::WMregistry const std::string &  n = "anonymous",
WMregistry p = NULL
[inline]
 

Constructor.

Definition at line 71 of file WMclass.h.

WMregistry::WMregistry const WMregistry in  )  [inline]
 

shallow copy

Definition at line 72 of file WMclass.h.


Member Function Documentation

void WMregistry::dump void   )  const
 

Dump the registry to the console, for debugging.

Definition at line 87 of file WMclass.cc.

Referenced by dump().

WMregistry& WMregistry::operator= const WMregistry in  )  [inline]
 

shallow assignment

Definition at line 75 of file WMclass.h.

void WMregistry::unwatch void   )  [inline]
 

Turn off monitoring of changes to variables.

Definition at line 87 of file WMclass.h.

void WMregistry::watch void   )  [inline]
 

Turn on monitoring of changes to variables.

Definition at line 84 of file WMclass.h.


Member Data Documentation

std::vector<WMentry*> WMregistry::entries
 

Entries that make up the registry.

Definition at line 65 of file WMclass.h.

Referenced by create_WMentry(), dump(), WMMonitorBehavior::find(), lookup_reg(), lookup_WMentry(), operator=(), and WMMonitorBehavior::registerData().

std::string WMregistry::name
 

Name of the registry.

Definition at line 64 of file WMclass.h.

Referenced by dump(), operator=(), WMMonitorBehavior::processEvent(), and WMMonitorBehavior::registerData().

WMregistry* WMregistry::parent
 

pointer to parent registry (allows recursive structure)

Definition at line 67 of file WMclass.h.

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

bool WMregistry::watched
 

True if changes to this registry are being monitored.

Definition at line 66 of file WMclass.h.

Referenced by operator=().


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

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