Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
alokl (Ported)
Definition in file WMclass.h.
#include <string>
#include <vector>
#include <iostream>
#include "Events/EventRouter.h"
Include dependency graph for WMclass.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | WMentry |
A WMentry is an entry in a WMregistry. More... | |
class | WMitem |
WMitem<T> is a reference to the variable of type T described by the associated WMentry. More... | |
class | WMitem_base |
WMitem_base is the base class from which all WMitem<T> subclasses are derived. More... | |
class | WMregistry |
A WMregistry is a namespace; it holds a collection of WMEntry instances describing the variables that live in this registry. More... | |
Global Lookup functions | |
Three versions of lookup_WMentry with different argument types, and one version of create_WMentry, which they share. | |
template<typename T> WMitem< T > | lookup_WMentry (const std::string &iname, const std::string &tname, const std::string ®name) |
The lookup_reg function is defined in WMclass.cc since it's not templated. | |
template<typename T> WMitem< T > | lookup_WMentry (const std::string &iname, const std::string &tname, const WMregistry ®) |
The lookup_reg function is defined in WMclass.cc since it's not templated. | |
template<typename T> WMitem< T > | lookup_WMentry (const std::string &iname, const std::string &tname, const T &initval, WMregistry ®) |
The lookup_reg function is defined in WMclass.cc since it's not templated. | |
template<typename T> WMitem< T > | create_WMentry (const std::string &iname, const std::string &tname, const T *const value, WMregistry ®) |
The lookup_reg function is defined in WMclass.cc since it's not templated. | |
WMitem< WMregistry > | lookup_reg (const std::string &name, WMregistry ®istry) |
The lookup_reg function is defined in WMclass.cc since it's not templated. | |
void | dump (const WMitem< WMregistry > &wmreg) |
The lookup_reg function is defined in WMclass.cc since it's not templated. | |
WMregistry | GlobalWM |
the global registry for all others to put their stuff in | |
Defines | |
#define | WM_max_stringlen 60 |
Maximum displayed length of a char* or std::string variable. | |
#define | WMvar(T, name) static WMitem<T> name(lookup_WMentry<T>(#name,#T,GlobalWM)); |
Allows you to create a static WMvar. | |
#define | WMvari(T, name, initval) static WMitem<T> name(lookup_WMentry<T>(#name,#T,initval,GlobalWM)); |
Allows you to create a static WMvar with a default initialization value. | |
#define | WMvar_(T, name, registry) static WMitem<T> name(lookup_WMentry<T>(#name,#T,registry)); |
Allows you to create a static WMvar in a registry with a default initialization value. | |
#define | WMvari_(T, name, initval, registry) static WMitem<T> name(lookup_WMentry<T>(#name,#T,initval,registry)); |
Allows you to create a static WMvar in a registry with a default initialization value. | |
#define | WMreg(name) static WMitem<WMregistry> name(lookup_reg(#name,GlobalWM)); |
Allows you to create a new static registry. | |
#define | WMreg_(name, parent) static WMitem<WMregistry> name(lookup_reg(#name,parent)); |
Allows you to create a new static registry with a parent registry. | |
Functions | |
template<typename T> WMitem< T > | lookup_WMentry (const std::string &iname, const std::string &tname, WMregistry ®) |
template<typename T> WMitem< T > | create_WMentry (const std::string &iname, const std::string &tname, T *const value, WMregistry ®) |
|
Maximum displayed length of a char* or std::string variable.
Definition at line 54 of file WMclass.h. Referenced by WMitem< std::string >::toString(). |
|
Allows you to create a new static registry.
Definition at line 203 of file WMclass.h. Referenced by ChaseBallBehavior::processEvent(). |
|
Allows you to create a new static registry with a parent registry.
|
|
Allows you to create a static WMvar.
|
|
Allows you to create a static WMvar in a registry with a default initialization value.
|
|
Allows you to create a static WMvar with a default initialization value.
Definition at line 191 of file WMclass.h. Referenced by MMCombo::GotImage(). |
|
Allows you to create a static WMvar in a registry with a default initialization value.
Definition at line 199 of file WMclass.h. Referenced by ChaseBallBehavior::processEvent(). |
|
Definition at line 385 of file WMclass.h. Referenced by lookup_reg(), and lookup_WMentry(). |
|
The lookup_reg function is defined in WMclass.cc since it's not templated.
|
|
The lookup_reg function is defined in WMclass.cc since it's not templated.
Definition at line 96 of file WMclass.cc. |
|
The lookup_reg function is defined in WMclass.cc since it's not templated.
Definition at line 77 of file WMclass.cc. |
|
|
|
The lookup_reg function is defined in WMclass.cc since it's not templated.
|
|
The lookup_reg function is defined in WMclass.cc since it's not templated.
|
|
The lookup_reg function is defined in WMclass.cc since it's not templated.
|
|
the global registry for all others to put their stuff in
Definition at line 239 of file WMclass.h. Referenced by WMMonitorBehavior::find(), lookup_WMentry(), WMMonitorBehavior::processEvent(), and WMMonitorBehavior::registerData(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:22:56 2004 by Doxygen 1.3.4 |