Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WMregistry Class Reference

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

#include <WMclass.h>


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

List of all members.

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 
)

Constructor.

Definition at line 65 of file WMclass.h.

WMregistry::WMregistry ( const WMregistry in  ) 

shallow copy

Definition at line 66 of file WMclass.h.


Member Function Documentation

void WMregistry::dump ( void   )  const

Dump the registry to the console, for debugging.

Definition at line 91 of file WMclass.cc.

Referenced by dump().

WMregistry& WMregistry::operator= ( const WMregistry in  ) 

shallow assignment

Definition at line 69 of file WMclass.h.

void WMregistry::unwatch ( void   ) 

Turn off monitoring of changes to variables.

Definition at line 81 of file WMclass.h.

void WMregistry::watch ( void   ) 

Turn on monitoring of changes to variables.

Definition at line 78 of file WMclass.h.


Member Data Documentation

Entries that make up the registry.

Definition at line 59 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 58 of file WMclass.h.

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

pointer to parent registry (allows recursive structure)

Definition at line 61 of file WMclass.h.

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

True if changes to this registry are being monitored.

Definition at line 60 of file WMclass.h.

Referenced by operator=(), unwatch(), and watch().


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

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