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

PseudoMonitorPoint Class Reference

Inheritance diagram for PseudoMonitorPoint:

MonitorPoint PseudoMonitorRegister List of all members.

Detailed Description

Definition at line 21 of file pseudo_monitor_point.h.

Public Types

enum  { NONE, DATASET, GPIB }
typedef double(* LinearFunc )(double)
typedef std::map< int, const
char * > 
Map

Public Member Functions

void add (LinearFunc l)
void add (int num, const char *val)
CommsDevicegetCommsDev ()
const char * getFormat ()
const char * getFormattedVal ()
float getFval ()
virtual const char * getID ()
int getInterval ()
int getIval ()
float getLowerLimit ()
const char * getMaxTime ()
float getMaxVal ()
const char * getMinTime ()
float getMinVal ()
int getPrimaryAddress ()
int getRefNum ()
CommsDevice::State getState ()
int getStatus ()
const char * getTimestamp ()
const char * getUnits ()
float getUpperLimit ()
bool hasExceededLowerLimit ()
bool hasExceededUpperLimit ()
virtual bool hasID (const char *id)
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 (char *format, int interval, bool enabled, char *desc)
int initComms ()
bool isEnabled ()
void prependID (const char *str)
 PseudoMonitorPoint (const char *name, ControlPoint *cp)
 PseudoMonitorPoint (const char *name, const int *var)
 PseudoMonitorPoint (const char *name, const float *var)
int read (float *val)
int read (int *val)
virtual const char * read (const char *id)
virtual 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]


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