#include <ngcbATTR.hpp>
Public Member Functions | |
| ngcbATTR (const char *n, void *a, int rs, int nr=1) | |
| Constructor for generic types. | |
| ngcbATTR (const char *n, ngcb_attr_s256 *a, int nr=1) | |
| Constructor for 256 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s128 *a, int nr=1) | |
| Constructor for 128 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s64 *a, int nr=1) | |
| Constructor for 64 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s48 *a, int nr=1) | |
| Constructor for 48 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s32 *a, int nr=1) | |
| Constructor for 32 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s20 *a, int nr=1) | |
| Constructor for 20 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s16 *a, int nr=1) | |
| Constructor for 16 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s12 *a, int nr=1) | |
| Constructor for 12 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s8 *a, int nr=1) | |
| Constructor for 8 bytes string. | |
| ngcbATTR (const char *n, ngcb_attr_s4 *a, int nr=1) | |
| Constructor for 4 bytes string. | |
| ngcbATTR (const char *n, char *a, int nr=1) | |
| Constructor for 8 bit signed character. | |
| ngcbATTR (const char *n, unsigned char *a, int nr=1) | |
| Constructor for 8 bit unsigned character. | |
| ngcbATTR (const char *n, short *a, int nr=1) | |
| Constructor for 16 bit signed integer. | |
| ngcbATTR (const char *n, unsigned short *a, int nr=1) | |
| Constructor for 16 bit unsigned integer. | |
| ngcbATTR (const char *n, int *a, int nr=1) | |
| Constructor for 32 bit signed integer. | |
| ngcbATTR (const char *n, unsigned int *a, int nr=1) | |
| Constructor for 32 bit unsigned integer. | |
| ngcbATTR (const char *n, float *a, int nr=1) | |
| Constructor for 32 bit floating point. | |
| ngcbATTR (const char *n, double *a, int nr=1) | |
| Constructor for 64 bit floating point. | |
| ngcbATTR (const char *n, long int *a, int nr=1) | |
| Constructor for signed long integer (32 or 64 bit - ssize_t) | |
| ngcbATTR (const char *n, unsigned long *a, int nr=1) | |
| Constructor for unsigned long integer (32 or 64 bit - size_t) | |
| ngcbATTR (const char *n, long long int *a, int nr=1) | |
| Constructor for 64 bit signed integer. | |
| ngcbATTR (const char *n, unsigned long long int *a, int nr=1) | |
| Constructor for 64 bit unsigned integer. | |
| virtual | ~ngcbATTR () |
| Destructor. | |
| void | Pool (char *p) |
| Set attribute pool. | |
| int | Changed () |
| Check if attribute has changed. | |
| int | Update () |
| Update attribute if changed. | |
| int | Type () |
| Type of the attribute. | |
| int | Size () |
| Storage size of the attribute. | |
| int | RecordSize () |
| Record size of the attribute. | |
| int | NumRecord () |
| Number of records. | |
| void * | Addr () |
| Physical address of the attribute. | |
| int | Write () |
| Write attribute. | |
| virtual int | Export () |
| Attribute export function. | |
Public Attributes | |
| char | name [256] |
| Attribute name. | |
| int * | waitState |
| Pointer to wait-state counter for high latency databases. | |
| int | delay |
| Initialization delay in microseconds. | |
Database mirror attribute class
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| void * | a, | ||
| int | rs, | ||
| int | nr = 1 ) |
Constructor for generic types.
|
explicit |
Constructor for 256 bytes string.
|
explicit |
Constructor for 128 bytes string.
|
explicit |
Constructor for 64 bytes string.
|
explicit |
Constructor for 48 bytes string.
|
explicit |
Constructor for 32 bytes string.
|
explicit |
Constructor for 20 bytes string.
|
explicit |
Constructor for 16 bytes string.
|
explicit |
Constructor for 12 bytes string.
|
explicit |
Constructor for 8 bytes string.
|
explicit |
Constructor for 4 bytes string.
|
explicit |
Constructor for 8 bit signed character.
|
explicit |
Constructor for 8 bit unsigned character.
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| short * | a, | ||
| int | nr = 1 ) |
Constructor for 16 bit signed integer.
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| unsigned short * | a, | ||
| int | nr = 1 ) |
Constructor for 16 bit unsigned integer.
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| int * | a, | ||
| int | nr = 1 ) |
Constructor for 32 bit signed integer.
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| unsigned int * | a, | ||
| int | nr = 1 ) |
Constructor for 32 bit unsigned integer.
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| float * | a, | ||
| int | nr = 1 ) |
Constructor for 32 bit floating point.
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| double * | a, | ||
| int | nr = 1 ) |
Constructor for 64 bit floating point.
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| long int * | a, | ||
| int | nr = 1 ) |
Constructor for signed long integer (32 or 64 bit - ssize_t)
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| unsigned long * | a, | ||
| int | nr = 1 ) |
Constructor for unsigned long integer (32 or 64 bit - size_t)
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| long long int * | a, | ||
| int | nr = 1 ) |
Constructor for 64 bit signed integer.
| ngcbATTR::ngcbATTR | ( | const char * | n, |
| unsigned long long int * | a, | ||
| int | nr = 1 ) |
Constructor for 64 bit unsigned integer.
|
virtual |
Destructor.
| void * ngcbATTR::Addr | ( | ) |
Physical address of the attribute.
| int ngcbATTR::Changed | ( | ) |
Check if attribute has changed.
|
virtual |
Attribute export function.
| int ngcbATTR::NumRecord | ( | ) |
Number of records.
| void ngcbATTR::Pool | ( | char * | p | ) |
Set attribute pool.
| int ngcbATTR::RecordSize | ( | ) |
Record size of the attribute.
| int ngcbATTR::Size | ( | ) |
Storage size of the attribute.
| int ngcbATTR::Type | ( | ) |
Type of the attribute.
| int ngcbATTR::Update | ( | ) |
Update attribute if changed.
| int ngcbATTR::Write | ( | ) |
Write attribute.
| int ngcbATTR::delay |
Initialization delay in microseconds.
| char ngcbATTR::name[256] |
Attribute name.
| int* ngcbATTR::waitState |
Pointer to wait-state counter for high latency databases.