Bayonne specific dynamic keydata class.
More...
#include <bayonne.h>
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.
Definition at line 183 of file bayonne.h.
ost::DynamicKeydata::DynamicKeydata |
( |
const char * |
keypath, |
|
|
Keydata::Define * |
def = NULL , |
|
|
const char * |
homepath = NULL |
|
) |
| |
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 | ) |
|
void ost::DynamicKeydata::loadConfig |
( |
void |
| ) |
|
|
private |
void ThreadLock::readLock |
( |
void |
| ) |
|
|
inherited |
Aquire a read lock for the current object.
static void ost::DynamicKeydata::reload |
( |
void |
| ) |
|
|
static |
bool ThreadLock::tryReadLock |
( |
void |
| ) |
|
|
inherited |
Attempt read lock for current object.
- Returns
- true on success.
bool ThreadLock::tryWriteLock |
( |
void |
| ) |
|
|
inherited |
Attempt write lock for current object.
- Returns
- true on success.
void ThreadLock::unlock |
( |
void |
| ) |
|
|
inherited |
virtual void ost::DynamicKeydata::updateConfig |
( |
Keydata * |
keydata | ) |
|
|
protectedvirtual |
void ThreadLock::writeLock |
( |
void |
| ) |
|
|
inherited |
Aquire a write lock for the current object.
const char* ost::DynamicKeydata::homepath |
|
private |
const char* ost::DynamicKeydata::keypath |
|
private |
The documentation for this class was generated from the following file: