Bayonne specific dynamic keydata class.
More...
#include <bayonne.h>
Inheritance diagram for ost::DynamicKeydata:
Collaboration diagram for ost::DynamicKeydata:
Public Member Functions
const char *
getString (const char *key, char *buf, size_t size)
bool
isKey (const char *key)
Aquire a read lock for the current object.
More...
Aquire a write lock for the current object.
More...
Attempt read lock for current object.
More...
Attempt write lock for current object.
More...
Static Public Member Functions
Protected Member Functions
Private Member Functions
Private Attributes
Static Private Attributes
Friends
Detailed Description
Constructor & Destructor Documentation
ost::DynamicKeydata::DynamicKeydata
(
const char *
keypath,
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 )
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.
Friends And Related Function Documentation
Field Documentation
const char* ost::DynamicKeydata::homepath
private
const char* ost::DynamicKeydata::keypath
private
The documentation for this class was generated from the following file: