#include <settings.h>
Inheritance diagram for Ishtar::GenericVarService< T, ro, s >:
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 | |
T | 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. |