ost::ReconfigKeydata Class Reference

Bayonne specific reloaded keydata class. More...

#include <bayonne.h>

Inheritance diagram for ost::ReconfigKeydata:

ost::StaticKeydata ost::DynamicKeydata ost::BayonneDriver

List of all members.

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)


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@gnutelephony.org> Dynamically reloadable key data class.

Constructor & Destructor Documentation

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


Member Function Documentation

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.


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

Generated on Sat Aug 2 01:04:49 2008 for Bayonne by  doxygen 1.5.6