In file osc3/OperStateCondList.hh:

class OperStateCondList : public hash_map<const std string, osc OperStateCond*, osc hash<const std string>, osc eqstr >

OperStateCondList: Set of Operational State Conditions

Inheritance:


Public Methods

void readConfig (std::string filename)
Read configuration file
bool satisfied (std::string oscname)
Is condition named oscname satisfied?
int debug (void) const
Gets debugging level
int stride (void) const
Gets stride
void setStride (int stride)
Sets time stride
void setDebug (int debuglvl)
Sets debugging level
void ignore (std::string oscname)
Removes OSC from OperStateCondList. (Aliases the \texttt{hash_map<>::erase()} method.)
void ignoreAllExcept (std::string prefix)
Removes OSCs from OperStateCondList except those named "prefix*" (the asterisk is a wildcard). Boolean conditions, which do not depend on data channels directly, are not removed. NOTE: This can be dangerous, especially if you have hidden dependencies on OSCs that read other channels.
double watchedQuantity (std::string oscname)
Get value of quantity being monitored (\textit{i.e.} amplitude, power (RMS), etc.
void chanUtilInfo (void) const
Print channel utilization info (mainly for devel. debugging)
void listOSCs (void) const
Print all defined OSCs
int parseAtomicParams (char token[][mMaxStrLen], int lineNum, std::string filename, osc::IntParMap *intParams, osc::DblParMap *doubleParams)
Parameter-parsing function for all "atomic" OSC types
void operator = (const OperStateCondList&)
Assignment
void operator , (const OperStateCondList&)
Sequence

Documentation

OperStateCondList: Set of Operational State Conditions
void readConfig(std::string filename)
Read configuration file
Parameters:
filename - Name of config file to read from

bool satisfied(std::string oscname)
Is condition named oscname satisfied?
Returns:
True or False
Parameters:
oscname - Name of OSC

int debug(void) const
Gets debugging level

int stride(void) const
Gets stride

void setStride(int stride)
Sets time stride
Parameters:
stride - Stride in seconds

void setDebug(int debuglvl)
Sets debugging level
Parameters:
debuglvl - Debug level

void ignore(std::string oscname)
Removes OSC from OperStateCondList. (Aliases the \texttt{hash_map<>::erase()} method.)
Parameters:
oscname - Name of OSC to be removed

void ignoreAllExcept(std::string prefix)
Removes OSCs from OperStateCondList except those named "prefix*" (the asterisk is a wildcard). Boolean conditions, which do not depend on data channels directly, are not removed. NOTE: This can be dangerous, especially if you have hidden dependencies on OSCs that read other channels.
Parameters:
prefix - Prefix of data channel name for which to retain OSCs

double watchedQuantity(std::string oscname)
Get value of quantity being monitored (\textit{i.e.} amplitude, power (RMS), etc.
Parameters:
oscname - Name of OSC from which quantity is to be taken

void chanUtilInfo(void) const
Print channel utilization info (mainly for devel. debugging)

void listOSCs(void) const
Print all defined OSCs

int parseAtomicParams(char token[][mMaxStrLen], int lineNum, std::string filename, osc::IntParMap *intParams, osc::DblParMap *doubleParams)
Parameter-parsing function for all "atomic" OSC types
Returns:
0 if no errors; >0 if error

void operator =(const OperStateCondList&)
Assignment

void operator ,(const OperStateCondList&)
Sequence


This class has no child classes.

alphabetic index hierarchy of classes


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++