#include <feeserver/fee_servt.hh>


| T | Type of the value to serve | |
| Trait | Traits of type T ( |
Public Member Functions | |
| ServiceT (const std::string &name) | |
| virtual | ~ServiceT () |
| const char * | Format () const |
| size_t | Size () const |
| void * | Address () |
| void | Clear () |
| ServiceT & | operator= (const T &v) |
| bool | Consistency () |
| const T & | Value () const |
Protected Member Functions | |
| unsigned int | CheckSum (const T &v) const |
Protected Attributes | |
| T | _value |
| T | _old |
| unsigned int | _check_sum |
| unsigned int | _old_check_sum |
| FeeServer::ServiceT< T, Trait >::ServiceT | ( | const std::string & | name | ) | [inline] |
Constructor
| virtual FeeServer::ServiceT< T, Trait >::~ServiceT | ( | ) | [inline, virtual] |
Destructor
| const char* FeeServer::ServiceT< T, Trait >::Format | ( | ) | const [inline, virtual] |
Get format string used for DIM service declaration
Reimplemented from FeeServer::ServiceBase.
| size_t FeeServer::ServiceT< T, Trait >::Size | ( | ) | const [inline, virtual] |
Size of the data
Reimplemented from FeeServer::ServiceBase.
| void* FeeServer::ServiceT< T, Trait >::Address | ( | ) | [inline, virtual] |
Get the address of the data served
Reimplemented from FeeServer::ServiceBase.
| void FeeServer::ServiceT< T, Trait >::Clear | ( | ) | [inline, virtual] |
Clear updated mark, and assign old to current value
Reimplemented from FeeServer::ServiceBase.
| ServiceT& FeeServer::ServiceT< T, Trait >::operator= | ( | const T & | v | ) | [inline] |
Assign from value
| bool FeeServer::ServiceT< T, Trait >::Consistency | ( | ) | [inline, virtual] |
Check that data is consistent
Reimplemented from FeeServer::ServiceBase.
| const T& FeeServer::ServiceT< T, Trait >::Value | ( | ) | const [inline] |
Get reference to the value
| unsigned int FeeServer::ServiceT< T, Trait >::CheckSum | ( | const T & | v | ) | const [inline, protected] |
Calculate the check sum of v
T FeeServer::ServiceT< T, Trait >::_value [protected] |
Current value
T FeeServer::ServiceT< T, Trait >::_old [protected] |
Old value
unsigned int FeeServer::ServiceT< T, Trait >::_check_sum [protected] |
Check sum of value
unsigned int FeeServer::ServiceT< T, Trait >::_old_check_sum [protected] |
Check sum of old value
1.5.6