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

MultiplexedMonitorRegister Class Reference

Inheritance diagram for MultiplexedMonitorRegister:

MonitorRegister MonitorPoint List of all members.

Detailed Description

Definition at line 21 of file mux_monitor_register.h.

Public Types

enum  { NONE, DATASET, GPIB }
typedef double(* LinearFunc )(double)

Public Member Functions

void add (LinearFunc l)
void add (RegisterField *field)
void add (MonitorRegister *reg, int muxVal, int mask)
CommsDevicegetCommsDev ()
RegisterField::MapgetFieldMap ()
const char * getFormat ()
const char * getFormattedVal ()
float getFval ()
const char * getID ()
int getInterval ()
int getIval ()
float getLowerLimit ()
const char * getMaxTime ()
float getMaxVal ()
const char * getMinTime ()
float getMinVal ()
int getNum (const char *fieldName)
int getPrimaryAddress ()
int getRefNum ()
virtual CommsDevice::State getState ()
int getStatus ()
const char * getTimestamp ()
const char * getUnits ()
float getUpperLimit ()
const char * getVal (const char *fieldName)
bool hasExceededLowerLimit ()
bool hasExceededUpperLimit ()
bool hasID (const char *fieldName)
void init (Dataset::Op_t dsOp, Dataset::Cat_t dsCat, int dsAddr, int ptAddr, char *format, int interval, bool enabled, char *desc)
int init (const char *dbLine)
void init (Dataset::Op_t dsOp, int dsAddr, int ptAddr, int interval, bool enabled, char *desc)
virtual int initComms ()
bool isEnabled ()
 MultiplexedMonitorRegister (MonitorPoint *mp, ControlRegister *cr)
void prependID (const char *str)
void print ()
virtual int read (float *val)
virtual int read (int *val)
const char * read (const char *fieldName)
const char * read ()
void setDebug (bool onOff)
void setEnabled (bool onOff)
void setLimits (float lower, float upper)
void setOffset (float offset)
void setScale (float scale)

Static Public Member Functions

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

Protected Member Functions

void checkLimits (float fval)
int parseDbLine (const char *dbLine)
void printDbParams ()

Protected Attributes

int commDevType
CommsDevicecommsDev
DbParams dbp
float fval
int ival
LinearFunc lineariser
bool lowerLimitReached
int mask
char maxTime [15]
float maxVal
char minTime [15]
float minVal
int primaryAddr
 A method to enable/disable printing of debug statements for the class.
time_t readTime
char response [120]
int secondaryAddr
char timestamp [15]
bool upperLimitReached
char valStr [30]

Classes

struct  MuxElem
 A method to enable/disable printing of debug statements for the class.


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