Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

ControlRegister Class Reference

Inheritance diagram for ControlRegister:

ControlPoint List of all members.

Detailed Description

Definition at line 19 of file control_register.h.

Public Member Functions

void add (RegisterField *field)
 ControlRegister (const char *id, CommsDevice *cd, int cmdVal)
 ControlRegister (const char *id, CommsDevice *cd, MonitorRegister *mirror)
 ControlRegister (const char *id, CommsDevice *cd, MonitorPoint *mirror)
CommsDevicegetCommsDev ()
RegisterField::MapgetFieldMap ()
const char * getID ()
const char * getOptions ()
const char * getTimestamp ()
virtual const char * getUpdate ()
int getVal ()
bool hasID (const char *fieldName)
bool hasUpdate ()
void init (int dsAddr, Dataset::Op_t dsOp, int ptAddr)
void print ()
virtual const char * read (const char *fieldName)
virtual const char * read ()
void setDebug (bool onOff)
int write (int val)
const char * write (const char *val)
int write (int val, int mask)
int write (const char *fieldName, int val)
const char * write (const char *fieldName, const char *valStr)

Static Public Member Functions

static void setDebugAll (bool onOff)
 A method to enable/disable printing of debug statements for a single object.

Protected Types

enum  { NONE, DATASET, GPIB }
 A method to enable/disable printing of debug statements for the class.

Protected Attributes

int cmdVal
int commDevType
CommsDevicecommsDev
int dsAddr
Dataset::Op_t dsOp
const char * id
int primaryAddr
int ptAddr
char response [120]
int secondaryAdddr
char timestamp [15]
char update [400]
bool updated
bool written


The documentation for this class was generated from the following files:
Generated on Mon Apr 30 13:32:43 2007 for Parkes M & C - PKMC C++ library API by  doxygen 1.4.4