Bayonne
Public Member Functions | Protected Member Functions | List of all members
ost::ReconfigKeydata Class Reference

Bayonne specific reloaded keydata class. More...

#include <bayonne.h>

Inheritance diagram for ost::ReconfigKeydata:
ost::StaticKeydata ost::DynamicKeydata ost::BayonneDriver

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)
 
- Public Member Functions inherited from ost::StaticKeydata
 StaticKeydata (const char *path, Keydata::Define *defkeys=NULL, const char *homepath=NULL)
 
const char * getString (const char *id)
 
long getValue (const char *id)
 
bool getBoolean (const char *id)
 

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)
 
- Protected Member Functions inherited from ost::DynamicKeydata
virtual void updateConfig (Keydata *keydata)
 
 DynamicKeydata (const char *keypath, Keydata::Define *def=NULL, const char *homepath=NULL)
 
const char * getString (const char *key, char *buf, size_t size)
 
long getValue (const char *key)
 
bool isKey (const char *key)
 
bool getBoolean (const char *key)
 

Additional Inherited Members

- Static Protected Member Functions inherited from ost::DynamicKeydata
static void reload (void)
 

Detailed Description

Bayonne specific reloaded keydata class.

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.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org Dynamically reloadable key data class.

Constructor & Destructor Documentation

ost::ReconfigKeydata::ReconfigKeydata ( const char *  keypath,
Keydata::Define *  def = NULL 
)

Member Function Documentation

bool ost::ReconfigKeydata::getBoolean ( const char *  key)
const char* ost::ReconfigKeydata::getInitial ( const char *  id)
inline
timeout_t ost::ReconfigKeydata::getMsecTimer ( const char *  key)
timeout_t ost::ReconfigKeydata::getSecTimer ( const char *  key)
const char* ost::ReconfigKeydata::getString ( const char *  key,
char *  buf,
size_t  size 
)
long ost::ReconfigKeydata::getValue ( const char *  key)
bool ost::ReconfigKeydata::isKey ( const char *  key)
void ost::ReconfigKeydata::setInitial ( const char *  id,
const char *  val 
)
inline
bool ost::ReconfigKeydata::updatedBoolean ( const char *  id)
protected
timeout_t ost::ReconfigKeydata::updatedMsecTimer ( const char *  id)
protected
timeout_t ost::ReconfigKeydata::updatedSecTimer ( const char *  id)
protected
const char* ost::ReconfigKeydata::updatedString ( const char *  id)
protected
long ost::ReconfigKeydata::updatedValue ( const char *  id)
protected

The documentation for this class was generated from the following file: