Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ishtar::VarAccessService< T, ro, s, warningWhenInitializedWithDefaultValue > Class Template Reference

#include <settings.h>

Inheritance diagram for Ishtar::VarAccessService< T, ro, s, warningWhenInitializedWithDefaultValue >:

Service List of all members.

Detailed Description

template<typename T, bool ro = false, Size s = 1, bool warningWhenInitializedWithDefaultValue = false>
class Ishtar::VarAccessService< T, ro, s, warningWhenInitializedWithDefaultValue >

Expose some variable to Ishtar in a "light" way that doesn't change their behaviour outside Ishtar use.


Public Member Functions

 VarAccessService ()
 Constructor.
void associate (const std::string &name, T *variables, const StringsAccumulator &subnames=StringsAccumulator())
 Association, register itself to the services registry.
virtual ~VarAccessService ()
 Destructor, unregister itself from the services registry.
virtual ValueVector * getValues (void)
 Read values from the pointed variable.
virtual void setValues (ValueVector *values)
 Write values to the pointed variable.

Protected Attributes

T * valuesPtr
 pointer to real values that I expose to Ishtar


The documentation for this class was generated from the following file:
Generated on Mon Oct 24 17:31:47 2005 for libishtarsettings by  doxygen 1.4.2