ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcbDB Class Reference

#include <ngcbATTR.hpp>

Public Member Functions

ngcbDBoperator= (const ngcbDB &other)
 Operator =.
 
 ngcbDB (const ngcbDB &other)
 Copy constructor.
 
 ngcbDB ()
 Constructor.
 
 ngcbDB (char *p)
 Constructor passing an attribute pool.
 
virtual ~ngcbDB ()
 Destructor.
 
void PoolInit ()
 Initialize attribute pool.
 
size_t PoolSize ()
 Size of the attribute pool.
 
const char * Pool ()
 Return attribute pool.
 
void DelAttr ()
 Delete all attributes.
 
void DelAttr (int idx)
 Delete attribute by index.
 
int Add (ngcbATTR *newAttr)
 Add attribute.
 
void WaitState (int value)
 Set number of states before wait.
 
void WaitTime (int value)
 Set wait time (microseconds)
 
void InitDelay (int value)
 Set initialization delay (microseconds)
 
int Update (int idx)
 Update attribute (if changed)
 
int Update ()
 Update all attributes which have changed.
 
int Export ()
 Export all attributes.
 

Public Attributes

int waitState
 Wait state for high latency databases.
 

Detailed Description

Database mirror class

Constructor & Destructor Documentation

◆ ngcbDB() [1/3]

ngcbDB::ngcbDB ( const ngcbDB & other)

Copy constructor.

◆ ngcbDB() [2/3]

ngcbDB::ngcbDB ( )

Constructor.

◆ ngcbDB() [3/3]

ngcbDB::ngcbDB ( char * p)
explicit

Constructor passing an attribute pool.

◆ ~ngcbDB()

ngcbDB::~ngcbDB ( )
virtual

Destructor.

Member Function Documentation

◆ Add()

int ngcbDB::Add ( ngcbATTR * newAttr)

Add attribute.

◆ DelAttr() [1/2]

void ngcbDB::DelAttr ( )

Delete all attributes.

◆ DelAttr() [2/2]

void ngcbDB::DelAttr ( int idx)

Delete attribute by index.

◆ Export()

int ngcbDB::Export ( )

Export all attributes.

◆ InitDelay()

void ngcbDB::InitDelay ( int value)

Set initialization delay (microseconds)

◆ operator=()

ngcbDB & ngcbDB::operator= ( const ngcbDB & other)

Operator =.

◆ Pool()

const char * ngcbDB::Pool ( )

Return attribute pool.

◆ PoolInit()

void ngcbDB::PoolInit ( )

Initialize attribute pool.

◆ PoolSize()

size_t ngcbDB::PoolSize ( )

Size of the attribute pool.

◆ Update() [1/2]

int ngcbDB::Update ( )

Update all attributes which have changed.

◆ Update() [2/2]

int ngcbDB::Update ( int idx)

Update attribute (if changed)

◆ WaitState()

void ngcbDB::WaitState ( int value)

Set number of states before wait.

◆ WaitTime()

void ngcbDB::WaitTime ( int value)

Set wait time (microseconds)

Member Data Documentation

◆ waitState

int ngcbDB::waitState

Wait state for high latency databases.


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