#include <bayonne.h>
Public Member Functions | |
const char * | getInitial (const char *id) |
void | setInitial (const char *id, const char *val) |
ReconfigKeydata (const char *keypath, Keydata::Define *def=NULL) | |
const char * | getString (const char *key, char *buf, size_t size) |
timeout_t | getSecTimer (const char *key) |
timeout_t | getMsecTimer (const char *key) |
long | getValue (const char *key) |
bool | isKey (const char *key) |
bool | getBoolean (const char *key) |
Protected Member Functions | |
const char * | updatedString (const char *id) |
long | updatedValue (const char *id) |
timeout_t | updatedSecTimer (const char *id) |
timeout_t | updatedMsecTimer (const char *id) |
bool | updatedBoolean (const char *id) |
This class is used for keydata items which can be reloaded from the config file during runtime while using keydata base for core compatibility and defaults.
ost::ReconfigKeydata::ReconfigKeydata | ( | const char * | keypath, | |
Keydata::Define * | def = NULL | |||
) |
const char* ost::ReconfigKeydata::updatedString | ( | const char * | id | ) | [protected] |
long ost::ReconfigKeydata::updatedValue | ( | const char * | id | ) | [protected] |
timeout_t ost::ReconfigKeydata::updatedSecTimer | ( | const char * | id | ) | [protected] |
timeout_t ost::ReconfigKeydata::updatedMsecTimer | ( | const char * | id | ) | [protected] |
bool ost::ReconfigKeydata::updatedBoolean | ( | const char * | id | ) | [protected] |
const char* ost::ReconfigKeydata::getInitial | ( | const char * | id | ) | [inline] |
void ost::ReconfigKeydata::setInitial | ( | const char * | id, | |
const char * | val | |||
) | [inline] |
const char* ost::ReconfigKeydata::getString | ( | const char * | key, | |
char * | buf, | |||
size_t | size | |||
) |
Reimplemented from ost::DynamicKeydata.
timeout_t ost::ReconfigKeydata::getSecTimer | ( | const char * | key | ) |
timeout_t ost::ReconfigKeydata::getMsecTimer | ( | const char * | key | ) |
long ost::ReconfigKeydata::getValue | ( | const char * | key | ) |
Reimplemented from ost::StaticKeydata.
bool ost::ReconfigKeydata::isKey | ( | const char * | key | ) |
Reimplemented from ost::DynamicKeydata.
bool ost::ReconfigKeydata::getBoolean | ( | const char * | key | ) |
Reimplemented from ost::StaticKeydata.