Bayonne
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
ost::DynamicKeydata Class Reference

Bayonne specific dynamic keydata class. More...

#include <bayonne.h>

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

Public Member Functions

 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)
 

Static Public Member Functions

static void reload (void)
 

Protected Member Functions

virtual void updateConfig (Keydata *keydata)
 

Friends

class __EXPORT BayonneConfig
 
class __EXPORT ReconfigKeydata
 

Detailed Description

Bayonne specific dynamic keydata class.

This class is used for keydata items which can be reloaded from the config file during runtime. The normal Bayonne "reload" operatio will be used for this purpose.

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::DynamicKeydata::DynamicKeydata ( const char *  keypath,
Keydata::Define *  def = NULL,
const char *  homepath = NULL 
)

Member Function Documentation

bool ost::DynamicKeydata::getBoolean ( const char *  key)
const char* ost::DynamicKeydata::getString ( const char *  key,
char *  buf,
size_t  size 
)
long ost::DynamicKeydata::getValue ( const char *  key)
bool ost::DynamicKeydata::isKey ( const char *  key)
static void ost::DynamicKeydata::reload ( void  )
static
virtual void ost::DynamicKeydata::updateConfig ( Keydata *  keydata)
protectedvirtual

Friends And Related Function Documentation

friend class __EXPORT BayonneConfig
friend
friend class __EXPORT ReconfigKeydata
friend

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