![]() |
ERIS CORE
|
implements a data dictionary (map) service More...
#include "SvcDataDictionary.h"
Collaboration diagram for SvcDataDictionary:Public Member Functions | |
| SvcDataDictionary () | |
| bool | create (const char *key, float32_t val) |
| create a global r/w record More... | |
| bool | create (const char *key, int32_t val) |
| create a global r/w record More... | |
| bool | create (const char *key, int32_t val, uint32_t *owner) |
| create a record with ownership More... | |
| bool | increment (const char *key) |
| increments the value of a global record creates a new record if one does not exist and initializes its value to zero More... | |
| void | printDictionary (SvcSerialCommandInterface *sci) |
| prints the dictionary to the SvcSerialCommandInterface More... | |
| void | printStats () |
| printStats function More... | |
| int32_t | read (const char *key) |
| returns the int32_t value of the record More... | |
| float32_t | readf (const char *key) |
| returns the float32_t value of the record More... | |
| bool | update (const char *key, float32_t val) |
| update the value of a global record creates a new record if one does not exist and initializes its value to zero More... | |
| bool | update (const char *key, float32_t val, uint32_t *owner) |
| update the value of an owned record creates a new record if one does not exist and initializes its value to zero More... | |
| bool | update (const char *key, int32_t val) |
| update the value of a global record creates a new record if one does not exist and initializes its value to zero More... | |
| bool | update (const char *key, int32_t val, uint32_t *owner) |
| update the value of an owned record creates a new record if one does not exist and initializes its value to zero More... | |
Protected Member Functions | |
| uint32_t | hash (const char *s) |
| hashing function used to accelerate searches More... | |
Private Member Functions | |
| bool | copyKey (const char *key) |
Private Attributes | |
| uint16_t | dd_transmitt_block |
| uint16_t | next |
| svcDataDictionaryRecord | record [DATADICT_KEYVALUE_PAIRS] |
implements a data dictionary (map) service
Definition at line 90 of file SvcDataDictionary.h.