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

Ishtar::GenericVarService< T, ro, s > Class Template Reference

#include <settings.h>

Inheritance diagram for Ishtar::GenericVarService< T, ro, s >:

Service List of all members.

Detailed Description

template<typename T, bool ro, Size s>
class Ishtar::GenericVarService< T, ro, s >

An Ishtar Service that is pointed by one or more Variable and expose its content through the network.

Public Member Functions

 GenericVarService (const std::string &name)
 Constructor, build a service for name.
virtual ValueVector * getValues (void)
 Read values from the service.
virtual void setValues (ValueVector *values)
 Write values to the service.
void decCount ()
 Decrement the number of Variable pointing to this service. If zero, garbage collect itself.
void incCount ()
 Increment the number of Variable pointing to this service.

Public Attributes

v [s]
 An array of size s of values of type T.

Private Attributes

unsigned refCount
 The number of Variable that point to this service.

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