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

ControlPoint Class Reference

Inheritance diagram for ControlPoint:

ControlRegister PseudoControlPoint List of all members.

Detailed Description

Definition at line 17 of file control_point.h.

Public Member Functions

 ControlPoint (const char *id, CommsDevice *cd, int cmdVal=0)
CommsDevicegetCommsDev ()
const char * getID ()
virtual const char * getOptions ()
const char * getTimestamp ()
virtual const char * getUpdate ()
int getVal ()
virtual bool hasID (const char *id)
bool hasUpdate ()
void init (int dsAddr, Dataset::Op_t dsOp, int ptAddr)
void print ()
virtual const char * read (const char *id)
virtual const char * read ()
void setDebug (bool onOff)
int write (int val)
virtual int write (const char *id, int val)
virtual const char * write (const char *id, const char *val)
const char * write (const char *val)
virtual ~ControlPoint ()

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:42 2007 for Parkes M & C - PKMC C++ library API by  doxygen 1.4.4