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.

References entries, name, parent, and watched.

WMregistry::WMregistry const WMregistry in  )  [inline]
 

shallow copy

Definition at line 72 of file WMclass.h.

References entries, name, parent, and watched.


Member Function Documentation

void WMregistry::dump void   )  const
 

Dump the registry to the console, for debugging.

Definition at line 87 of file WMclass.cc.

References entries, and name.

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

shallow assignment

Definition at line 75 of file WMclass.h.

References entries, name, parent, and watched.

void WMregistry::unwatch void   )  [inline]
 

Turn off monitoring of changes to variables.

Definition at line 87 of file WMclass.h.

References watched.

void WMregistry::watch void   )  [inline]
 

Turn on monitoring of changes to variables.

Definition at line 84 of file WMclass.h.

References watched.


Member Data Documentation

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

Entries that make up the registry.

Definition at line 65 of file WMclass.h.

std::string WMregistry::name
 

Name of the registry.

Definition at line 64 of file WMclass.h.

WMregistry* WMregistry::parent
 

pointer to parent registry (allows recursive structure)

Definition at line 67 of file WMclass.h.

bool WMregistry::watched
 

True if changes to this registry are being monitored.

Definition at line 66 of file WMclass.h.


The documentation for this class was generated from the following files:
Tekkotsu v1.5
Generated Fri Oct 10 15:58:37 2003 by Doxygen 1.3.4