Bayonne2 / Common C++ 2 Framework
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
ost::BayonneConfig Class Reference

A bayonne config class, used for special purposes, especially during script compiles. More...

#include <bayonne.h>

Inheritance diagram for ost::BayonneConfig:
Inheritance graph
[legend]
Collaboration diagram for ost::BayonneConfig:
Collaboration graph
[legend]

Public Member Functions

  BayonneConfig (const char *id, Keydata::Define *def, const char *path)
 
  BayonneConfig (const char *id, const char *path)
 
void  setEnv (const char *id)
 
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)
 
void  readLock (void)
  Aquire a read lock for the current object. More...
 
void  writeLock (void)
  Aquire a write lock for the current object. More...
 
bool  tryReadLock (void)
  Attempt read lock for current object. More...
 
bool  tryWriteLock (void)
  Attempt write lock for current object. More...
 
void  unlock (void)
  Release any held locks. More...
 

Static Public Member Functions

static BayonneConfigget (const char *id)
 
static void  rebuild (ScriptImage *img)
 
static void  reload (void)
 

Protected Member Functions

virtual void  updateConfig (Keydata *keydata)
 

Private Attributes

 
const char *  id
 

Static Private Attributes

static BayonneConfigfirst
 

Detailed Description

A bayonne config class, used for special purposes, especially during script compiles.

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org Bayonne config cache for compiler.

Definition at line 1370 of file bayonne.h.

Constructor & Destructor Documentation

ost::BayonneConfig::BayonneConfig ( const char *  id,
Keydata::Definedef,
const char *  path 
)
ost::BayonneConfig::BayonneConfig ( const char *  id,
const char *  path 
)

Member Function Documentation

static BayonneConfig* ost::BayonneConfig::get ( const char *  id )
static
bool ost::DynamicKeydata::getBoolean ( const char *  key )
inherited
const char* ost::DynamicKeydata::getString ( const char *  key,
char *  buf,
size_t  size 
)
inherited
long ost::DynamicKeydata::getValue ( const char *  key )
inherited
bool ost::DynamicKeydata::isKey ( const char *  key )
inherited
void ThreadLock::readLock ( void  )
inherited

Aquire a read lock for the current object.

static void ost::BayonneConfig::rebuild ( ScriptImageimg )
static
static void ost::DynamicKeydata::reload ( void  )
staticinherited
void ost::BayonneConfig::setEnv ( const char *  id )
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

Release any held locks.

virtual void ost::DynamicKeydata::updateConfig ( Keydatakeydata )
protectedvirtualinherited
void ThreadLock::writeLock ( void  )
inherited

Aquire a write lock for the current object.

Field Documentation

BayonneConfig* ost::BayonneConfig::first
staticprivate

Definition at line 1373 of file bayonne.h.

const char* ost::BayonneConfig::id
private

Definition at line 1376 of file bayonne.h.

BayonneConfig* ost::BayonneConfig::next
private

Definition at line 1375 of file bayonne.h.


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

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /