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

Ishtar::GenericVarService< std::string, ro, s > Class Template Reference

#include <settings.h>

Inheritance diagram for Ishtar::GenericVarService< std::string, ro, s >:

Service List of all members.

Detailed Description

template<bool ro, Size s>
class Ishtar::GenericVarService< std::string, ro, s >

An Ishtar Service that contains a string and is pointed by one or more Variable and expose its string through the network as a CharValueVector.


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

std::string v
 The string value.

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