Bayonne
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
ost::DynamicKeydata Class Reference

Bayonne specific dynamic keydata class. More...

#include <bayonne.h>

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

List of all members.

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)

Reimplemented in ost::ReconfigKeydata.

const char* ost::DynamicKeydata::getString ( const char *  key,
char *  buf,
size_t  size 
)

Reimplemented in ost::ReconfigKeydata.

long ost::DynamicKeydata::getValue ( const char *  key)

Reimplemented in ost::ReconfigKeydata.

bool ost::DynamicKeydata::isKey ( const char *  key)

Reimplemented in ost::ReconfigKeydata.

static void ost::DynamicKeydata::reload ( void  )
static

Reimplemented in ost::BayonneDriver.

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: