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

#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.
 

Detailed Description

Database mirror attribute class

Constructor & Destructor Documentation

◆ ngcbATTR() [1/23]

ngcbATTR::ngcbATTR ( const char * n,
void * a,
int rs,
int nr = 1 )

Constructor for generic types.

◆ ngcbATTR() [2/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s256 * a,
int nr = 1 )
explicit

Constructor for 256 bytes string.

◆ ngcbATTR() [3/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s128 * a,
int nr = 1 )
explicit

Constructor for 128 bytes string.

◆ ngcbATTR() [4/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s64 * a,
int nr = 1 )
explicit

Constructor for 64 bytes string.

◆ ngcbATTR() [5/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s48 * a,
int nr = 1 )
explicit

Constructor for 48 bytes string.

◆ ngcbATTR() [6/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s32 * a,
int nr = 1 )
explicit

Constructor for 32 bytes string.

◆ ngcbATTR() [7/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s20 * a,
int nr = 1 )
explicit

Constructor for 20 bytes string.

◆ ngcbATTR() [8/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s16 * a,
int nr = 1 )
explicit

Constructor for 16 bytes string.

◆ ngcbATTR() [9/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s12 * a,
int nr = 1 )
explicit

Constructor for 12 bytes string.

◆ ngcbATTR() [10/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s8 * a,
int nr = 1 )
explicit

Constructor for 8 bytes string.

◆ ngcbATTR() [11/23]

ngcbATTR::ngcbATTR ( const char * n,
ngcb_attr_s4 * a,
int nr = 1 )
explicit

Constructor for 4 bytes string.

◆ ngcbATTR() [12/23]

ngcbATTR::ngcbATTR ( const char * n,
char * a,
int nr = 1 )
explicit

Constructor for 8 bit signed character.

◆ ngcbATTR() [13/23]

ngcbATTR::ngcbATTR ( const char * n,
unsigned char * a,
int nr = 1 )
explicit

Constructor for 8 bit unsigned character.

◆ ngcbATTR() [14/23]

ngcbATTR::ngcbATTR ( const char * n,
short * a,
int nr = 1 )

Constructor for 16 bit signed integer.

◆ ngcbATTR() [15/23]

ngcbATTR::ngcbATTR ( const char * n,
unsigned short * a,
int nr = 1 )

Constructor for 16 bit unsigned integer.

◆ ngcbATTR() [16/23]

ngcbATTR::ngcbATTR ( const char * n,
int * a,
int nr = 1 )

Constructor for 32 bit signed integer.

◆ ngcbATTR() [17/23]

ngcbATTR::ngcbATTR ( const char * n,
unsigned int * a,
int nr = 1 )

Constructor for 32 bit unsigned integer.

◆ ngcbATTR() [18/23]

ngcbATTR::ngcbATTR ( const char * n,
float * a,
int nr = 1 )

Constructor for 32 bit floating point.

◆ ngcbATTR() [19/23]

ngcbATTR::ngcbATTR ( const char * n,
double * a,
int nr = 1 )

Constructor for 64 bit floating point.

◆ ngcbATTR() [20/23]

ngcbATTR::ngcbATTR ( const char * n,
long int * a,
int nr = 1 )

Constructor for signed long integer (32 or 64 bit - ssize_t)

◆ ngcbATTR() [21/23]

ngcbATTR::ngcbATTR ( const char * n,
unsigned long * a,
int nr = 1 )

Constructor for unsigned long integer (32 or 64 bit - size_t)

◆ ngcbATTR() [22/23]

ngcbATTR::ngcbATTR ( const char * n,
long long int * a,
int nr = 1 )

Constructor for 64 bit signed integer.

◆ ngcbATTR() [23/23]

ngcbATTR::ngcbATTR ( const char * n,
unsigned long long int * a,
int nr = 1 )

Constructor for 64 bit unsigned integer.

◆ ~ngcbATTR()

ngcbATTR::~ngcbATTR ( )
virtual

Destructor.

Member Function Documentation

◆ Addr()

void * ngcbATTR::Addr ( )

Physical address of the attribute.

◆ Changed()

int ngcbATTR::Changed ( )

Check if attribute has changed.

◆ Export()

int ngcbATTR::Export ( )
virtual

Attribute export function.

◆ NumRecord()

int ngcbATTR::NumRecord ( )

Number of records.

◆ Pool()

void ngcbATTR::Pool ( char * p)

Set attribute pool.

◆ RecordSize()

int ngcbATTR::RecordSize ( )

Record size of the attribute.

◆ Size()

int ngcbATTR::Size ( )

Storage size of the attribute.

◆ Type()

int ngcbATTR::Type ( )

Type of the attribute.

◆ Update()

int ngcbATTR::Update ( )

Update attribute if changed.

◆ Write()

int ngcbATTR::Write ( )

Write attribute.

Member Data Documentation

◆ delay

int ngcbATTR::delay

Initialization delay in microseconds.

◆ name

char ngcbATTR::name[256]

Attribute name.

◆ waitState

int* ngcbATTR::waitState

Pointer to wait-state counter for high latency databases.


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