CAFE Class Reference

Methods for synchronous and asynchronous interactions. More...

#include <cafe.h>

Inheritance diagram for CAFE:
Connect

List of all members.

Public Member Functions

 CAFE ()
int getPulseID (unsigned int *handle, unsigned int nelem, unsigned int *pulseID)
int getPulseID (unsigned int handle, unsigned int &pulseID)
int getPulseID (char *pv, unsigned int &pulseID)
unsigned int getPulseIDFromTS (epicsTimeStamp ts)
vector< unsigned intgetPulseIDFromTS (PVDataHolder *pvd, unsigned int nelem)
vector< unsigned intgetPulseIDFromTS (PVGroup pvg)
int getCachePVArray (vector< unsigned int > handleV, PVDataHolder *pvd)
int getCachePVArrayNoWait (vector< unsigned int > handleV, PVDataHolder *pvd)
int resetCallbackGet (const unsigned int handle)
 reset callback for get operation to NOT_INITIATED / NOT_TRIGGERED
int resetCallbackPut (const unsigned int handle)
 reset callback for set operation to NOT_INITIATED / NOT_TRIGGERED
int getCacheNoWait (const unsigned int handle, PVDataHolder &pvd)
 Retrieves data from cache, packaged into the PVDataHolder class.
int getCache (const unsigned int handle, PVDataHolder &pvd)
 Retrieves data from cache, packaged into the PVDataHolder class.
int getCache (const unsigned int *handleArray, unsigned int nelem, PVDataHolder *pvd)
 Retrieves data from cache, packaged into the PVDataHolder class.
int getCtrlCache (const unsigned int handle, PVCtrlHolder &pvc)
 Retrieves DBR_CTRL data from cache, packaged into the PVCtrlHolder class.
int getCtrlCache (const unsigned int *handleArray, unsigned int nelem, PVCtrlHolder *pvc)
 Retrieves PV DBR_CTRL data from cache, packaged into the PVCtrlHolder class.
int getCache (const char *pv, PVDataHolder &pvd)
int getCtrlCache (const char *pv, PVCtrlHolder &pvc)
int getCacheDoubleArray (const unsigned int handle, dbr_double_t *_val)
int getCache (const unsigned int handle, dbr_double_t *_val)
int getCache (const unsigned int handle, dbr_double_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, dbr_double_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const unsigned int handle, long long *_val)
 Retrieves data (long long) from cache.
int getCache (const unsigned int handle, long long *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Retrieves data (long long) from cache.
int getCache (const unsigned int handle, long long *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Retrieves data (long long) from cache.
int getCacheLongArray (const unsigned int handle, dbr_long_t *_val)
int getCache (const unsigned int handle, dbr_long_t *_val)
int getCache (const unsigned int handle, dbr_long_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, dbr_long_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const unsigned int handle, dbr_char_t *_val)
int getCache (const unsigned int handle, dbr_char_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, dbr_char_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const unsigned int handle, dbr_enum_t *_val)
int getCache (const unsigned int handle, dbr_enum_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, dbr_enum_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCacheFloatArray (const unsigned int handle, dbr_float_t *_val)
int getCache (const unsigned int handle, dbr_float_t *_val)
int getCache (const unsigned int handle, dbr_float_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, dbr_float_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCacheShortArray (const unsigned int handle, dbr_short_t *_val)
int getCache (const unsigned int handle, dbr_short_t *_val)
int getCache (const unsigned int handle, dbr_short_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, dbr_short_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCacheDbrStringArray (const unsigned int handle, dbr_string_t *_val)
int getCache (const unsigned int handle, dbr_string_t *_val)
int getCache (const unsigned int handle, dbr_string_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, dbr_string_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCacheStringArray (const unsigned int handle, string *valStr)
int getCache (const unsigned int handle, string *valStr)
int getCache (const unsigned int handle, string *valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, string *valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCacheString (const unsigned int handle, string &valStr)
int getCache (const unsigned int handle, string &valStr)
int getCache (const unsigned int handle, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const unsigned int handle, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const unsigned int handle, dbr_string_t &val)
 Get dbr_string_t from Cache (DBR_STRING).
int getCache (const unsigned int handle, dbr_string_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get dbr_string_t from Cache (DBR_STS_STRING).
int getCache (const unsigned int handle, dbr_string_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get dbr_string_t from Cache (DBR_TIME_STRING).
int getCache (const unsigned int handle, dbr_short_t &val)
 Get short from Cache (DBR_SHORT).
int getCache (const unsigned int handle, dbr_short_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get short from Cache (DBR_STS_SHORT).
int getCache (const unsigned int handle, dbr_short_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get short from Cache (DBR_TIME_SHORT).
int getCache (const unsigned int handle, dbr_float_t &val)
 Get float from Cache (DBR_FLOAT).
int getCache (const unsigned int handle, dbr_float_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get float from Cache (DBR_STS_FLOAT).
int getCache (const unsigned int handle, dbr_float_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get float from Cache (DBR_TIME_FLOAT).
int getCache (const unsigned int handle, dbr_enum_t &val)
 Get dbr_enum_t from Cache (DBR_ENUM).
int getCache (const unsigned int handle, dbr_enum_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get dbr_enum_t from Cache (DBR_STS_ENUM).
int getCache (const unsigned int handle, dbr_enum_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get dbr_enum_t from Cache (DBR_TIME_ENUM).
int getCache (const unsigned int handle, dbr_char_t &val)
 Get dbr_char_t from Cache (DBR_CHAR).
int getCache (const unsigned int handle, dbr_char_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get dbr_char_t from Cache (DBR_STS_CHAR).
int getCache (const unsigned int handle, dbr_char_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get dbr_char_t from Cache (DBR_TIME_CHAR).
int getCacheLong (const unsigned int handle, dbr_long_t &val)
int getCache (const unsigned int handle, dbr_long_t &val)
 Get dbr_long_t from Cache (DBR_LONG).
int getCache (const unsigned int handle, dbr_long_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get dbr_long_t from Cache (DBR_STS_LONG).
int getCache (const unsigned int handle, dbr_long_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get dbr_long_t from Cache (DBR_TIME_LONG).
int getCache (const unsigned int handle, long long &val)
 Get long long from Cache (long long).
int getCache (const unsigned int handle, long long &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get long long from Cache.
int getCache (const unsigned int handle, long long &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get long long from Cache.
int getCacheDouble (const unsigned int handle, dbr_double_t &val)
int getCache (const unsigned int handle, dbr_double_t &val)
 Get double from Cache (DBR_DOUBLE).
int getCache (const unsigned int handle, dbr_double_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get double from Cache (DBR_STS_DOUBLE).
int getCache (const unsigned int handle, dbr_double_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get double from Cache (DBR_TIME_DOUBLE).
int getCache (const unsigned int *handleArray, unsigned int nelem, string *valStr, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
int getCache (const unsigned int *handleArray, unsigned int nelem, string *valStr, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
int getCache (const unsigned int *handleArray, unsigned int nelem, string *valStr, int *statusArray)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_string_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_string_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_string_t *val, int *statusArray)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_short_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_short_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_short_t *val, int *statusArray)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_float_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_float_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_float_t *val, int *statusArray)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_ushort_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_ushort_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_ushort_t *val, int *statusArray)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_char_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_char_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_char_t *val, int *statusArray)
int getCache (unsigned int *handleArray, unsigned int nelem, dbr_long_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_long_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_long_t *val, int *statusArray)
int getCache (const unsigned int *handleArray, unsigned int nelem, long long *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
 Retrieves data (long long) from cache.
int getCache (const unsigned int *handleArray, unsigned int nelem, long long *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
 Retrieves data (long long) from cache.
int getCache (const unsigned int *handleArray, unsigned int nelem, long long *val, int *statusArray)
 Retrieves data (long long) from cache.
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_double_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity, epicsTimeStamp *ts)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_double_t *val, int *statusArray, dbr_short_t *alarmStatus, dbr_short_t *alarmSeverity)
int getCache (const unsigned int *handleArray, unsigned int nelem, dbr_double_t *val, int *statusArray)
int getCache (const char *pv, string &valStr)
 Get string from Cache.
int getCache (const char *pv, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get string from Cache.
int getCache (const char *pv, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get string from Cache.
int getCache (const char *pv, dbr_string_t &val)
 Get dbr_string_t from Cache (DBR_STRING).
int getCache (const char *pv, dbr_string_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get dbr_string_t from Cache (DBR_STS_STRING).
int getCache (const char *pv, dbr_string_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get dbr_string_t from Cache (DBR_TIME_STRING).
int getCache (const char *pv, dbr_short_t &val)
 Get short from Cache (DBR_SHORT).
int getCache (const char *pv, dbr_short_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get short from Cache (DBR_STS_SHORT).
int getCache (const char *pv, dbr_short_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get short from Cache (DBR_TIME_SHORT).
int getCache (const char *pv, dbr_float_t &val)
 Get float from Cache (DBR_FLOAT).
int getCache (const char *pv, dbr_float_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get float from Cache (DBR_STS_FLOAT).
int getCache (const char *pv, dbr_float_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get float from Cache (DBR_TIME_FLOAT).
int getCache (const char *pv, dbr_enum_t &val)
 Get dbr_enum_t from Cache (DBR_ENUM).
int getCache (const char *pv, dbr_enum_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get dbr_enum_t from Cache (DBR_STS_ENUM).
int getCache (const char *pv, dbr_enum_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get dbr_enum_t from Cache (DBR_TIME_ENUM).
int getCache (const char *pv, dbr_char_t &val)
 Get dbr_char_t from Cache (DBR_CHAR).
int getCache (const char *pv, dbr_char_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get dbr_char_t from Cache (DBR_STS_CHAR).
int getCache (const char *pv, dbr_char_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get dbr_char_t from Cache (DBR_TIME_CHAR).
int getCache (const char *pv, dbr_long_t &val)
 Get dbr_long_t from Cache (DBR_LONG).
int getCache (const char *pv, dbr_long_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get dbr_long_t from Cache (DBR_STS_LONG).
int getCache (const char *pv, dbr_long_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get dbr_long_t from Cache (DBR_TIME_LONG).
int getCache (const char *pv, long long &val)
int getCache (const char *pv, long long &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, long long &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, dbr_double_t &val)
 Get double from Cache (DBR_DOUBLE).
int getCache (const char *pv, dbr_double_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 Get double from Cache (DBR_STS_DOUBLE).
int getCache (const char *pv, dbr_double_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 Get double from Cache (DBR_TIME_DOUBLE).
int getCache (const char *pv, dbr_double_t *_val)
int getCache (const char *pv, dbr_double_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, dbr_double_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, long long *_val)
int getCache (const char *pv, long long *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, long long *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, dbr_long_t *_val)
int getCache (const char *pv, dbr_long_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, dbr_long_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, dbr_char_t *_val)
int getCache (const char *pv, dbr_char_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, dbr_char_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, dbr_enum_t *_val)
int getCache (const char *pv, dbr_enum_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, dbr_enum_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, dbr_float_t *_val)
int getCache (const char *pv, dbr_float_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, dbr_float_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, dbr_short_t *_val)
int getCache (const char *pv, dbr_short_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, dbr_short_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, dbr_string_t *_val)
int getCache (const char *pv, dbr_string_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, dbr_string_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getCache (const char *pv, string *valStr)
int getCache (const char *pv, string *valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getCache (const char *pv, string *valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int _handle, vector< string > &V)
 get vector of string
int get (const unsigned int _handle, vector< short > &V)
 get vector of dbr_short_t (short)
int get (const unsigned int _handle, vector< float > &V)
 get vector of dbr_float_t (float)
int get (const unsigned int _handle, vector< unsigned short > &V)
 get vector of dbr_enum_t (unsigned short)
int get (const unsigned int _handle, vector< unsigned char > &V)
 get vector of dbr_char_t (unsigned char)
int get (const unsigned int _handle, vector< dbr_long_t > &V)
 get vector of dbr_long_t (long)
int get (const unsigned int _handle, vector< long long > &V)
 get vector of long
int get (const unsigned int _handle, vector< double > &V)
 get vector of dbr_double_t (double)
int get (const unsigned int _handle, vector< string > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get vector of strings
int get (const unsigned int _handle, vector< short > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get vector of dbr_short_t (short)
int get (const unsigned int _handle, vector< float > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get vector of dbr_float_t (float)
int get (const unsigned int _handle, vector< unsigned short > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get vector of dbr_enum_t (unsigned short)
int get (const unsigned int _handle, vector< unsigned char > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get vector of unsigned dbr_char_t (unsigned char)
int get (const unsigned int _handle, vector< dbr_long_t > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get vector of dbr_long_t (long)
int get (const unsigned int _handle, vector< long long > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get vector of longs
int get (const unsigned int _handle, vector< double > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get vector of dbr_double_t (double)
int get (const unsigned int _handle, vector< string > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of strings
int get (const unsigned int _handle, vector< short > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of shorts
int get (const unsigned int _handle, vector< float > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of floats
int get (const unsigned int _handle, vector< unsigned short > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of unsigned shorts (enums)
int get (const unsigned int _handle, vector< unsigned char > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of unsigned char
int get (const unsigned int _handle, vector< dbr_long_t > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of dbr_long_t
int get (const unsigned int _handle, vector< long long > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of longs
int get (const unsigned int _handle, vector< double > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of doubles
int getCache (const unsigned int _handle, vector< string > &V)
 get cached vector of string
int getCache (const unsigned int _handle, vector< short > &V)
 get cached vector of short
int getCache (const unsigned int _handle, vector< float > &V)
 get cached vector of float
int getCache (const unsigned int _handle, vector< unsigned short > &V)
 get cached vector of unsigned short
int getCache (const unsigned int _handle, vector< unsigned char > &V)
 get cached vector of unsigned char
int getCache (const unsigned int _handle, vector< dbr_long_t > &V)
 get cached vector of dbr_long_t
int getCache (const unsigned int _handle, vector< long long > &V)
 get cached vector of long long
int getCache (const unsigned int _handle, vector< double > &V)
 get cached vector of doubles
int getCache (const unsigned int _handle, vector< string > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get cached vector of string, alarmStatus, alarmSeverity
int getCache (const unsigned int _handle, vector< short > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get cached vector of short, alarmStatus, alarmSeverity
int getCache (const unsigned int _handle, vector< float > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get cached vector of float, alarmStatus, alarmSeverity
int getCache (const unsigned int _handle, vector< unsigned short > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get cached vector of unsigned short, alarmStatus, alarmSeverity
int getCache (const unsigned int _handle, vector< unsigned char > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get cached vector of unsigned char alarmStatus, alarmSeverity
int getCache (const unsigned int _handle, vector< dbr_long_t > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get cached vector of dbr_long_t, alarmStatus, alarmSeverity
int getCache (const unsigned int _handle, vector< long long > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get cached vector of long long, alarmStatus, alarmSeverity
int getCache (const unsigned int _handle, vector< double > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
 get cached vector of doubles, alarmStatus, alarmSeverity
int getCache (const unsigned int _handle, vector< string > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get cached vector of strings, alarm status/severity and epicsTimeStamp
int getCache (const unsigned int _handle, vector< short > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get cached vector of shorts, alarm status/severity and epicsTimeStamp
int getCache (const unsigned int _handle, vector< float > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get cached vector of floats, alarm status/severity and epicsTimeStamp
int getCache (const unsigned int _handle, vector< unsigned short > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get cached vector of unsigned shorts (enums), alarm status/severity and epicsTimeStamp
int getCache (const unsigned int _handle, vector< unsigned char > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of cached unsigned char, alarm status/severity and epicsTimeStamp
int getCache (const unsigned int _handle, vector< dbr_long_t > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of cached dbr_long_t, alarm status/severity and epicsTimeStamp
int getCache (const unsigned int _handle, vector< long long > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get vector of long lonsg, alarm status/severity and epicsTimeStamp
int getCache (const unsigned int _handle, vector< double > &V, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
 get cached vector of doubles, alarm status/severity and epicsTimeStamp
int get (vector< unsigned int > handleV, vector< int > &statusV)
 get for vector of handles
int getV (vector< unsigned int > handleV, vector< int > &statusV)
int getScalars (vector< unsigned int > handleV, vector< string > &V, vector< int > &statusV)
int getScalars (vector< unsigned int > handleV, vector< dbr_short_t > &V, vector< int > &statusV)
int getScalars (vector< unsigned int > handleV, vector< dbr_float_t > &V, vector< int > &statusV)
int getScalars (vector< unsigned int > handleV, vector< dbr_enum_t > &V, vector< int > &statusV)
int getScalars (vector< unsigned int > handleV, vector< dbr_char_t > &V, vector< int > &statusV)
int getScalars (vector< unsigned int > handleV, vector< dbr_long_t > &V, vector< int > &statusV)
int getScalars (vector< unsigned int > handleV, vector< long long > &V, vector< int > &statusV)
int getScalars (vector< unsigned int > handleV, vector< dbr_double_t > &V, vector< int > &statusV)
int getCacheVStr (vector< unsigned int > handleV, vector< string > &V, vector< int > &statusV)
int getCacheVLong (vector< unsigned int > handleV, vector< dbr_long_t > &V, vector< int > &statusV)
int getCacheVDouble (vector< unsigned int > handleV, vector< dbr_double_t > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< string > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< dbr_short_t > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< dbr_float_t > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< dbr_enum_t > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< dbr_char_t > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< dbr_long_t > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< long long > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< dbr_double_t > &V, vector< int > &statusV)
int getCache (vector< unsigned int > handleV, vector< string > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV)
int getCache (vector< unsigned int > handleV, vector< dbr_short_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV)
int getCache (vector< unsigned int > handleV, vector< dbr_float_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV)
int getCache (vector< unsigned int > handleV, vector< dbr_enum_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV)
int getCache (vector< unsigned int > handleV, vector< dbr_char_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV)
int getCache (vector< unsigned int > handleV, vector< dbr_long_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV)
int getCache (vector< unsigned int > handleV, vector< long long > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV)
int getCache (vector< unsigned int > handleV, vector< dbr_double_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV)
int getCache (vector< unsigned int > handleV, vector< string > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV, vector< epicsTimeStamp > &tsV)
 get cached vector of strings
int getCache (vector< unsigned int > handleV, vector< dbr_short_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV, vector< epicsTimeStamp > &tsV)
 get cached vector of shorts
int getCache (vector< unsigned int > handleV, vector< dbr_float_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV, vector< epicsTimeStamp > &tsV)
 get cached vector of floats
int getCache (vector< unsigned int > handleV, vector< dbr_enum_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV, vector< epicsTimeStamp > &tsV)
 get cached vector of enums (ushorts)
int getCache (vector< unsigned int > handleV, vector< dbr_char_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV, vector< epicsTimeStamp > &tsV)
 get cached vector of dbr_char_t (unsigned char)
int getCache (vector< unsigned int > handleV, vector< dbr_long_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV, vector< epicsTimeStamp > &tsV)
 get cached vector of dbr_char_t (unsigned char)
int getCache (vector< unsigned int > handleV, vector< long long > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV, vector< epicsTimeStamp > &tsV)
 get cached vector of dbr_char_t (unsigned char)
int getCache (vector< unsigned int > handleV, vector< dbr_double_t > &V, vector< int > &statusV, vector< dbr_short_t > &alarmStatusV, vector< dbr_short_t > &alarmSeverityV, vector< epicsTimeStamp > &tsV)
 get cached vector of dbr_double_t (double)
int set (const unsigned int handle, vector< string > V)
 set vector of dbr_string_t
int set (const unsigned int handle, vector< dbr_short_t > V)
 set vector of dbr_short_t
int set (const unsigned int handle, vector< dbr_float_t > V)
 set vector of dbr_float_t
int set (const unsigned int handle, vector< dbr_enum_t > V)
 set vector of dbr_enum_t
int set (const unsigned int handle, vector< dbr_char_t > V)
 set vector of dbr_char_t
int set (const unsigned int handle, vector< dbr_long_t > V)
 set vector of dbr_long_t (int)
int set (const unsigned int handle, vector< long long > V)
 set vector of long
int set (const unsigned int handle, vector< dbr_double_t > V)
 set vector of doubles
int set (vector< unsigned int > handleV, vector< string > V, vector< int > &statusV)
 set vector of string
int set (vector< unsigned int > handleV, vector< dbr_short_t > V, vector< int > &statusV)
 set vector of dbr_short_t
int set (vector< unsigned int > handleV, vector< dbr_float_t > V, vector< int > &statusV)
 set vector of dbr_float_t
int set (vector< unsigned int > handleV, vector< dbr_enum_t > V, vector< int > &statusV)
 set vector of dbr_enum_t (unsigned short)
int set (vector< unsigned int > handleV, vector< dbr_char_t > V, vector< int > &statusV)
 set vector of dbr_char_t (unsigned char)
int set (vector< unsigned int > handleV, vector< dbr_long_t > V, vector< int > &statusV)
 set vector of dbr_long_t
int set (vector< unsigned int > handleV, vector< long long > V, vector< int > &statusV)
 set vector of long
int set (vector< unsigned int > handleV, vector< dbr_double_t > V, vector< int > &statusV)
 set vector of dbr_double_t
int getPVArray (vector< unsigned int > handleV, PVDataHolder *pvd)
int getPVArrayCache (vector< unsigned int > handleV, PVDataHolder *pvd)
int setPVArray (vector< unsigned int > handleV, PVDataHolder *pvd)
 set values as given in pvd struct
int setVVString (vector< unsigned int > handleV, vector< string > V, vector< int > &statusV)
int setVVChar (vector< unsigned int > handleV, vector< dbr_char_t > V, vector< int > &statusV)
int setVVLong (vector< unsigned int > handleV, vector< dbr_long_t > V, vector< int > &statusV)
int setVVDouble (vector< unsigned int > handleV, vector< dbr_double_t > V, vector< int > &statusV)
int setVString (const unsigned int handle, vector< string > V)
int setVChar (const unsigned int handle, vector< dbr_char_t > V)
int setVLong (const unsigned int handle, vector< dbr_long_t > V)
int setVShort (const unsigned int handle, vector< dbr_short_t > V)
int setVUShort (const unsigned int handle, vector< dbr_enum_t > V)
int setVFloat (const unsigned int handle, vector< dbr_float_t > V)
int setVDouble (const unsigned int handle, vector< dbr_double_t > V)
int setAndGet (const unsigned int handleSet, dbr_double_t valSet, dbr_double_t &valGet)
int setAndGet (const unsigned int handleSet, dbr_float_t valSet, dbr_float_t &valGet)
int setAndGet (const unsigned int handleSet, dbr_char_t valSet, dbr_char_t &valGet)
int setAndGet (const unsigned int handleSet, dbr_enum_t valSet, dbr_enum_t &valGet)
int setAndGet (const unsigned int handleSet, dbr_short_t valSet, dbr_short_t &valGet)
int setAndGet (const unsigned int handleSet, dbr_long_t valSet, dbr_long_t &valGet)
int setAndGet (const unsigned int handleSet, long long valSet, long long &valGet)
int setAndGet (const unsigned int handleSet, dbr_string_t valSet, dbr_string_t &valGet)
int setAndGet (const unsigned int handleSet, string valSet, string &valGet)
int match (dbr_double_t valSet, unsigned int handleMatch, dbr_double_t tolerance, double timeout, bool printFlag)
int match (dbr_float_t valSet, unsigned int handleMatch, dbr_float_t tolerance, double timeout, bool printFlag)
int match (dbr_char_t valSet, unsigned int handleMatch, dbr_char_t tolerance, double timeout, bool printFlag)
int match (dbr_enum_t valSet, unsigned int handleMatch, dbr_enum_t tolerance, double timeout, bool printFlag)
int match (dbr_short_t valSet, unsigned int handleMatch, dbr_short_t tolerance, double timeout, bool printFlag)
int match (dbr_long_t valSet, unsigned int handleMatch, dbr_long_t tolerance, double timeout, bool printFlag)
int match (long long valSet, unsigned int handleMatch, long long tolerance, double timeout, bool printFlag)
int match (string valSet, unsigned int handleMatch, string tolerance, double timeout, bool printFlag)
int match (dbr_string_t valSet, unsigned int handleMatch, dbr_string_t tolerance, double timeout, bool printFlag)
int matchMany (vector< dbr_double_t > valSet, vector< unsigned int > handleMatch, dbr_double_t tolerance, double timeout, bool printFlag)
int matchMany (vector< dbr_float_t > valSet, vector< unsigned int > handleMatch, dbr_float_t tolerance, double timeout, bool printFlag)
int matchMany (vector< dbr_char_t > valSet, vector< unsigned int > handleMatch, dbr_char_t tolerance, double timeout, bool printFlag)
int matchMany (vector< dbr_enum_t > valSet, vector< unsigned int > handleMatch, dbr_enum_t tolerance, double timeout, bool printFlag)
int matchMany (vector< dbr_short_t > valSet, vector< unsigned int > handleMatch, dbr_short_t tolerance, double timeout, bool printFlag)
int matchMany (vector< dbr_long_t > valSet, vector< unsigned int > handleMatch, dbr_long_t tolerance, double timeout, bool printFlag)
int matchMany (vector< long long > valSet, vector< unsigned int > handleMatch, long long tolerance, double timeout, bool printFlag)
int matchMany (vector< string > valSetV, vector< unsigned int > handleMatchV, string tolerance, double timeout, bool printFlag)
int setAndMatchMany (vector< unsigned int > handleSet, vector< dbr_double_t > valSet, vector< unsigned int > handleMatch, dbr_double_t tolerance, double timeout, bool printFlag)
int setAndMatchMany (vector< unsigned int > handleSet, vector< dbr_float_t > valSet, vector< unsigned int > handleMatch, dbr_float_t tolerance, double timeout, bool printFlag)
int setAndMatchMany (vector< unsigned int > handleSet, vector< dbr_char_t > valSet, vector< unsigned int > handleMatch, dbr_char_t tolerance, double timeout, bool printFlag)
int setAndMatchMany (vector< unsigned int > handleSet, vector< dbr_enum_t > valSet, vector< unsigned int > handleMatch, dbr_enum_t tolerance, double timeout, bool printFlag)
int setAndMatchMany (vector< unsigned int > handleSet, vector< dbr_short_t > valSet, vector< unsigned int > handleMatch, dbr_short_t tolerance, double timeout, bool printFlag)
int setAndMatchMany (vector< unsigned int > handleSet, vector< dbr_long_t > valSet, vector< unsigned int > handleMatch, dbr_long_t tolerance, double timeout, bool printFlag)
int setAndMatchMany (vector< unsigned int > handleSet, vector< long long > valSet, vector< unsigned int > handleMatch, long long tolerance, double timeout, bool printFlag)
int setAndMatchMany (vector< unsigned int > handleSetV, vector< string > valSetV, vector< unsigned int > handleMatchV, string tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, dbr_double_t valSet, const unsigned int handleMatch, dbr_double_t tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, dbr_float_t valSet, const unsigned int handleMatch, dbr_float_t tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, dbr_char_t valSet, const unsigned int handleMatch, dbr_char_t tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, dbr_enum_t valSet, const unsigned int handleMatch, dbr_enum_t tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, dbr_short_t valSet, const unsigned int handleMatch, dbr_short_t tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, dbr_long_t valSet, const unsigned int handleMatch, dbr_long_t tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, long long valSet, const unsigned int handleMatch, long long tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, dbr_string_t valSet, const unsigned int handleMatch, dbr_string_t tolerance, double timeout, bool printFlag)
int setAndMatch (const unsigned int handleSet, string valSet, const unsigned int handleMatch, string tolerance, double timeout, bool printFlag)
int snapshot2XML (PVGroup pg)
 snapshot2XML
Takes a PVGroup snapshot and writes data to a timestamped file
in the directory defined the by CAFE_SAR_PATH environment variable
void openGroupXMLFile (string fileName)
 openGroupXMLFile
Open file given by fileName for writing XML data

void closeGroupXMLFile (string fileName)
 closeGroupXMLFile
Close file given by fileName for writing XML data

long group2XML (const char *grpName, string fileName)
 group2XML
Takes a PVGroup snapshot and writes data to a timestamped file
in the directory defined the by CAFE_SAR_PATH environment variable
int getNonBlocking (const unsigned int handle)
int get (const unsigned int handle)
int get (const unsigned int *handleArray, unsigned int nelem, int *statusArray)
int get (const unsigned int *handleArray, unsigned int nHandles, vector< int > &statusV)
 get for vector of handles
int getCtrl (const unsigned int handle)
int get (const unsigned int handle, PVDataHolder &pvd)
int get (const unsigned int *handleArray, unsigned int nelem, PVDataHolder *pvd)
int waitForBundledEvents (vector< unsigned int > handleV, vector< int > &vRB)
int waitForBundledEvents (unsigned int *handleArray, unsigned int nHandles, vector< int > &vRB)
int waitForGetEvent (unsigned int handle)
int getCtrl (const unsigned int handle, PVCtrlHolder &pvc)
int getCtrl (const unsigned int *handleArray, unsigned int nelem, PVCtrlHolder *pvc)
int get (const char *pv)
int getCtrl (const char *pv)
int get (const char *pv, PVDataHolder &pvd)
int getCtrl (const char *pv, PVCtrlHolder &pvc)
int get (const unsigned int handle, string *valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, string *valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, string *valStr)
int get (const unsigned int handle, dbr_string_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_string_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_string_t *_val)
int get (const unsigned int handle, dbr_short_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_short_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_short_t *_val)
int get (const unsigned int handle, dbr_float_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_float_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_float_t *_val)
int get (const unsigned int handle, dbr_ushort_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_ushort_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_ushort_t *_val)
int get (const unsigned int handle, dbr_char_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_char_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_char_t *_val)
int get (const unsigned int handle, dbr_long_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_long_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_long_t *_val)
int get (const unsigned int handle, long long *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, long long *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, long long *_val)
int get (const unsigned int handle, dbr_double_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_double_t *_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_double_t *_val)
int getCharArray (const unsigned int handle, dbr_char_t *_val)
int getShortArray (const unsigned int handle, dbr_short_t *_val)
int getUShortArray (const unsigned int handle, dbr_ushort_t *_val)
int getDoubleArray (const unsigned int handle, dbr_double_t *_val)
int getFloatArray (const unsigned int handle, dbr_float_t *_val)
int getLongArray (const unsigned int handle, dbr_long_t *_val)
int getLongLongArray (const unsigned int handle, long long *_val)
int getStringArray (const unsigned int handle, string *valStr)
int getDbrStringArray (const unsigned int handle, dbr_string_t *_val)
int getString (const unsigned int handle, string &valStr)
int get (const unsigned int handle, string &valStr)
int get (const unsigned int handle, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int getStringTS (const unsigned int handle, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_string_t &_val)
int get (const unsigned int handle, dbr_string_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_string_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_short_t &_val)
int get (const unsigned int handle, dbr_short_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_short_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_float_t &_val)
int get (const unsigned int handle, dbr_float_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_float_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_enum_t &_val)
int get (const unsigned int handle, dbr_enum_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_enum_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, dbr_char_t &_val)
int get (const unsigned int handle, dbr_char_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_char_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getLong (const unsigned int handle, dbr_long_t &_val)
int get (const unsigned int handle, dbr_long_t &_val)
int get (const unsigned int handle, dbr_long_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_long_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const unsigned int handle, long long &_val)
int get (const unsigned int handle, long long &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, long long &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int getDouble (const unsigned int handle, dbr_double_t &_val)
int get (const unsigned int handle, dbr_double_t &_val)
int get (const unsigned int handle, dbr_double_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const unsigned int handle, dbr_double_t &_val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, string *valStr)
int get (const char *pv, string *valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, string *valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_string_t *val)
int get (const char *pv, dbr_string_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_string_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_short_t *val)
int get (const char *pv, dbr_short_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_short_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_float_t *val)
int get (const char *pv, dbr_float_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_float_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_enum_t *val)
int get (const char *pv, dbr_enum_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_enum_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_char_t *val)
int get (const char *pv, dbr_char_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_char_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_long_t *val)
int get (const char *pv, dbr_long_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_long_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, long long *val)
int get (const char *pv, long long *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, long long *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_double_t *val)
int get (const char *pv, dbr_double_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_double_t *val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, string &valStr)
int get (const char *pv, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, string &valStr, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_string_t &val)
int get (const char *pv, dbr_string_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_string_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_short_t &val)
int get (const char *pv, dbr_short_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_short_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_float_t &val)
int get (const char *pv, dbr_float_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_float_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_enum_t &val)
int get (const char *pv, dbr_enum_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_enum_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_char_t &val)
int get (const char *pv, dbr_char_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_char_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_long_t &val)
int get (const char *pv, dbr_long_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_long_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, long long &val)
int get (const char *pv, long long &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, long long &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int get (const char *pv, dbr_double_t &val)
int get (const char *pv, dbr_double_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity)
int get (const char *pv, dbr_double_t &val, dbr_short_t &alarmStatus, dbr_short_t &alarmSeverity, epicsTimeStamp &ts)
int waitForPut (const unsigned int *h, const unsigned int nelem)
int set (const unsigned int handle, PVDataHolder &pvd)
int set (const unsigned int *handleArray, const unsigned int nelem, PVDataHolder *pvd)
int set (const char *, PVDataHolder &pvd)
int set (const unsigned int handle, const dbr_string_t *_val)
int set (const unsigned int handle, const dbr_short_t *_val)
int set (const unsigned int handle, const dbr_float_t *_val)
int set (const unsigned int handle, const dbr_enum_t *_val)
int set (const unsigned int handle, const dbr_char_t *_val)
int set (const unsigned int handle, const dbr_long_t *_val)
int set (const unsigned int handle, const long long *_val)
int set (const unsigned int handle, const dbr_double_t *_val)
int setStringArray (const unsigned int handle, const dbr_string_t *_val)
int setCharArray (const unsigned int handle, const dbr_char_t *_val)
int setLongArray (const unsigned int handle, const dbr_long_t *_val)
int setDoubleArray (const unsigned int handle, const dbr_double_t *_val)
int setString (const unsigned int handle, const string _val)
int setShort (const unsigned int handle, const dbr_short_t _val)
int setFloat (const unsigned int handle, const dbr_float_t _val)
int setUShort (const unsigned int handle, const dbr_enum_t _val)
int setChar (const unsigned int handle, const dbr_char_t _val)
int setLong (const unsigned int handle, const dbr_long_t _val)
int setLongLong (const unsigned int handle, const long long _val)
int setDouble (const unsigned int handle, const dbr_double_t _val)
int set (const unsigned int handle, string _val)
int set (const unsigned int handle, const dbr_string_t _val)
int set (const unsigned int handle, const dbr_short_t _val)
int set (const unsigned int handle, const dbr_float_t _val)
int set (const unsigned int handle, const dbr_enum_t _val)
int set (const unsigned int handle, const dbr_char_t _val)
int set (const unsigned int handle, const dbr_long_t _val)
int set (const unsigned int handle, const long long _val)
int set (const unsigned int handle, const dbr_double_t _val)
int set (const unsigned int *handleArray, const unsigned int nelem, const dbr_string_t *_val, int *statusArray)
int set (const unsigned int *handleArray, const unsigned int nelem, const dbr_short_t *_val, int *statusArray)
int set (const unsigned int *handleArray, const unsigned int nelem, const dbr_float_t *_val, int *statusArray)
int set (const unsigned int *handleArray, const unsigned int nelem, const dbr_enum_t *_val, int *statusArray)
int set (const unsigned int *handleArray, const unsigned int nelem, const dbr_char_t *_val, int *statusArray)
int set (const unsigned int *handleArray, const unsigned int nelem, const dbr_long_t *_val, int *statusArray)
int set (const unsigned int *handleArray, const unsigned int nelem, const long long *_val, int *statusArray)
 Set an array of handles with long long(s).
int set (const unsigned int *handleArray, const unsigned int nelem, const dbr_double_t *_val, int *statusArray)
int set (const char *, const dbr_string_t *_val)
int set (const char *, const dbr_short_t *_val)
int set (const char *, const dbr_float_t *_val)
int set (const char *, const dbr_enum_t *_val)
int set (const char *, const dbr_char_t *_val)
int set (const char *, const dbr_long_t *_val)
int set (const char *, const long long *_val)
int set (const char *, const dbr_double_t *_val)
int set (const char *, const dbr_string_t _val)
int set (const char *, const dbr_short_t _val)
int set (const char *, const dbr_float_t _val)
int set (const char *, const dbr_enum_t _val)
int set (const char *, const dbr_char_t _val)
int set (const char *, const dbr_long_t _val)
int set (const char *, const long long _val)
int set (const char *, const dbr_double_t _val)
unsigned int setNelemToOne (const unsigned int handle)
unsigned int setNelemToPrevious (const unsigned int handle, unsigned int nelemPrevious)
 Helper function to methods calling scalars Sets number of elements to the "previous" number.
unsigned int setNelemToRetrieveFromCacheToOne (const unsigned int handle)
unsigned int setNelemToRetrieveFromCacheToPrevious (const unsigned int handle, unsigned int nelemPrevious)
int groupAttach (const unsigned int groupHandle, PVGroup &pvgroup)
int groupFetch (const unsigned int groupHandle, PVGroup &pvgroup)
int groupGet (PVGroup &pvgroup)
int groupGet (const unsigned int groupHandle, PVGroup &pvgroup)
int groupGetScalar (const unsigned int groupHandle, vector< string > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, vector< double > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, vector< float > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, vector< short > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, vector< long > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, vector< long long > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, vector< unsigned short > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, vector< unsigned char > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, vector< char > &valV, vector< int > &statusV)
int groupGetScalar (const unsigned int groupHandle, string *val, int *statusArray)
int groupGetScalar (const unsigned int groupHandle, double *val, int *statusArray)
int groupGetScalar (const unsigned int groupHandle, float *val, int *statusArray)
int groupGetScalar (const unsigned int groupHandle, short *val, int *statusArray)
int groupGetScalar (const unsigned int groupHandle, long *val, int *statusArray)
int groupGetScalar (const unsigned int groupHandle, long long *val, int *statusArray)
int groupGetScalar (const unsigned int groupHandle, unsigned short *val, int *statusArray)
int groupGetScalar (const unsigned int groupHandle, unsigned char *val, int *statusArray)
int groupGetScalar (const unsigned int groupHandle, char *val, int *statusArray)
int groupGetCache (const unsigned int groupHandle, PVGroup &pvgroup)
vector< unsigned intgetHandlesFromWithinGroupV (const unsigned int groupHandle)
unsigned intgetHandlesFromWithinGroup (const unsigned int groupHandle)
int groupSet (PVGroup &pvgroup)
int groupSet (const unsigned int groupHandle, PVGroup &pvgroup)
int groupMonitorStart (const unsigned int groupHandle, vector< int > &statusV)
int groupMonitorStart (const unsigned int groupHandle, vector< int > &statusV, vector< MonitorPolicy > &mpV)
int groupMonitorStart (const unsigned int groupHandle, vector< int > &statusV, vector< unsigned int > &monitorIDV)
int groupMonitorStop (const unsigned int groupHandle, vector< int > &statusV)
unsigned int groupGetNPV (unsigned int _gHandle)
unsigned int groupGetNPV (const char *_gName)
unsigned int groupGetNPV (const char *_gName, ca_client_context *ccc)
HandleHelper getHandleHelper ()
HandleHelper getInfo ()
PolicyHelper getPolicyHelper ()
PolicyHelper getPolicy ()
unsigned int getNelemClient (unsigned int h)
unsigned int getNelemNative (unsigned int h)
unsigned int getNelemRequest (unsigned int h)
int getStatus ()
CAFEStatus getCafeStatus ()
CAFEStatusSeverity getCafeStatusSeverity ()
int _ca_flush_io ()
int _ca_poll ()
int _ca_pend_io (double t)
int _ca_pend_event (double t)
bool setPyCafe (bool b)
bool getPyCafe ()
int init () throw (CAFEException_init)
int init (ca_preemptive_callback_select select) throw (CAFEException_init)
int open (const string pvS, unsigned int &handle) throw (CAFEException_open)
int open (const string pvS, const std::string pvAliasS, unsigned int &handle) throw (CAFEException_open)
int open (const string *pvArrayS, unsigned int *handleArray, const unsigned int nHandles) throw (CAFEException_open)
 Establishes virtual circuits for a vector of epics process variables

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create CAFEConduit object and add to multi-index hash table
    .

int open (const char *pv, unsigned int &handle) throw (CAFEException_open)
 Establishes virtual circuit to epics process variable

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create Conduit object and add to multi-index hash table
    .

int open (const char *pv, const char *pvAlias, unsigned int &handle) throw (CAFEException_open)
 Establishes virtual circuit to epics process variable and defines its pv alias name

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create Conduit object and add to multi-index hash table
    .

int open (const char **pvArray, unsigned int *handleArray, const unsigned int nHandles) throw (CAFEException_open)
 Establishes virtual circuits for a vector of epics process variables

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create CAFEConduit object and add to multi-index hash table
    .

int open (vector< const char * >, vector< unsigned int > &) throw (CAFEException_open)
 Establishes virtual circuits for a vector of epics process variables

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create CAFEConduit object and add to multi-index hash table
    .

int open (vector< string >, vector< unsigned int > &) throw (CAFEException_open)
 Establishes virtual circuits for a vector of epics process variables

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create CAFEConduit object and add to multi-index hash table
    .

int openV (vector< string > s, vector< unsigned int > &i) throw (CAFEException_open)
void openGroupPrepare ()
void openMonitorPrepare ()
double setOpenDefaultPendTime (double _timeout)
double getOpenDefaultPendTime ()
void openGroupNowAndWait (double _timeout)
void openMonitorNow ()
void openMonitorNowAndWait (double _timeout)
void openPrepare ()
void openNowAndWait (double _timeout)
void openNow ()
void openNoWait ()
unsigned int printHandle (unsigned int h)
unsigned int printHandles (void)
unsigned int printDisconnectedHandles (void)
unsigned int getDisconnectedHandles (vector< unsigned int > &dhV, vector< string > &pvV)
void printCAFEException_pv (CAFEException_pv &e)
int closeChannels (unsigned int *handleArray, unsigned int nHandles)
 Closes connection for channel within a ca_client_context and deletes corresponding handle
The handle must be within the same context.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event handlers for subscriptions (i.e., monitors).
The Conduit handle is erased.
int closeChannels (vector< unsigned int > v)
int closeChannels ()
 Closes all channel connections within a ca_client_context and removes the corresponding handles.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event subscriptions (for monitors).
Corresponding Conduit handles are erased.
int closeChannels (ca_client_context *cctLocal)
 Closes all channel connections within the given ca_client_context and removes the corresponding handles.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event subscriptions (for monitors).
Corresponding Conduit handles are erased.
int closeChannelsV (vector< unsigned int > v)
int close (unsigned int handle)
 Closes connection for channel within a ca_client_context and deletes corresponding handle
The handle must be within the same context.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event handlers for subscriptions (i.e. monitors).
The Conduit handle is erased.
int close ()
int closeChannel (unsigned int handle)
int closeHandles (unsigned int *handleArray, unsigned int nHandles)
 Closes given channel connections (even if in other threads) and deletes their handles.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event subscriptions (for monitors).
All corresponding Conduit handles are erased.
int closeHandles ()
 Closes all channel connections (even if in other threads) and deletes all handles.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event subscriptions (for monitors).
All Conduit handles are erased.
int closeHandle (unsigned int handle)
 Closes channel connections (even if in other thread) and deletes handle.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event handlers for subscriptions (i.e. monitors).
The Conduit handle is erased.
int monitorStart (unsigned int handle, MonitorPolicy &mp)
 Monitor a PV.
int monitorStart (unsigned int handle, unsigned int &monitorID)
 Monitor a PV.
int monitorStart (unsigned int handle)
int monitorStart (unsigned int *handleArray, unsigned int nelem)
int monitorStart (unsigned int *handleArray, unsigned int nelem, int *statusArray, MonitorPolicy *mpV)
 Monitor an array of PV with parameters set by MonitorPolicy objects.
int monitorStart (unsigned int *handleArray, unsigned int nelem, int *statusArray, unsigned int *monitorIDArray)
 Monitor an array of PV with parameters with default policies.
int monitorStart (vector< unsigned int > handleV, vector< int > &statusV, vector< MonitorPolicy > &mpV)
 Monitor an array of PV with parameters set by MonitorPolicy objects.
int monitorStart (vector< unsigned int > handleV, vector< int > &statusV, vector< unsigned int > &monitorIDV)
 Monitor an array of PV with default MonitorPolicy object parameters.
int monitorStop (unsigned int handle, MonitorPolicy mp)
 Stop monitor of a PV.
int monitorStop (unsigned int handle, unsigned int monitorID)
 Stop monitor of a PV.
int monitorStop (unsigned int handle)
 Stop all monitors for this handle.
int monitorStop ()
 Stop all monitors.
int monitorStop (ca_client_context *ccc)
 Stop all monitors for the given ca_client_context.
int monitorStop (unsigned int *handleArray, unsigned int nelem, int *statusArray)
 Stop all monitors for this array of handles.
int monitorStop (vector< unsigned int > handleV, vector< int > &statusV)
 Stop all monitors for a vector of handles.
int monitorStop (unsigned int *handleArray, unsigned int nelem)
int monitorStopWithID (unsigned int handle, unsigned int monitorID)
int monitorStopAll ()
MonitorPolicycreateMonitorPolicyArray (const unsigned int nmp)
int terminate ()
 Closes all channels within a given context and all handles for all contexts
Shuts down the local channel access client context and frees allocated resources
contextDestroy is not essential as resources are normally automatically released by the system.
int terminate (ca_client_context *cctLocal)
 Closes all channels within the given context and their respective handles
Shuts down the given channel access client context and frees allocated resources
contextDestroy is not essential as resources are normally automatically released by the system.
unsigned int getHandleFromPV (const char *pv)
const char * getPVFromHandle (unsigned int handle)
unsigned int getHandleFromPVWithinGroup (const char *pv, unsigned int grh)
bool isEnum (unsigned int handle)
bool isValid (unsigned int handle)
bool allChannelsConnected ()
bool isConnected (unsigned int handle)
bool isChannelConnected (unsigned int handle)
int getChannelInfo (unsigned int handle, ChannelRegalia &channelInfo)
chid getChannelID (unsigned int handle)
ca_client_context * getClientContext (const char *pvname)
ca_client_context * getClientContext (unsigned int handle)
int attachContext (ca_client_context *ccc)
int attachContextByPVName (const char *pvname)
int attachContextByHandle (unsigned int handle)
int updateAccessRead (unsigned int handle, int ar)
int updateAccessWrite (unsigned int handle, int aw)
bool getReadAccess (unsigned int handle)
bool getWriteAccess (unsigned int handle)
void printStatusMessage (int status)
int printStatus (unsigned int handle, int status)
 print status information of given handle
int printStatus (unsigned int *handleArray, unsigned int nelem, int *statusArray)
 print status information of given handles
int printStatus (vector< unsigned int > handleV, vector< int > statusV)
 print status information of given handles
int printStatusIfError (unsigned int handle, int status)
 print status information of given handle only on error
int printStatusIfError (unsigned int *handleArray, unsigned int nelem, int *statusArray)
 print status information of given handles only on error
int printStatusIfError (vector< unsigned int > handleV, vector< int > statusV)
 print status information of given handles only on error
int setPVAlias (unsigned int handle, const char *pv) throw (CAFEException_open)
 Defines a pv alias for pv and adds this to multi-index hash table.
PVDataHoldergetPVData (vector< unsigned int > handleArray)
 Creates a pseudo group from input handles and initalizes PVdataHolder array; \ method to be preceded by getV(v) and followed by e.g.getCachePVArrayNoWait(v, pvd).
int collectionDefine (const char *collectionName, vector< string > deviceV)
 Connect::collectionDefine: Add collection to global vector, deviceCollectionV.
int collectionDefine (const char *collectionName, vector< const char * > deviceV)
 Connect::collectionDefine: Add collection to global vector, deviceCollectionV.
int collectionDefine (const char *collectionName, pv_string_t *deviceArray, unsigned int deviceLength)
 Connect::collectionDefine: Add collection to global vector, deviceCollectionV.
int collectionFetch (const char *collectionName, vector< string > &deviceListV)
 Connect::collectionFetch - retrieves Collection.
int collectionFetch (const char *collectionName, vector< const char * > &deviceListV)
 Connect::collectionFetch - retrieves Collection.
int collectionFetch (const char *collectionName, deviceCollection &dC)
 Connect::collectionFetch - retrieves Collection.
vector< deviceCollectiongetCollections () const
int collectionMemberList (const char *collectionName, boost::shared_ptr< pv_string_t[]> &list, unsigned int &listLength)
 Connect::collectionMemberList - lists the members of the given collection
.
int collectionMemberList (const char *collectionName, vector< string > &list)
 Connect::collectionMemberList - lists the members of the given collection.
int collectionList (boost::shared_ptr< pv_string_t[]> &clist, unsigned int &listLength)
 Connect::collectionList - lists all collection in global vector deviceCollectionV
.
int collectionList (vector< string > &clist)
 Connect::collectionList - lists all collections in global vector deviceCollectionV.
int fetchIndexOfCollectionMember (const char *collectionName, const char *deviceName)
 Connect::fetchIndexOfCollectionMember.
bool isGroup (const char *)
 Connect::isGroup - Test const char * to determine if input 'name' is a garoup.
bool isCollection (const char *)
 Connect::isCollection - Test const char * to determine if input 'name' is a collection.
int groupOpen (const char *pv, unsigned int &groupHandle) throw (CAFEException_groupOpen)
 Establishes virtual circuit to epics process variable for each group member by calling Connect::open(pv, &handle).
int groupOpen (PVGroup &pvgroup, unsigned int &groupHandle) throw (CAFEException_groupOpen)
int groupClose (unsigned int groupHandle)
int groupClose ()
int groupCloseAll ()
int groupHandleErase ()
int groupHandleErase (ca_client_context *ccc)
int groupCombine (const char *newGroupName, const char *groupName1, const char *groupName2)
 Connect::groupCombine - Combines two groups to form a new group.
int groupCombine (const char *newGroupName, vector< char * > groupName)
 Connect::groupCombine - Combines individual groups to form a new group.
vector< string > generateChannelList (vector< string > inputStringV)
vector< string > getFromGlobalChannelList (vector< string >)
int groupDefine (const char *groupName, const char *collectionName, vector< string > attributeV)
 Connect::groupDefine.
int groupDefine (const char *groupName, const char *collectionName, vector< const char * > attributeV)
 Connect::groupDefine.
int groupDefine (const char *groupName, const char *collectionName, pv_string_t *attributeArray, unsigned short attributeLength)
 Connect::groupDefine.
int groupDefine (const char *groupName, const char *collectionName, pv_string_t attribute)
int groupDefine (const char *groupName, vector< string > deviceV, vector< string > attributeV)
 Connect::groupDefine.
int groupDefine (const char *groupName, vector< const char * > deviceV, vector< const char * > attributeV)
 Connect::groupDefine.
int groupDefine (const char *groupName, pv_string_t *deviceArray, unsigned int deviceLength, pv_string_t *attributeArray, unsigned short attributeLength)
 Connect::groupDefine.
int groupDefine (const char *groupName, vector< string > pvArrayV)
 Connect::groupDefine.
int groupDefine (const char *groupName, vector< const char * > pvArrayV)
 Connect::groupDefine.
int groupDefine (const char *groupName, pv_string_t *pvArray, unsigned int pvArrayLength)
 Connect::groupDefine.
int groupMemberList (const char *groupName, boost::shared_ptr< pv_string_t[]> &list, unsigned int &listLength)
 Connect::groupMemberList - lists the members of the given group
User responsible for deleting list array.
int groupMemberList (const char *groupName, vector< string > &list)
 Connect::groupMemberList - lists the members of the given group.
int groupList (boost::shared_ptr< pv_string_t[]> &glist, unsigned int &listLength)
 Connect::groupList - lists all groups in global vector PVGroupV
.
int groupList (vector< string > &glist)
 Connect::groupList - lists all groups in global vector PVGroupV.
int fetchIndexOfGroupMember (const char *groupName, const char *pv)
 Connect::fetchIndexOfGroupMember.
void setDeviceAttributeDeliminator (std::string d)
std::string getDeviceAttributeDeliminator () const

Public Attributes

ChannelOpenPolicy channelOpenPolicy
ChannelOpenPolicy channelClosePolicy
ChannelOpenPolicy channelMonitorPolicy
ChannelOpenPolicy channelOpenGroupPolicy

Protected Member Functions

int createChannel (unsigned int handle, const char *pv, chid &pCh)
int createHandle (const char *pv, ca_client_context *ccc, unsigned int &handle) throw (CAFEException_pv)
int contextDestroy ()
 Shuts down a channel access client context and frees allocated resources Not essential as resources are normally automatically released by the system. This invokes the connection_handler callback function.
int contextDestroy (ca_client_context *cctLocal)
 Closes channels for the given channel access client context.
Shuts down the 'local' channel access client context and frees allocated resources
Note that in thread:stop, these two contexts are different!!
Not essential as resources are normally automatically released by the system.
This invokes the connection_handler callback function.
unsigned short epicsVersion (unsigned short &major, unsigned short &minor, unsigned short &patch)
int createChannelWithinGroup (unsigned int handle, const char *pv, chid &pCh)
int createHandleWithinGroup (const char *pv, ca_client_context *ccc, unsigned int &_handle) throw (CAFEException_pv)
 Connect::createHandleWithinGroup.

Static Protected Member Functions

static void callbackHandlerAccessRights (struct access_rights_handler_args args)
static void callbackHandlerException (struct exception_handler_args args)

Protected Attributes

int status
CAFEStatus cafeStatus
CAFEStatusSeverity cafeStatusSeverity
cafeConduit_set::iterator itcs
cafeGroup_set::iterator itgs
CAFEDataTypeCode cafeDataTypeCode
ExceptionsHelper exceptionsHelper
ChannelCreatePolicy channelCreatePolicy
PolicyHelper policyHelper
HandleHelper handleHelper
Helper helper
std::string deviceAttributeDeliminator
bool pyCafeFlag

Private Attributes

Instant< dbr_string_t > cafeSoluble
Instant< dbr_float_t > cafeFrappuccino
Instant< dbr_short_t > cafeSchale
Instant< dbr_enum_t > cafeEspresso
Instant< dbr_char_t > cafeCappuccino
Instant< dbr_long_t > cafeLatte
Instant< dbr_double_t > cafeDoppio
Transpose< dbr_string_t > renderString
Transpose< dbr_short_t > renderShort
Transpose< dbr_float_t > renderFloat
Transpose< dbr_enum_t > renderEnum
Transpose< dbr_char_t > renderChar
Transpose< dbr_long_t > renderLong
Transpose< dbr_double_t > renderDouble
Granules cafeGranules
ChannelGetCacheWaitPolicy channelGetCacheWaitPolicy
ChannelRequestStatus channelRequestStatusGet
ChannelRequestStatus channelRequestStatusGetCtrl
ChannelRequestMetaDataClient channelRequestMetaDataClient
ChannelRequestMetaDataClient channelRequestMetaCtrlClient
CAFENUM::DBR_TYPE vectorDbrType
ChannelTimeoutPolicy channelTimeoutPolicySGGet
ChannelTimeoutPolicy channelTimeoutPolicySGPut

Detailed Description

Methods for synchronous and asynchronous interactions.


Constructor & Destructor Documentation

CAFE::CAFE (  )  [inline]

References CAFENUM::DBR_NONE, and vectorDbrType.


Member Function Documentation

int Connect::_ca_flush_io (  )  [inline, inherited]
int Connect::_ca_pend_event ( double  t  )  [inline, inherited]
int Connect::_ca_pend_io ( double  t  )  [inline, inherited]
int Connect::_ca_poll (  )  [inline, inherited]
bool Connect::allChannelsConnected (  )  [inline, inherited]

References cs, and Connect::itcs.

int Connect::attachContext ( ca_client_context *  ccc  )  [inline, inherited]

References ECAFE_NULLCONTEXT.

int Connect::attachContextByHandle ( unsigned int  handle  )  [inline, inherited]
int Connect::attachContextByPVName ( const char *  pvname  )  [inline, inherited]
void Connect::callbackHandlerAccessRights ( struct access_rights_handler_args  args  )  [static, protected, inherited]

Callback function for callbackHandlerAccessRights
Modifies Conduit object accordingly
Callback handler for the event of a change of R/W access rights
R3.14 documentation states that the callback handler is called

  • whenever CA connects the channel, immediately BEFORE the channel's connection handler is called
  • whenever CA disconnects the channel, immediately AFTER the channel's disconnect callback handler is called
  • once immediately after installation if the channel is connected
  • whenever the access rights of a connected channel changes
    Parameters:
    args output: access_rights_handler_args parameters

References cafeMutex, cs, long, and MUTEX.

Referenced by Connect::createChannel(), and Connect::createChannelWithinGroup().

void Connect::callbackHandlerException ( struct exception_handler_args  args  )  [static, protected, inherited]

Callback function for callbackHandlerException Modifies CAFEConduit object accordingly

Parameters:
args output: exception_handler_args parameters

References long, and PVNAME_SIZE.

Referenced by Connect::createChannel(), and Connect::createChannelWithinGroup().

int Connect::close (  )  [inline, inherited]
int Connect::close ( unsigned int  handle  )  [inherited]

Closes connection for channel within a ca_client_context and deletes corresponding handle
The handle must be within the same context.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event handlers for subscriptions (i.e. monitors).
The Conduit handle is erased.

Parameters:
handle input
Returns:
ECA_NORMAL if all OK

References cafeMutex, Connect::channelClosePolicy, cs, ECAFE_INVALID_HANDLE, ECAFE_NULLCONTEXT, ECAFE_WRONG_CA_CONTEXT, ChannelOpenPolicy::getTimeout(), ICAFE_NORMAL, Connect::itcs, MUTEX, and Connect::status.

int Connect::closeChannel ( unsigned int  handle  )  [inline, inherited]

References Connect::close().

int Connect::closeChannels ( ca_client_context *  cctLocal  )  [inherited]

Closes all channel connections within the given ca_client_context and removes the corresponding handles.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event subscriptions (for monitors).
Corresponding Conduit handles are erased.

Returns:
ECA_NORMAL if all OK; error if one or more channelIDs fail to close

References cafeMutex, Connect::channelClosePolicy, cs, ECAFE_NULLCONTEXT, ChannelOpenPolicy::getTimeout(), ICAFE_NORMAL, Connect::itcs, MUTEX, and Connect::status.

int Connect::closeChannels (  )  [inherited]

Closes all channel connections within a ca_client_context and removes the corresponding handles.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event subscriptions (for monitors).
Corresponding Conduit handles are erased.

Returns:
ECA_NORMAL if all OK; error if one or more channelIDs fail to close

References ECAFE_NULLCONTEXT.

Referenced by Connect::close(), Connect::closeChannels(), Connect::closeChannelsV(), Connect::contextDestroy(), and Connect::terminate().

int Connect::closeChannels ( vector< unsigned int v  )  [inline, inherited]
int Connect::closeChannels ( unsigned int handleArray,
unsigned int  nHandles 
) [inherited]

Closes connection for channel within a ca_client_context and deletes corresponding handle
The handle must be within the same context.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event handlers for subscriptions (i.e., monitors).
The Conduit handle is erased.

Parameters:
handleArray input: array of handles
nHandles input: size of array
Returns:
ECA_NORMAL if all OK else first encountered error

References cafeMutex, Connect::channelClosePolicy, cs, ECAFE_NULLCONTEXT, ChannelOpenPolicy::getTimeout(), ICAFE_NORMAL, MUTEX, and Connect::status.

int Connect::closeChannelsV ( vector< unsigned int v  )  [inline, inherited]
void CAFE::closeGroupXMLFile ( string  fileName  ) 

closeGroupXMLFile
Close file given by fileName for writing XML data

Parameters:
fileName input: filename to which PVGroup data is written
Returns:
ICAFE_NORMAL if OK else first ECAFE/ICAFE error encountered
int Connect::closeHandle ( unsigned int  handle  )  [inherited]

Closes channel connections (even if in other thread) and deletes handle.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event handlers for subscriptions (i.e. monitors).
The Conduit handle is erased.

Parameters:
handle input
Returns:
ECA_NORMAL if all OK

References cafeMutex, Connect::channelClosePolicy, cs, ECAFE_INVALID_HANDLE, ChannelOpenPolicy::getTimeout(), ICAFE_NORMAL, Connect::itcs, MUTEX, and Connect::status.

int Connect::closeHandles (  )  [inherited]

Closes all channel connections (even if in other threads) and deletes all handles.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event subscriptions (for monitors).
All Conduit handles are erased.

Returns:
ECA_NORMAL if all OK; error if one or more channelIDs fail to close

References cafeMutex, Connect::channelClosePolicy, cs, ChannelOpenPolicy::getTimeout(), Connect::itcs, MUTEX, and Connect::status.

Referenced by Connect::groupClose(), and Connect::terminate().

int Connect::closeHandles ( unsigned int handleArray,
unsigned int  nHandles 
) [inherited]

Closes given channel connections (even if in other threads) and deletes their handles.
Note that this does NOT cause the channel's disconnect handler to be called.
It does however invoke event subscriptions (for monitors).
All corresponding Conduit handles are erased.

Parameters:
handleArray input: unsigned int *
nHandles input: unsigned int
Returns:
ECA_NORMAL if all OK; error if one or more channelIDs fail to close

References cafeMutex, Connect::channelClosePolicy, cs, ChannelOpenPolicy::getTimeout(), ICAFE_NORMAL, Connect::itcs, MUTEX, and Connect::status.

int Connect::collectionDefine ( const char *  collectionName,
pv_string_t deviceList,
unsigned int  deviceListLength 
) [inherited]

Connect::collectionDefine: Add collection to global vector, deviceCollectionV.

Parameters:
collectionName input: define collection name
deviceList input: array of pv_string_t that comprises the collection of devices
deviceListLength input: size of deviceList array
Returns:
ICAFE_NORMAL

References deviceCollection::cMembers, deviceCollectionV, collectionMember::deviceName, ECAFE_COLLECTION_PREV_DEF, ICAFE_NORMAL, and deviceCollection::name.

int Connect::collectionDefine ( const char *  collectionName,
vector< const char * >  deviceListV 
) [inherited]

Connect::collectionDefine: Add collection to global vector, deviceCollectionV.

Parameters:
collectionName input: define collection name
deviceListV input: vector list of const char * that comprise the collection of devices
Returns:
ICAFE_NORMAL

References deviceCollection::cMembers, deviceCollectionV, collectionMember::deviceName, ECAFE_COLLECTION_PREV_DEF, ICAFE_NORMAL, and deviceCollection::name.

int Connect::collectionDefine ( const char *  collectionName,
vector< string >  deviceListV 
) [inherited]

Connect::collectionDefine: Add collection to global vector, deviceCollectionV.

Parameters:
collectionName input: define collection name
deviceListV input: vector list of strings that comprise the collection of devices
Returns:
ICAFE_NORMAL

References deviceCollection::cMembers, deviceCollectionV, collectionMember::deviceName, ECAFE_COLLECTION_PREV_DEF, ICAFE_NORMAL, and deviceCollection::name.

int Connect::collectionFetch ( const char *  collectionName,
deviceCollection dC 
) [inherited]

Connect::collectionFetch - retrieves Collection.

Parameters:
collectionName input: collection name
dC ouput: deviceCollection class
Returns:
ICAFE_NORMAL else ECAFE_UNKNOWN_COLLECTION

References deviceCollectionV, ECAFE_UNKNOWN_COLLECTION, Connect::helper, ICAFE_NORMAL, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::collectionFetch ( const char *  collectionName,
vector< const char * > &  deviceListV 
) [inherited]

Connect::collectionFetch - retrieves Collection.

Parameters:
collectionName input: collection name
deviceListV ouput: vector of const char * containing collection members
Returns:
ICAFE_NORMAL else ECAFE_UNKNOWN_COLLECTION, ECAFE_EMPTY_COLLECTION

References deviceCollectionV, ECAFE_EMPTY_COLLECTION, ECAFE_UNKNOWN_COLLECTION, Connect::helper, ICAFE_NORMAL, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::collectionFetch ( const char *  collectionName,
vector< string > &  deviceListV 
) [inherited]

Connect::collectionFetch - retrieves Collection.

Parameters:
collectionName input: collection name
deviceListV ouput: vector of strings containing collection members
Returns:
ICAFE_NORMAL else ECAFE_UNKNOWN_COLLECTION, ECAFE_EMPTY_COLLECTION

References deviceCollectionV, ECAFE_EMPTY_COLLECTION, ECAFE_UNKNOWN_COLLECTION, Connect::helper, ICAFE_NORMAL, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

Referenced by Connect::groupDefine().

int Connect::collectionList ( vector< string > &  clist  )  [inherited]

Connect::collectionList - lists all collections in global vector deviceCollectionV.

Parameters:
clist output: vector of collection names (string)
Returns:
ICAFE_NORMAL

References deviceCollectionV, and ICAFE_NORMAL.

int Connect::collectionList ( boost::shared_ptr< pv_string_t[]> &  clist,
unsigned int listLength 
) [inherited]

Connect::collectionList - lists all collection in global vector deviceCollectionV
.

Parameters:
clist output: array of collection names (pv_string_t)
listLength output: length of clist array
Returns:
ICAFE_NORMAL

References deviceCollectionV, and ICAFE_NORMAL.

int Connect::collectionMemberList ( const char *  collectionName,
vector< string > &  list 
) [inherited]

Connect::collectionMemberList - lists the members of the given collection.

Parameters:
collectionName input: name of collection
list output: vector of devices (string)
Returns:
ICAFE_NORMAL is all OK else, ECAFE_UNKNOWN_COLLECTION

References deviceCollectionV, ECAFE_UNKNOWN_COLLECTION, Connect::helper, ICAFE_NORMAL, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::collectionMemberList ( const char *  collectionName,
boost::shared_ptr< pv_string_t[]> &  list,
unsigned int listLength 
) [inherited]

Connect::collectionMemberList - lists the members of the given collection
.

Parameters:
collectionName input: name of Collection
list output: array of device names (pv_string_t)
listLength,: length of list array
Returns:
ICAFE_NORMAL is all OK else, ECAFE_UNKNOWN_COLLECTION

References deviceCollectionV, ECAFE_UNKNOWN_COLLECTION, Connect::helper, ICAFE_NORMAL, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::contextDestroy ( ca_client_context *  cctLocal  )  [protected, inherited]

Closes channels for the given channel access client context.
Shuts down the 'local' channel access client context and frees allocated resources
Note that in thread:stop, these two contexts are different!!
Not essential as resources are normally automatically released by the system.
This invokes the connection_handler callback function.

Returns:
ECA_NORMAL if all OK or ECAFE_NULLCONTEXT if ca client context does not exist

References Connect::closeChannels(), ECAFE_NULLCONTEXT, and ICAFE_NORMAL.

int Connect::contextDestroy (  )  [protected, inherited]

Shuts down a channel access client context and frees allocated resources Not essential as resources are normally automatically released by the system. This invokes the connection_handler callback function.

Returns:
ECA_NORMAL if all OK or ECAFE_NULLCONTEXT if ca client context does not exist

References Connect::closeChannels(), ECAFE_NULLCONTEXT, and ICAFE_NORMAL.

Referenced by Connect::terminate().

int Connect::createChannel ( unsigned int  handle,
const char *  pv,
chid &  pCh 
) [protected, inherited]
int Connect::createChannelWithinGroup ( unsigned int  _handle,
const char *  pv,
chid &  pCh 
) [protected, inherited]

Connect::createChannelWithinGroup (as for createChannel)

Establishes virtual circuit to epics process variable

Parameters:
_handle input
pv input: process variable
pCh output: channel identifier (chid)
Returns:
status ECA_NORMAL if all OK else ECA_BADTYPE, ECA_STRTOBIG, ECA_ALLOCMEM

References __METHOD__, ADD_EXCEPTION_EVENT, cafeMutex, Connect::cafeStatus, Connect::callbackHandlerAccessRights(), Connect::callbackHandlerException(), Connect::channelCreatePolicy, cs, ECAFE_INVALID_HANDLE, ChannelCreatePolicy::getHandler(), ChannelCreatePolicy::getPriority(), MUTEX, CAFEStatus::report(), and Connect::status.

int Connect::createHandle ( const char *  pv,
ca_client_context *  ccc,
unsigned int handle 
) throw (CAFEException_pv) [protected, inherited]

Connect::createHandle

Creates handle and calls createChannel to establish virtual circuit to epics process variable

Parameters:
pv input: process variable
ccc input: ca_client_context
handle input: handle
Exceptions:
CAFEException_pv if unable to create channel virtual circuit
Returns:
status ICAFE_NORMAL if all OK

Conduit cc = *(p.first);

_handle=cc.getHandle();

References __METHOD__, cafeMutex, Connect::close(), cs, ECAFE_HASH_UNIQUEID_EXISTS, ECAFE_NULLCHID, Conduit::handleNext, and MUTEX.

int Connect::createHandleWithinGroup ( const char *  pv,
ca_client_context *  ccc,
unsigned int _handle 
) throw (CAFEException_pv) [protected, inherited]

Connect::createHandleWithinGroup.

Parameters:
pv input: process variable
ccc input: ca_client_context
_handle input: handle
Returns:
status

References __METHOD__, cafeMutex, Connect::close(), cs, ECAFE_HASH_UNIQUEID_EXISTS, ECAFE_NULLCHID, Conduit::handleNext, ICAFE_NORMAL, and MUTEX.

MonitorPolicy* Connect::createMonitorPolicyArray ( const unsigned int  nmp  )  [inline, inherited]
unsigned short Connect::epicsVersion ( unsigned short &  major,
unsigned short &  minor,
unsigned short &  patch 
) [protected, inherited]

Connect::epicsVersion

Establishes virtual circuit to epics process variable

Parameters:
major input
minor input
patch input
Returns:
31412 for v3.14.12

References EPICS_MAJOR, EPICS_MINOR, and EPICS_PATCH.

int Connect::fetchIndexOfCollectionMember ( const char *  collectionName,
const char *  deviceName 
) [inherited]

Connect::fetchIndexOfCollectionMember.

Parameters:
collectionName input: collection name
deviceName input: (const char *) device name
Returns:
index of device in collection; else -1 if error

References deviceCollectionV, Connect::helper, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::fetchIndexOfGroupMember ( const char *  groupName,
const char *  pv 
) [inherited]

Connect::fetchIndexOfGroupMember.

Parameters:
groupName input: group name
pv input: (const char *) process variable
Returns:
index of pvdata for pv within group; else -1 if error

References Connect::helper, PVGroupV, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

vector<string> Connect::generateChannelList ( vector< string >  inputStringV  )  [inline, inherited]
int CAFE::get ( const char *  pv,
dbr_double_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get double (DBR_DOUBLE)

Parameters:
pv input: pv name
_val output: dbr_double_t (double)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_double_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get double (DBR_DOUBLE)

Parameters:
pv input: pv name
_val output: dbr_double_t (double)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_double_t &  _val 
)

Get double (DBR_DOUBLE)

Parameters:
pv input: pv name
_val output: dbr_double_t (double)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get long long

Parameters:
pv input: pv name
_val output:long long
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get long long

Parameters:
pv input: pv name
_val output:long long
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
long long _val 
)

Get long long

Parameters:
pv input: pv name
_val output:long long
Returns:
ECA_NORMAL if all OK else ECAFE error

References get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_long_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get int (DBR_LONG)

Parameters:
pv input: pv name
_val output:long
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_long_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get int (DBR_LONG)

Parameters:
pv input: pv name
_val output:long
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_long_t &  _val 
)

Get int (DBR_LONG)

Parameters:
pv input: pv name
_val output:long
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_char_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_char_t (DBR_CHAR)

Parameters:
pv input: pv name
_val output:unsigned char (dbr_char_t)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_char_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_char_t (DBR_CHAR)

Parameters:
pv input: pv name
_val output:unsigned char (dbr_char_t)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_char_t &  _val 
)

Get dbr_char_t (DBR_CHAR)

Parameters:
pv input: pv name
_val output: unsigned char (dbr_char_t)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_enum_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get enum (DBR_ENUM)

Parameters:
pv input: pv name
_val output:dbr_enum_t (unsigned short)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_enum_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get enum (DBR_ENUM)

Parameters:
pv input: pv name
_val output: dbr_enum_t (unsigned short)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_enum_t &  _val 
)

Get enum (DBR_ENUM)

Parameters:
pv input: pv name
_val output: dbr_enum_t (unsigned short)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_float_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get float (DBR_FLOAT)

Parameters:
pv input: pv name
_val output:float
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_float_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get float (DBR_FLOAT)

Parameters:
pv input: pv name
_val output:float
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_float_t &  _val 
)

Get float (DBR_FLOAT)

Parameters:
pv input: pv name
_val output:float
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_short_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get short (DBR_SHORT)

Parameters:
pv input: pv name
_val output: hort
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_short_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get short (DBR_SHORT)

Parameters:
pv input: pv name
_val output: 2hort
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_short_t &  _val 
)

Get short (DBR_SHORT)

Parameters:
pv input: pv name
_val output: short
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_string_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get string (DBR_TIME_STRING)

Parameters:
pv input: pv name
_val output: string
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_string_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get string (DBR_STS_STRING)

Parameters:
pv input: pv name
_val output: string
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_string_t &  _val 
)

Get string (DBR_STRING)

Parameters:
pv input: pv name
_val output: string
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get string

Parameters:
pv input: pv name
valStr output: string
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get string

Parameters:
pv input: pv name
valStr output: string
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
string &  valStr 
)

Get string

Parameters:
pv input: pv name
valStr output: string
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_double_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get double(s), alarms and timeStamp (DBR_TIME_DOUBLE)

Parameters:
pv input: pv name
val output: array of doubles (dbr_double_t)
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_double_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get double(s) and alarms (DBR_STS_DOUBLE)

Parameters:
pv input: pv name
val output: array of enums (dbr_double_t)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_double_t *  val 
)

Get double(s) (DBR_DOUBLE)

Parameters:
pv input: pv name
val output: array of doubles (dbr_double_t)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
long long val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get long long(s) (DBR_TIME_*)

Parameters:
pv input: pv name
val output: array of long long
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
long long val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get long long(s) (DBR_STS_*)

Parameters:
pv input: pv name
val output: array of long long
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
long long val 
)

Get long(s) (DBR_LONG)

Parameters:
pv input: pv name
val output: array of long long
Returns:
ECA_NORMAL if all OK else ECAFE error

References get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_long_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get long(s), alarms and timeStamp (DBR_TIME_LONG)

Parameters:
pv input: pv name
val output: array of longs (dbr_long_t)
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_long_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get long(s) and alarms (DBR_STS_LONG)

Parameters:
pv input: pv name
val output: array of longs (dbr_long_t)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_long_t *  val 
)

Get long(s) (DBR_LONG)

Parameters:
pv input: pv name
val output: array of dbr_long_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_char_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get unsigned char(s), alarms and timeStamp (DBR_TIME_CHAR)

Parameters:
pv input: pv name
val output: array of unsigned char (dbr_char_t)
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_char_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get unsigned char(s) and alarms (DBR_STS_CHAR)

Parameters:
pv input: pv name
val output: array of unsigned char (dbr_char_t)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_char_t *  val 
)

Get unsigned char(s) (DBR_CHAR)

Parameters:
pv input: pv name
val output: array of unsigned char (dbr_char_t)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_enum_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get enum(s), alarms and timeStamp (DBR_TIME_ENUM)

Parameters:
pv input: pv name
val output: array of enums (dbr_enum_t i.e. unsigned short)
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_enum_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get enum(s) and alarms (DBR_STS_ENUM)

Parameters:
pv input: pv name
val output: array of enums (dbr_enum_t i.e. unsigned short)
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_enum_t *  val 
)

Get enum(s) (DBR_ENUM)

Parameters:
pv input: pv name
val output: array of enums (dbr_enum_t i.e. unsigned short)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_float_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get float(s), alarms and timeStamp (DBR_TIME_FLOAT)

Parameters:
pv input: pv name
val output: array of floats
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_float_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get float(s) and alarms (DBR_STS_FLOAT)

Parameters:
pv input: pv name
val output: array of floats
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_float_t *  val 
)

Get float(s) (DBR_FLOAT)

Parameters:
pv input: pv name
val output: array of floats
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_short_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get short(s), alarms and timeStamp (DBR_TIME_SHORT)

Parameters:
pv input: pv name
val output: array of shorts
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_short_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get short(s) and alarms (DBR_STS_SHORT)

Parameters:
pv input: pv name
val output: array of shorts
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_short_t *  val 
)

Get short(s) (DBR_SHORT)

Parameters:
pv input: pv name
val output: array of shorts
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_string_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get string(s), alarms and timeStamp (DBR_TIME_STRING)

Parameters:
pv input: pv name
val output: array of strings
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_string_t *  val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get string(s) and alarms (DBR_STS_STRING)

Parameters:
pv input: pv name
val output: array of strings
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
dbr_string_t *  val 
)

Get string(s) (DBR_STRING )

Parameters:
pv input: pv name
val output: array of strings
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
string *  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get string(s), alarms and timeStamp

Parameters:
pv input: pv name
valStr output: array of strings
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), HandleHelper::getNelemClient(), HandleHelper::getNelemRequest(), Connect::handleHelper, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
string *  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get string(s) and alarms

Parameters:
pv input: pv name
valStr output: array of strings
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), HandleHelper::getNelemClient(), HandleHelper::getNelemRequest(), Connect::handleHelper, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv,
string *  valStr 
)

Get string(s) (DBR_STRING )

Parameters:
pv input: pv name
valStr output: array of strings
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::get(), HandleHelper::getNelemClient(), HandleHelper::getNelemRequest(), Connect::handleHelper, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const unsigned int  handle,
dbr_double_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_double_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_double_t &  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
long long _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_long_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_long_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_long_t &  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_char_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_char_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_char_t &  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_enum_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_enum_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_enum_t &  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_float_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_float_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_float_t &  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_short_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_short_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_short_t &  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_string_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_string_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_string_t &  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
string &  valStr 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_double_t *  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_double_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_double_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
long long _val 
)
int CAFE::get ( const unsigned int  handle,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get long long(s) and alarms

Parameters:
handle input: handle to conduit object
_val output: array of long longs
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References __METHOD__, cafeDoppio, cafeFrappuccino, cafeLatte, cafeSoluble, Instant< CTYPE >::get(), ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), HandleHelper::getNelemNative(), HandleHelper::getNelemRequest(), Connect::handleHelper, ICAFE_CS_NEVER_CONN, ICAFE_NORMAL, and long.

int CAFE::get ( const unsigned int  handle,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get long long(s), alarms and timeStamp

Parameters:
handle input: handle to conduit object
_val output: array of long longs
alarmStatus output: alarm status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References __METHOD__, cafeDoppio, cafeFrappuccino, cafeLatte, cafeSoluble, Instant< CTYPE >::get(), ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), HandleHelper::getNelemNative(), HandleHelper::getNelemRequest(), Connect::handleHelper, ICAFE_CS_NEVER_CONN, ICAFE_NORMAL, long, and Connect::status.

int CAFE::get ( const unsigned int  handle,
dbr_long_t *  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_long_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_long_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_char_t *  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_char_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_char_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_ushort_t *  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_ushort_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_ushort_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_float_t *  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_float_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_float_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_short_t *  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_short_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_short_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_string_t *  _val 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_string_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
dbr_string_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const unsigned int  handle,
string *  valStr 
) [inline]
int CAFE::get ( const unsigned int  handle,
string *  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::get ( const unsigned int  handle,
string *  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::get ( const char *  pv,
PVDataHolder pvd 
)

Retrieves PV data packaged into the PVDataHolder class

Parameters:
pv input: pv name
pvd output: PVDataHolder
Returns:
ECA_NORMAL if all OK else ECAFE error

References get(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::get ( const char *  pv  ) 
int CAFE::get ( const unsigned int handleArray,
unsigned int  nelem,
PVDataHolder pvdArray 
)
int CAFE::get ( const unsigned int  handle,
PVDataHolder pvd 
)
int CAFE::get ( const unsigned int handleArray,
unsigned int  nHandles,
vector< int > &  statusV 
)

get for vector of handles

Parameters:
handleArray input: array of handles
nHandles input: size of array
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL if all OK else the first ECAFE error encountered

References HandleHelper::getNmonitorData(), Connect::handleHelper, and ICAFE_NORMAL.

int CAFE::get ( const unsigned int handleArray,
unsigned int  nelem,
int statusArray 
)

Sends ca_get messages to IOC and waits until the end before flushing.
To be followed by a getCache method

Parameters:
handleArray input: Array of handles to conduit object
nelem input: Size of array
statusArray output: Status array reporting from each get(handle)
Returns:
overallStatus ICAFE_NORMAL if all OK else the first ECAFE error encountered

References HandleHelper::getNmonitorData(), Connect::handleHelper, and ICAFE_NORMAL.

int CAFE::get ( const unsigned int  handle  ) 

Sends ca_get message to IOC and returns without waiting, i.e. non-blocking
To be followed by a getCache method

Parameters:
handle input: handle to conduit object
Returns:
ICAFE_NORMAL if all OK else ICAFE_WAITING_FOR_PREV_CALLBACK or other;

References __METHOD__, cafeGranules, cafeMutex, Connect::cafeStatus, Granules::channelExecuteGetNoWait(), Granules::channelPrepareGet(), Granules::channelVerifyGet(), cs, ECAFE_INVALID_HANDLE, ICAFE_NORMAL, ICAFE_WAITING_FOR_PREV_CALLBACK, MUTEX, CAFEStatus::report(), and Connect::status.

int CAFE::get ( vector< unsigned int handleV,
vector< int > &  statusV 
)

get for vector of handles

Parameters:
handleV input: vector of handles
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References HandleHelper::getNmonitorData(), Connect::handleHelper, and ICAFE_NORMAL.

int CAFE::get ( const unsigned int  _handle,
vector< double > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of doubles

Parameters:
_handle input: handle
V output: vector of doubles
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeDoppio, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::get(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< long long > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of longs

Parameters:
_handle input: handle
V output: vector of longs
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References __METHOD__, cafeDoppio, cafeFrappuccino, cafeLatte, cafeSoluble, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::get(), ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), ICAFE_CS_NEVER_CONN, ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< dbr_long_t > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of dbr_long_t

Parameters:
_handle input: handle
V output: vector of longs
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeLatte, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::get(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< unsigned char > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of unsigned char

Parameters:
_handle input: handle
V output: vector of unsigned char
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeCappuccino, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::get(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< unsigned short > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of unsigned shorts (enums)

Parameters:
_handle input: handle
V output: vector of unsigned shorts (enum)
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeEspresso, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::get(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< float > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of floats

Parameters:
_handle input: handle
V output: vector of floats
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeFrappuccino, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::get(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< short > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of shorts

Parameters:
_handle input: handle
V output: vector of shorts
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeSchale, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::get(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< string > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of strings

Parameters:
_handle input: handle
V output: vector of strings
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeSoluble, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::get(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< double > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get vector of dbr_double_t (double)

Parameters:
_handle input: handle
V output: vector of doubles
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_STS, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< long long > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get vector of longs

Parameters:
_handle input: handle
V output: vector of longs
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_STS, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< dbr_long_t > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get vector of dbr_long_t (long)

Parameters:
_handle input: handle
V output: vector of longs
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_STS, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< unsigned char > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get vector of unsigned dbr_char_t (unsigned char)

Parameters:
_handle input: handle
V output: vector of unsigned char
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_STS, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< unsigned short > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get vector of dbr_enum_t (unsigned short)

Parameters:
_handle input: handle
V output: vector of unsigned shorts
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_STS, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< float > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get vector of dbr_float_t (float)

Parameters:
_handle input: handle
V output: vector of floats
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_STS, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< short > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get vector of dbr_short_t (short)

Parameters:
_handle input: handle
V output: vector of shorts
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_STS, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< string > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get vector of strings

Parameters:
_handle input: handle
V output: vector of strings
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_STS, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< double > &  V 
)

get vector of dbr_double_t (double)

Parameters:
_handle input: handle
V output: vector of doubles
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_PRIMITIVE, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< long long > &  V 
)

get vector of long

Parameters:
_handle input: handle
V output: vector of longs
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_PRIMITIVE, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< dbr_long_t > &  V 
)

get vector of dbr_long_t (long)

Parameters:
_handle input: handle
V output: vector of longs
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_PRIMITIVE, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< unsigned char > &  V 
)

get vector of dbr_char_t (unsigned char)

Parameters:
_handle input: handle
V output: vector of unsigned char
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_PRIMITIVE, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< unsigned short > &  V 
)

get vector of dbr_enum_t (unsigned short)

Parameters:
_handle input: handle
V output: vector of unsigned short
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_PRIMITIVE, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< float > &  V 
)

get vector of dbr_float_t (float)

Parameters:
_handle input: handle
V output: vector of floats
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_PRIMITIVE, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< short > &  V 
)

get vector of dbr_short_t (short)

Parameters:
_handle input: handle
V output: vector of shorts
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_PRIMITIVE, and vectorDbrType.

int CAFE::get ( const unsigned int  _handle,
vector< string > &  V 
)

get vector of string

Parameters:
_handle input: handle
V output: vector of string
Returns:
ICAFE_NORMAL if all OK

References CAFENUM::DBR_PRIMITIVE, and vectorDbrType.

Referenced by get(), getScalars(), and main().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_double_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV,
vector< epicsTimeStamp > &  tsV 
)

get cached vector of dbr_double_t (double)

Parameters:
handleV input: vector of handles
V output: vector of dbr_double_t (double)
statusV output: vector of longs
alarmStatusV output: vector of alarm status
alarmSeverityV output: vecor of alarm severity
tsV output: vector of EpicsTimeStamp
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References getCache(), and ICAFE_NORMAL.

int CAFE::getCache ( vector< unsigned int handleV,
vector< long long > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV,
vector< epicsTimeStamp > &  tsV 
)

get cached vector of dbr_char_t (unsigned char)

Parameters:
handleV input: vector of handles
V output: vector of dbr_char_t (unsigned char)
statusV output: vector of longs
alarmStatusV output: vector of alarm status
alarmSeverityV output: vecor of alarm severity
tsV output: vector of EpicsTimeStamp
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References getCache(), and ICAFE_NORMAL.

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_long_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV,
vector< epicsTimeStamp > &  tsV 
)

get cached vector of dbr_char_t (unsigned char)

Parameters:
handleV input: vector of handles
V output: vector of dbr_char_t (unsigned char)
statusV output: vector of longs
alarmStatusV output: vector of alarm status
alarmSeverityV output: vecor of alarm severity
tsV output: vector of EpicsTimeStamp
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References getCache(), and ICAFE_NORMAL.

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_char_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV,
vector< epicsTimeStamp > &  tsV 
)

get cached vector of dbr_char_t (unsigned char)

Parameters:
handleV input: vector of handles
V output: vector of dbr_char_t (unsigned char)
statusV output: vector of longs
alarmStatusV output: vector of alarm status
alarmSeverityV output: vecor of alarm severity
tsV output: vector of EpicsTimeStamp
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References getCache(), and ICAFE_NORMAL.

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_enum_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV,
vector< epicsTimeStamp > &  tsV 
)

get cached vector of enums (ushorts)

Parameters:
handleV input: vector of handles
V output: vector of enums (ushorts)
statusV output: vector of longs
alarmStatusV output: vector of alarm status
alarmSeverityV output: vecor of alarm severity
tsV output: vector of EpicsTimeStamp
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References getCache(), and ICAFE_NORMAL.

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_float_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV,
vector< epicsTimeStamp > &  tsV 
)

get cached vector of floats

Parameters:
handleV input: vector of handles
V output: vector of floats
statusV output: vector of longs
alarmStatusV output: vector of alarm status
alarmSeverityV output: vecor of alarm severity
tsV output: vector of EpicsTimeStamp
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References getCache(), and ICAFE_NORMAL.

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_short_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV,
vector< epicsTimeStamp > &  tsV 
)

get cached vector of shorts

Parameters:
handleV input: vector of handles
V output: vector of shorts
statusV output: vector of longs
alarmStatusV output: vector of alarm status
alarmSeverityV output: vecor of alarm severity
tsV output: vector of EpicsTimeStamp
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References getCache(), and ICAFE_NORMAL.

int CAFE::getCache ( vector< unsigned int handleV,
vector< string > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV,
vector< epicsTimeStamp > &  tsV 
)

get cached vector of strings

Parameters:
handleV input: vector of handles
V output: vector of strings
statusV output: vector of longs
alarmStatusV output: vector of alarm status
alarmSeverityV output: vecor of alarm severity
tsV output: vector of EpicsTimeStamp
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References getCache(), and ICAFE_NORMAL.

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_double_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< long long > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_long_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_char_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_enum_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_float_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_short_t > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< string > &  V,
vector< int > &  statusV,
vector< dbr_short_t > &  alarmStatusV,
vector< dbr_short_t > &  alarmSeverityV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_double_t > &  V,
vector< int > &  statusV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< long long > &  V,
vector< int > &  statusV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_long_t > &  V,
vector< int > &  statusV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_char_t > &  V,
vector< int > &  statusV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_enum_t > &  V,
vector< int > &  statusV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_float_t > &  V,
vector< int > &  statusV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< dbr_short_t > &  V,
vector< int > &  statusV 
)

References getCache().

int CAFE::getCache ( vector< unsigned int handleV,
vector< string > &  V,
vector< int > &  statusV 
)

References getCache().

int CAFE::getCache ( const unsigned int  _handle,
vector< double > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get cached vector of doubles, alarm status/severity and epicsTimeStamp

Parameters:
_handle input: handle
V output: vector of doubles
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeDoppio, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::getCache(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< long long > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of long lonsg, alarm status/severity and epicsTimeStamp

Parameters:
_handle input: handle
V output: vector of long longs
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References __METHOD__, cafeDoppio, cafeFrappuccino, cafeLatte, cafeSoluble, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::getCache(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< dbr_long_t > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of cached dbr_long_t, alarm status/severity and epicsTimeStamp

Parameters:
_handle input: handle
V output: vector of dbr_long_t
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeLatte, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::getCache(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< unsigned char > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get vector of cached unsigned char, alarm status/severity and epicsTimeStamp

Parameters:
_handle input: handle
V output: vector of unsigned char
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeCappuccino, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::getCache(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< unsigned short > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get cached vector of unsigned shorts (enums), alarm status/severity and epicsTimeStamp

Parameters:
_handle input: handle
V output: vector of unsigned shorts (enum)
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeEspresso, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::getCache(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< float > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get cached vector of floats, alarm status/severity and epicsTimeStamp

Parameters:
_handle input: handle
V output: vector of floats
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeFrappuccino, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::getCache(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< short > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get cached vector of shorts, alarm status/severity and epicsTimeStamp

Parameters:
_handle input: handle
V output: vector of shorts
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeSchale, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::getCache(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< string > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

get cached vector of strings, alarm status/severity and epicsTimeStamp

Parameters:
_handle input: handle
V output: vector of strings
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
ts output: epicsTimeStamp ts.secPastEpoch, ts.nsec
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeSoluble, Connect::cafeStatus, cs, CAFENUM::DBR_NONE, CAFENUM::DBR_PRIMITIVE, CAFENUM::DBR_STS, CAFENUM::DBR_TIME, ECAFE_INVALID_HANDLE, Instant< CTYPE >::getCache(), ICAFE_NORMAL, CAFEStatus::report(), Connect::status, and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< double > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get cached vector of doubles, alarmStatus, alarmSeverity

Parameters:
_handle input: handle
V output: vector of doubles
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_STS, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< long long > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get cached vector of long long, alarmStatus, alarmSeverity

Parameters:
_handle input: handle
V output: vector of long long
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_STS, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< dbr_long_t > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get cached vector of dbr_long_t, alarmStatus, alarmSeverity

Parameters:
_handle input: handle
V output: vector of dbr_long_t
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_STS, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< unsigned char > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get cached vector of unsigned char alarmStatus, alarmSeverity

Parameters:
_handle input: handle
V output: vector of dbr_long_t
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_STS, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< unsigned short > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get cached vector of unsigned short, alarmStatus, alarmSeverity

Parameters:
_handle input: handle
V output: vector of dbr_long_t
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_STS, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< float > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get cached vector of float, alarmStatus, alarmSeverity

Parameters:
_handle input: handle
V output: vector of dbr_long_t
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_STS, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< short > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get cached vector of short, alarmStatus, alarmSeverity

Parameters:
_handle input: handle
V output: vector of short
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_STS, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< string > &  V,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

get cached vector of string, alarmStatus, alarmSeverity

Parameters:
_handle input: handle
V output: vector of string
alarmStatus output: NO_ALARM, READ, WRITE, HIHI, HIGH, READ_ACCESS,
LOLO, LOW, STATE, COS, COMM, WRITE_ACCESS, TIMEOUT, HWLIMIT, CALC,
SCAN, LINK, SOFT, BAD_SUB, UDF, DISABLE, SIMM
alarmSeverity output: NO_ALARM, MINOR, MAJOR, INVALID
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_STS, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< double > &  V 
)

get cached vector of doubles

Parameters:
_handle input: handle
V output: vector of doubles
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_PRIMITIVE, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< long long > &  V 
)

get cached vector of long long

Parameters:
_handle input: handle
V output: vector of long long
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_PRIMITIVE, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< dbr_long_t > &  V 
)

get cached vector of dbr_long_t

Parameters:
_handle input: handle
V output: vector of dbr_long_t
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_PRIMITIVE, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< unsigned char > &  V 
)

get cached vector of unsigned char

Parameters:
_handle input: handle
V output: vector of unsigned char
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_PRIMITIVE, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< unsigned short > &  V 
)

get cached vector of unsigned short

Parameters:
_handle input: handle
V output: vector of unsigned short
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_PRIMITIVE, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< float > &  V 
)

get cached vector of float

Parameters:
_handle input: handle
V output: vector of float
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_PRIMITIVE, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< short > &  V 
)

get cached vector of short

Parameters:
_handle input: handle
V output: vector of short
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_PRIMITIVE, getCache(), and vectorDbrType.

int CAFE::getCache ( const unsigned int  _handle,
vector< string > &  V 
)

get cached vector of string

Parameters:
_handle input: handle
V output: vector of string
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References CAFENUM::DBR_PRIMITIVE, getCache(), and vectorDbrType.

int CAFE::getCache ( const char *  pv,
string *  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
string *  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
string *  valStr 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_string_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_string_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_string_t *  _val 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_short_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_short_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_short_t *  _val 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_float_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_float_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_float_t *  _val 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_enum_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_enum_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_enum_t *  _val 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_char_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_char_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_char_t *  _val 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_long_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_long_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_long_t *  _val 
) [inline]
int CAFE::getCache ( const char *  pv,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
long long _val 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_double_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_double_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_double_t *  _val 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_double_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get double from Cache (DBR_TIME_DOUBLE).

Parameters:
pv input: pv name
_val output: double
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_double_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get double from Cache (DBR_STS_DOUBLE).

Parameters:
pv input: pv name
_val output: double
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_double_t &  _val 
)

Get double from Cache (DBR_DOUBLE).

Parameters:
pv input: pv name
_val output: double
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
long long val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]

References ECAFE_INVALID_HANDLE.

int CAFE::getCache ( const char *  pv,
long long val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const char *  pv,
long long val 
) [inline]
int CAFE::getCache ( const char *  pv,
dbr_long_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_long_t from Cache (DBR_TIME_LONG).

Parameters:
pv input: pv name
_val output: double
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_long_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_long_t from Cache (DBR_STS_LONG).

Parameters:
pv input: pv name
_val output: dbr_long_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_long_t &  _val 
)

Get dbr_long_t from Cache (DBR_LONG).

Parameters:
pv input: pv name
_val output: dbr_long_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_char_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_char_t from Cache (DBR_TIME_CHAR).

Parameters:
pv input: pv name
_val output: dbr_char_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_char_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_char_t from Cache (DBR_STS_CHAR).

Parameters:
pv input: pv name
_val output: dbr_char_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_char_t &  _val 
)

Get dbr_char_t from Cache (DBR_CHAR).

Parameters:
pv input: pv name
_val output: dbr_char_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_enum_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_enum_t from Cache (DBR_TIME_ENUM).

Parameters:
pv input: pv name
_val output: dbr_enum_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_enum_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_enum_t from Cache (DBR_STS_ENUM).

Parameters:
pv input: pv name
_val output: dbr_enum_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_enum_t &  _val 
)

Get dbr_enum_t from Cache (DBR_ENUM).

Parameters:
pv input: pv name
_val output: dbr_enum_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_float_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get float from Cache (DBR_TIME_FLOAT).

Parameters:
pv input: pv name
_val output: float
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_float_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get float from Cache (DBR_STS_FLOAT).

Parameters:
pv input: pv name
_val output: float
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_float_t &  _val 
)

Get float from Cache (DBR_FLOAT).

Parameters:
pv input: pv name
_val output: float
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_short_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get short from Cache (DBR_TIME_SHORT).

Parameters:
pv input: pv name
_val output: short
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_short_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get short from Cache (DBR_STS_SHORT).

Parameters:
pv input: pv name
_val output: double
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_short_t &  _val 
)

Get short from Cache (DBR_SHORT).

Parameters:
pv input: pv name
_val output: short
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_string_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_string_t from Cache (DBR_TIME_STRING).

Parameters:
pv input: pv name
_val output: dbr_string_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_string_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_string_t from Cache (DBR_STS_STRING).

Parameters:
pv input: pv name
_val output: dbr_string_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
dbr_string_t &  _val 
)

Get dbr_string_t from Cache (DBR_STRING).

Parameters:
pv input: pv name
_val output: dbr_string
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get string from Cache.

Parameters:
pv input: pv name
valStr output: string
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get string from Cache.

Parameters:
pv input: pv name
valStr output: string
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const char *  pv,
string &  valStr 
)

Get string from Cache.

Parameters:
pv input: pv name
valStr output: string
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), HandleHelper::getHandleFromPV(), Connect::getHandleHelper(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_double_t *  val,
int statusArray 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_double_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_double_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
) [inline]

References ECAFE_INVALID_HANDLE.

int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
long long val,
int statusArray 
)

Retrieves data (long long) from cache.

Parameters:
handleArray input: Array of handles to Conduit object
nelem input: No of array elements
val output: Array of long longs containing cached data
statusArray output: Array of status'
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References getCache(), and Connect::status.

int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
long long val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
)

Retrieves data (long long) from cache.

Parameters:
handleArray input: Array of handles to Conduit object
nelem input: No. of array elements
val output: Array of long longs containing cached data
statusArray output: Array of status'
alarmStatus output: Alarm Status
alarmSeverity output: Corresponding severity of alarm
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
long long val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
)

Retrieves data (long long) from cache.

Parameters:
handleArray input: Array of handles to Conduit object
nelem input: No. of array elements
val output: Array of long longs containing cached data
statusArray output: Array of status'
alarmStatus output: Alarm Status
alarmSeverity output: Corresponding severity of alarm
ts output: epics timestamp struct
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References __METHOD__, CAFE_NO_ACCESS, cafeDoppio, cafeFrappuccino, cafeLatte, cafeSoluble, ECAFE_NO_CONVERT, Instant< CTYPE >::getCache(), ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), ICAFE_CS_NEVER_CONN, ICAFE_NORMAL, long, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_long_t *  val,
int statusArray 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_long_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
) [inline]
int CAFE::getCache ( unsigned int handleArray,
unsigned int  nelem,
dbr_long_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_char_t *  val,
int statusArray 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_char_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_char_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_ushort_t *  val,
int statusArray 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_ushort_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_ushort_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_float_t *  val,
int statusArray 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_float_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_float_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_short_t *  val,
int statusArray 
) [inline]

References ECAFE_INVALID_HANDLE.

int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_short_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_short_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_string_t *  val,
int statusArray 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_string_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
dbr_string_t *  val,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
string *  valStr,
int statusArray 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
string *  valStr,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
string *  valStr,
int statusArray,
dbr_short_t *  alarmStatus,
dbr_short_t *  alarmSeverity,
epicsTimeStamp *  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_double_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get double from Cache (DBR_TIME_DOUBLE).

Parameters:
handle input: const unsigned int
_val output: double
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_double_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get double from Cache (DBR_STS_DOUBLE).

Parameters:
handle input: const unsigned int
_val output: double
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_double_t &  _val 
)

Get double from Cache (DBR_DOUBLE).

Parameters:
handle input: const unsigned int
_val output: double
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
long long val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get long long from Cache.

Parameters:
handle input: const unsigned int
val output: long long
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References getCache(), setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
long long val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get long long from Cache.

Parameters:
handle input: const unsigned int
val output: long long
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References getCache(), setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
long long val 
)

Get long long from Cache (long long).

Parameters:
handle input: const unsigned int
val output: long long
Returns:
ECA_NORMAL if all OK else ECAFE error

References getCache(), setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_long_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_long_t from Cache (DBR_TIME_LONG).

Parameters:
handle input: const unsigned int
_val output: dbr_long_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_long_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_long_t from Cache (DBR_STS_LONG).

Parameters:
handle input: const unsigned int
_val output: dbr_long_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_long_t &  _val 
)

Get dbr_long_t from Cache (DBR_LONG).

Parameters:
handle input: const unsigned int
_val output: dbr_long_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_char_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_char_t from Cache (DBR_TIME_CHAR).

Parameters:
handle input: const unsigned int
_val output: dbr_char_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_char_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_char_t from Cache (DBR_STS_CHAR).

Parameters:
handle input: const unsigned int
_val output: dbr_char_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_char_t &  _val 
)

Get dbr_char_t from Cache (DBR_CHAR).

Parameters:
handle input: const unsigned int
_val output: dbr_char_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_enum_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_enum_t from Cache (DBR_TIME_ENUM).

Parameters:
handle input: const unsigned int
_val output: dbr_enum_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_enum_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_enum_t from Cache (DBR_STS_ENUM).

Parameters:
handle input: const unsigned int
_val output: dbr_enum_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_enum_t &  _val 
)

Get dbr_enum_t from Cache (DBR_ENUM).

Parameters:
handle input: const unsigned int
_val output: dbr_enum_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_float_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get float from Cache (DBR_TIME_FLOAT).

Parameters:
handle input: const unsigned int
_val output: float
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_float_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get float from Cache (DBR_STS_FLOAT).

Parameters:
handle input: const unsigned int
_val output: float
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_float_t &  _val 
)

Get float from Cache (DBR_FLOAT).

Parameters:
handle input: const unsigned int
_val output: float
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_short_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get short from Cache (DBR_TIME_SHORT).

Parameters:
handle input: const unsigned int
_val output: short
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_short_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get short from Cache (DBR_STS_SHORT).

Parameters:
handle input: const unsigned int
_val output: double
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_short_t &  _val 
)

Get short from Cache (DBR_SHORT).

Parameters:
handle input: const unsigned int
_val output: short
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_string_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Get dbr_string_t from Cache (DBR_TIME_STRING).

Parameters:
handle input: const unsigned int
_val output: dbr_string_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
ts output: epicsTimeStamp
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_string_t &  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Get dbr_string_t from Cache (DBR_STS_STRING).

Parameters:
handle input: handle
_val output: dbr_string_t
alarmStatus output: alarm Status
alarmSeverity output: alarm Severity
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
dbr_string_t &  _val 
)

Get dbr_string_t from Cache (DBR_STRING).

Parameters:
handle input: handle
_val output: dbr_string
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, Instant< CTYPE >::getCache(), ICAFE_NORMAL, setNelemToRetrieveFromCacheToOne(), setNelemToRetrieveFromCacheToPrevious(), and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]

References ECAFE_INVALID_HANDLE.

int CAFE::getCache ( const unsigned int  handle,
string &  valStr 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
string *  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
string *  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
string *  valStr 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_string_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]

References setNelemToOne().

int CAFE::getCache ( const unsigned int  handle,
dbr_string_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_string_t *  _val 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_short_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_short_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_short_t *  _val 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_float_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_float_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_float_t *  _val 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_enum_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_enum_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_enum_t *  _val 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_char_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_char_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_char_t *  _val 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_long_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_long_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_long_t *  _val 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
)

Retrieves data (long long) from cache.

Parameters:
handle input: Handle Conduit object
_val output: Array of long longs containing cached data
alarmStatus output: Alarm Status
alarmSeverity output: Corresponding severity of alarm
ts output: epics timestamp struct
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References __METHOD__, cafeDoppio, cafeFrappuccino, cafeLatte, cafeSoluble, Instant< CTYPE >::getCache(), ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), HandleHelper::getNelemRequest(), Connect::handleHelper, ICAFE_CS_NEVER_CONN, ICAFE_NORMAL, and long.

int CAFE::getCache ( const unsigned int  handle,
long long _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
)

Retrieves data (long long) from cache.

Parameters:
handle input: Handle Conduit object
_val output: Array of long longs containing cached data
alarmStatus output: Alarm Status
alarmSeverity output: Corresponding severity of alarm
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References __METHOD__, cafeDoppio, cafeFrappuccino, cafeLatte, cafeSoluble, Instant< CTYPE >::getCache(), ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), HandleHelper::getNelemRequest(), Connect::handleHelper, ICAFE_CS_NEVER_CONN, ICAFE_NORMAL, and long.

int CAFE::getCache ( const unsigned int  handle,
long long _val 
)

Retrieves data (long long) from cache.

Parameters:
handle input: Handle Conduit object
_val output: Array of long longs containing cached data
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References __METHOD__, cafeDoppio, cafeFrappuccino, cafeLatte, cafeSoluble, Instant< CTYPE >::getCache(), ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), HandleHelper::getNelemRequest(), Connect::handleHelper, ICAFE_CS_NEVER_CONN, ICAFE_NORMAL, and long.

int CAFE::getCache ( const unsigned int  handle,
dbr_double_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_double_t *  _val,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity 
) [inline]
int CAFE::getCache ( const unsigned int  handle,
dbr_double_t *  _val 
) [inline]
int CAFE::getCache ( const char *  pv,
PVDataHolder pvd 
) [inline]
int CAFE::getCache ( const unsigned int handleArray,
unsigned int  nelem,
PVDataHolder pvdArray 
)

Retrieves data from cache, packaged into the PVDataHolder class.

Parameters:
handleArray input: Array of handles to Conduit object
nelem input: No of array elements
pvdArray outout: Array of PVDataHolder containing cached data
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References getCache(), ICAFE_NORMAL, and Connect::status.

int CAFE::getCache ( const unsigned int  handle,
PVDataHolder pvd 
)
int CAFE::getCacheDbrStringArray ( const unsigned int  handle,
dbr_string_t *  _val 
) [inline]
int CAFE::getCacheDouble ( const unsigned int  handle,
dbr_double_t &  val 
) [inline]

References ECAFE_INVALID_HANDLE.

int CAFE::getCacheDoubleArray ( const unsigned int  handle,
dbr_double_t *  _val 
) [inline]
int CAFE::getCacheFloatArray ( const unsigned int  handle,
dbr_float_t *  _val 
) [inline]
int CAFE::getCacheLong ( const unsigned int  handle,
dbr_long_t &  val 
) [inline]
int CAFE::getCacheLongArray ( const unsigned int  handle,
dbr_long_t *  _val 
) [inline]
int CAFE::getCacheNoWait ( const unsigned int  handle,
PVDataHolder pvd 
)

Retrieves data from cache, packaged into the PVDataHolder class.

Parameters:
handle input: handle to Conduit object
pvd outout: PVDataHolder containing cached data
Returns:
ICAFE_NORMAL if all OK

References __METHOD__, cafeGranules, cafeMutex, Connect::cafeStatus, channelRequestStatusGet, Granules::channelVerifyGet(), cs, ECAFE_INVALID_HANDLE, PVHolder::getStatus(), ICAFE_CS_DISCONN, ICAFE_NORMAL, MUTEX, CAFEStatus::report(), ChannelRequestStatus::setCallbackKind(), ChannelRequestStatus::setCallbackStatus(), PVHolder::status, and Connect::status.

Referenced by get().

int CAFE::getCachePVArray ( vector< unsigned int handleV,
PVDataHolder pvd 
) [inline]
int CAFE::getCachePVArrayNoWait ( vector< unsigned int handleV,
PVDataHolder pvd 
) [inline]

References ECAFE_INVALID_HANDLE.

int CAFE::getCacheShortArray ( const unsigned int  handle,
dbr_short_t *  _val 
) [inline]
int CAFE::getCacheString ( const unsigned int  handle,
string &  valStr 
) [inline]
int CAFE::getCacheStringArray ( const unsigned int  handle,
string *  valStr 
) [inline]

References ECAFE_INVALID_HANDLE.

int CAFE::getCacheVDouble ( vector< unsigned int handleV,
vector< dbr_double_t > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getCacheVLong ( vector< unsigned int handleV,
vector< dbr_long_t > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getCacheVStr ( vector< unsigned int handleV,
vector< string > &  V,
vector< int > &  statusV 
) [inline]
CAFEStatus Connect::getCafeStatus (  )  [inline, inherited]
CAFEStatusSeverity Connect::getCafeStatusSeverity (  )  [inline, inherited]
chid Connect::getChannelID ( unsigned int  handle  )  [inline, inherited]

References cs.

int Connect::getChannelInfo ( unsigned int  handle,
ChannelRegalia channelInfo 
) [inline, inherited]

References cs, ECAFE_INVALID_HANDLE, and ICAFE_NORMAL.

Referenced by get(), getCache(), and set().

int CAFE::getCharArray ( const unsigned int  handle,
dbr_char_t *  _val 
) [inline]
ca_client_context* Connect::getClientContext ( unsigned int  handle  )  [inline, inherited]
ca_client_context* Connect::getClientContext ( const char *  pvname  )  [inline, inherited]
vector<deviceCollection> Connect::getCollections (  )  const [inline, inherited]

References deviceCollectionV.

int CAFE::getCtrl ( const char *  pv,
PVCtrlHolder pvc 
)

Retrieves PV DBR_CTRL data, packed into the PVCtrlHolder class

Parameters:
pv input: pv name
pvc output: PVCtrlHolder
Returns:
ECA_NORMAL if all OK else ECAFE error

References getCtrl(), ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Connect::status, and CAFEException_pv::statusCode.

int CAFE::getCtrl ( const char *  pv  ) 
int CAFE::getCtrl ( const unsigned int handleArray,
unsigned int  nelem,
PVCtrlHolder pvcArray 
)

Retrieves data, packaged into an array of PVCtrlHolder class'

Parameters:
handleArray input: Array of handles to Conduit object
nelem input: No of array elements
pvcArray output: Array of PVCtrlHolder
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References getCtrl(), getCtrlCache(), ICAFE_NORMAL, ICAFE_WAITING_FOR_PREV_CALLBACK, and Connect::status.

int CAFE::getCtrl ( const unsigned int  handle,
PVCtrlHolder pvc 
)
int CAFE::getCtrl ( const unsigned int  handle  ) 

Sends message to IOC to retreive DBR_CTRL data without waiting, i.e. non-blocking
To be followed by a getCtrlCache method

Parameters:
handle input: handle to conduit object
Returns:
ICAFE_NORMAL if all OK else ICAFE_WAITING_FOR_PREV_CALLBACK or other;

References __METHOD__, cafeGranules, cafeMutex, Connect::cafeStatus, Granules::channelExecuteGetCtrlNoWait(), Granules::channelPrepareGetCtrl(), Granules::channelVerifyGetCtrl(), cs, ECAFE_INVALID_HANDLE, ICAFE_NORMAL, ICAFE_WAITING_FOR_PREV_CALLBACK, MUTEX, CAFEStatus::report(), and Connect::status.

Referenced by getCtrl().

int CAFE::getCtrlCache ( const char *  pv,
PVCtrlHolder pvc 
) [inline]
int CAFE::getCtrlCache ( const unsigned int handleArray,
unsigned int  nelem,
PVCtrlHolder pvcArray 
)

Retrieves PV DBR_CTRL data from cache, packaged into the PVCtrlHolder class.

Parameters:
handleArray input: Array of handles to Conduit object
nelem input: No of array elements
pvcArray outout: Array of PVCtrlHolder containing cached data
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References getCtrlCache(), ICAFE_NORMAL, and Connect::status.

int CAFE::getCtrlCache ( const unsigned int  handle,
PVCtrlHolder pvc 
)
int CAFE::getDbrStringArray ( const unsigned int  handle,
dbr_string_t *  _val 
) [inline]
std::string Connect::getDeviceAttributeDeliminator (  )  const [inline, inherited]
unsigned int Connect::getDisconnectedHandles ( vector< unsigned int > &  dhV,
vector< string > &  pvV 
) [inline, inherited]
int CAFE::getDouble ( const unsigned int  handle,
dbr_double_t &  _val 
) [inline]
int CAFE::getDoubleArray ( const unsigned int  handle,
dbr_double_t *  _val 
) [inline]
int CAFE::getFloatArray ( const unsigned int  handle,
dbr_float_t *  _val 
) [inline]
vector< string > Connect::getFromGlobalChannelList ( vector< string >  searchList  )  [inherited]
unsigned int Connect::getHandleFromPV ( const char *  pv  )  [inline, inherited]
unsigned int Connect::getHandleFromPVWithinGroup ( const char *  pv,
unsigned int  grh 
) [inline, inherited]
HandleHelper Connect::getHandleHelper (  )  [inline, inherited]

References Connect::handleHelper.

Referenced by getCache(), main(), and snapshot2XML().

unsigned int* CAFE::getHandlesFromWithinGroup ( const unsigned int  groupHandle  )  [inline]
vector<unsigned int> CAFE::getHandlesFromWithinGroupV ( const unsigned int  groupHandle  )  [inline]

Referenced by groupGetScalar().

HandleHelper Connect::getInfo (  )  [inline, inherited]

References Connect::handleHelper.

Referenced by snapshot2XML().

int CAFE::getLong ( const unsigned int  handle,
dbr_long_t &  _val 
) [inline]
int CAFE::getLongArray ( const unsigned int  handle,
dbr_long_t *  _val 
) [inline]
int CAFE::getLongLongArray ( const unsigned int  handle,
long long _val 
) [inline]
unsigned int Connect::getNelemClient ( unsigned int  h  )  [inline, inherited]
unsigned int Connect::getNelemNative ( unsigned int  h  )  [inline, inherited]
unsigned int Connect::getNelemRequest ( unsigned int  h  )  [inline, inherited]
int CAFE::getNonBlocking ( const unsigned int  handle  )  [inline]
double Connect::getOpenDefaultPendTime (  )  [inline, inherited]
PolicyHelper Connect::getPolicy (  )  [inline, inherited]

References Connect::policyHelper.

PolicyHelper Connect::getPolicyHelper (  )  [inline, inherited]

References Connect::policyHelper.

int CAFE::getPulseID ( char *  pv,
unsigned int pulseID 
) [inline]
int CAFE::getPulseID ( unsigned int  handle,
unsigned int pulseID 
) [inline]
int CAFE::getPulseID ( unsigned int handle,
unsigned int  nelem,
unsigned int pulseID 
) [inline]
vector<unsigned int> CAFE::getPulseIDFromTS ( PVGroup  pvg  )  [inline]

References ECAFE_INVALID_HANDLE.

vector<unsigned int> CAFE::getPulseIDFromTS ( PVDataHolder pvd,
unsigned int  nelem 
) [inline]
unsigned int CAFE::getPulseIDFromTS ( epicsTimeStamp  ts  )  [inline]
int CAFE::getPVArray ( vector< unsigned int handleV,
PVDataHolder pvd 
) [inline]
int CAFE::getPVArrayCache ( vector< unsigned int handleV,
PVDataHolder pvd 
) [inline]
PVDataHolder * Connect::getPVData ( vector< unsigned int handleArray  )  [inherited]
const char* Connect::getPVFromHandle ( unsigned int  handle  )  [inline, inherited]
bool Connect::getPyCafe (  )  [inline, inherited]

References Connect::pyCafeFlag.

bool Connect::getReadAccess ( unsigned int  handle  )  [inline, inherited]

References cs.

int CAFE::getScalars ( vector< unsigned int handleV,
vector< dbr_double_t > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getScalars ( vector< unsigned int handleV,
vector< long long > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getScalars ( vector< unsigned int handleV,
vector< dbr_long_t > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getScalars ( vector< unsigned int handleV,
vector< dbr_char_t > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getScalars ( vector< unsigned int handleV,
vector< dbr_enum_t > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getScalars ( vector< unsigned int handleV,
vector< dbr_float_t > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getScalars ( vector< unsigned int handleV,
vector< dbr_short_t > &  V,
vector< int > &  statusV 
) [inline]
int CAFE::getScalars ( vector< unsigned int handleV,
vector< string > &  V,
vector< int > &  statusV 
) [inline]

Referenced by groupGetScalar().

int CAFE::getShortArray ( const unsigned int  handle,
dbr_short_t *  _val 
) [inline]
int Connect::getStatus ( void   )  [inline, inherited]

References Connect::status.

Referenced by snapshot2XML().

int CAFE::getString ( const unsigned int  handle,
string &  valStr 
) [inline]
int CAFE::getStringArray ( const unsigned int  handle,
string *  valStr 
) [inline]
int CAFE::getStringTS ( const unsigned int  handle,
string &  valStr,
dbr_short_t &  alarmStatus,
dbr_short_t &  alarmSeverity,
epicsTimeStamp &  ts 
) [inline]
int CAFE::getUShortArray ( const unsigned int  handle,
dbr_ushort_t *  _val 
) [inline]
int CAFE::getV ( vector< unsigned int handleV,
vector< int > &  statusV 
) [inline]

References ECAFE_INVALID_HANDLE.

bool Connect::getWriteAccess ( unsigned int  handle  )  [inline, inherited]

References cs.

long CAFE::group2XML ( const char *  grpName,
string  fileName 
)

group2XML
Takes a PVGroup snapshot and writes data to a timestamped file
in the directory defined the by CAFE_SAR_PATH environment variable

Parameters:
grpName input: PVGroup
fileName input: filename to which PVGroup data is written
Returns:
ICAFE_NORMAL if OK else first ECAFE/ICAFE error encountered

References Connect::groupMemberList(), and Connect::status.

int CAFE::groupAttach ( const unsigned int  _groupHandle,
PVGroup pvgroup 
)

Fills the PVGroup object indentified by the groupHandle from memory.
Method used to fill the PVGroup class both with meta-data and actual data (from hash table)

Parameters:
_groupHandle input: handle to the group object
pvgroup output: data pertaining to the object
Returns:
statusGroup

References __METHOD__, PVHolder::alarmSeverity, PVHolder::alarmStatus, cafeMutex, Connect::cafeStatus, cs, Connect::deviceAttributeDeliminator, ECAFE_INVALID_GROUP_HANDLE, ECAFE_INVALID_HANDLE, ECAFE_UNKNOWN_GROUP, HandleHelper::getGroupNameFromGroupHandle(), PVGroup::groupHandle, gs, Connect::handleHelper, PVHolder::hasAlarm, PVDataHolder::hasTS, ICAFE_NORMAL, ChannelDeviceAttribute::init(), MUTEX, PVGroup::npv, PVGroup::pvdata, PVGroupV, CAFEStatus::report(), PVHolder::rule, PVDataHolder::setNelem(), PVHolder::status, PVGroup::statusGroup, and PVDataHolder::ts.

Referenced by groupGet(), and groupGetScalar().

int Connect::groupClose (  )  [inherited]

Closes all channel connections associated within a group, for all groupHandles. Note that this does NOT cause the channel's disconnect handler to be called. It does however invoke event subscriptions (for monitors). All Conduit handles are erased.

Returns:
ICAFE_NORMAL if all OK

References HandleHelper::getGroupHandleFromGroupName(), Connect::handleHelper, ICAFE_NORMAL, and PVGroupV.

Referenced by Connect::groupCloseAll().

int Connect::groupClose ( unsigned int  groupHandle  )  [inherited]

Closes all channel connections associated within a group, indentified by it's groupHandle. Note that this does NOT cause the channel's disconnect handler to be called. It does however invoke event subscriptions (for monitors). All Conduit handles are erased.

Parameters:
groupHandle input
Returns:
ICAFE_NORMAL if all OK

References cafeMutex, Connect::closeHandles(), ECAFE_INVALID_GROUP_HANDLE, HandleHelper::getGroupNameFromGroupHandle(), gs, Connect::handleHelper, ICAFE_NORMAL, MUTEX, and PVGroupV.

int Connect::groupCloseAll (  )  [inline, inherited]

References Connect::groupClose().

int Connect::groupCombine ( const char *  newGroupName,
vector< char * >  groupNameV 
) [inherited]

Connect::groupCombine - Combines individual groups to form a new group.

Parameters:
newGroupName input: new group name
groupNameV input: vector of groups
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF, ECAFE_UNKNOWN_GROUP

References ECAFE_GROUP_PREV_DEF, ECAFE_UNKNOWN_GROUP, Connect::helper, ICAFE_NORMAL, MemberMap::insert(), PVGroup::memberMap, PVGroup::name, PVGroup::npv, PVGroup::pvdata, PVGroupV, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::groupCombine ( const char *  newGroupName,
const char *  groupName1,
const char *  groupName2 
) [inherited]

Connect::groupCombine - Combines two groups to form a new group.

Parameters:
newGroupName input: new group name
groupName1 input: already existing group
groupName2 input: already existing group
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF, ECAFE_UNKNOWN_GROUP

References ECAFE_GROUP_PREV_DEF, ECAFE_UNKNOWN_GROUP, Connect::helper, ICAFE_NORMAL, MemberMap::insert(), PVGroup::memberMap, PVGroup::name, PVGroup::npv, PVGroup::pvdata, PVGroupV, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::groupDefine ( const char *  groupName,
pv_string_t pvArray,
unsigned int  pvArrayLength 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
pvArray input: array of process variables (pv_string_t)
pvArrayLength,: length of pvArray
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF

References Connect::deviceAttributeDeliminator, ECAFE_GROUP_PREV_DEF, ChannelDeviceAttribute::getAttribute(), ChannelDeviceAttribute::getDevice(), Connect::helper, ICAFE_NORMAL, ChannelDeviceAttribute::init(), MemberMap::insert(), PVGroup::memberMap, PVGroup::name, PVGroup::npv, PVGroup::pvdata, PVGroupV, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::groupDefine ( const char *  groupName,
vector< const char * >  pvArrayV 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
pvArrayV input: vector of process varaibles (const char *)
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF

References Connect::groupDefine(), and Connect::status.

int Connect::groupDefine ( const char *  groupName,
vector< string >  pvArrayV 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
pvArrayV input: vector of process varaibles (string)
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF

References Connect::groupDefine(), and Connect::status.

int Connect::groupDefine ( const char *  groupName,
pv_string_t deviceArray,
unsigned int  nDevice,
pv_string_t attributeArray,
unsigned short  nAttribute 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
deviceArray input: array of devices (pv_string_t)
nDevice input : size of device array
attributeArray input: array of attributes (pv_string_t *)
nAttribute input: size of attribute array
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF

References Connect::deviceAttributeDeliminator, Connect::groupDefine(), and Connect::status.

int Connect::groupDefine ( const char *  groupName,
vector< const char * >  deviceV,
vector< const char * >  attributeV 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
deviceV input: vector of devices (const char *)
attributeV input: vector of attributes (const char *)
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF

References Connect::deviceAttributeDeliminator, Connect::groupDefine(), and Connect::status.

int Connect::groupDefine ( const char *  groupName,
vector< string >  deviceV,
vector< string >  attributeV 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
deviceV input: vector of devices (string)
attributeV input: vector of attributes (strig)
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF

References Connect::deviceAttributeDeliminator, Connect::groupDefine(), and Connect::status.

int Connect::groupDefine ( const char *  groupName,
const char *  collectionName,
pv_string_t  attribute 
) [inline, inherited]
int Connect::groupDefine ( const char *  groupName,
const char *  collectionName,
pv_string_t attributeArray,
unsigned short  attributeLength 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
collectionName input: name of already existing collection
attributeArray input: array of attributes (pv_string_t *)
attributeLength input: size of input array
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF, ECAFE_UNKNOWN_COLLECTION, ECAFE_EMPTY_COLLECTION

References Connect::collectionFetch(), Connect::groupDefine(), and ICAFE_NORMAL.

int Connect::groupDefine ( const char *  groupName,
const char *  collectionName,
vector< const char * >  attributeV 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
collectionName input: name of already existing collection
attributeV input: vector of attributes (const char *)
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF, ECAFE_UNKNOWN_COLLECTION, ECAFE_EMPTY_COLLECTION

References Connect::collectionFetch(), Connect::groupDefine(), and ICAFE_NORMAL.

int Connect::groupDefine ( const char *  groupName,
const char *  collectionName,
vector< string >  attributeV 
) [inherited]

Connect::groupDefine.

Parameters:
groupName input: new group name
collectionName input: name of already existing collection
attributeV input: vector of attributes (string)
Returns:
ICAFE_NORMAL is all OK else, ECAFE_GROUP_PREV_DEF, ECAFE_UNKNOWN_COLLECTION, ECAFE_EMPTY_COLLECTION

References Connect::collectionFetch(), and ICAFE_NORMAL.

Referenced by Connect::groupDefine().

int CAFE::groupFetch ( const unsigned int  _groupHandle,
PVGroup pvgroup 
)

Fills the PVGroup object indentified by the groupHandle from memory.
Does NOT do a "get". Method used to fill the PVGroup class with meta-data.

Parameters:
_groupHandle input: handle to the group object
pvgroup output: data pertaining to the object
Returns:
statusGroup

References __METHOD__, Connect::cafeStatus, ECAFE_UNKNOWN_GROUP, HandleHelper::getGroupNameFromGroupHandle(), PVGroup::groupHandle, Connect::handleHelper, ICAFE_NORMAL, PVGroupV, and CAFEStatus::report().

int CAFE::groupGet ( const unsigned int  _groupHandle,
PVGroup pvgroup 
)
int CAFE::groupGet ( PVGroup pvgroup  ) 

Fills the PVGroup object indentified by the pvgroup.groupHandle

Parameters:
pvgroup input/output: data pertaining to the object
Returns:
statusGroup

References PVGroup::groupHandle.

Referenced by groupGetScalar(), and snapshot2XML().

int CAFE::groupGetCache ( const unsigned int  groupHandle,
PVGroup pvgroup 
) [inline]
unsigned int CAFE::groupGetNPV ( const char *  _gName,
ca_client_context *  ccc 
) [inline]
unsigned int CAFE::groupGetNPV ( const char *  _gName  )  [inline]
unsigned int CAFE::groupGetNPV ( unsigned int  _gHandle  )  [inline]
int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
char *  val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of char values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsChar(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
unsigned char *  val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of unsigned char values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsUChar(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
unsigned short *  val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of unsigned short values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsUShort(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
long long val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of long long values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsLongLong(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
long val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of long values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsLong(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
short *  val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of short values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsShort(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
float *  val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of float values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsFloat(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
double *  val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of double values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsDouble(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
string *  val,
int statusArray 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
val output: array of string values
statusArray output: array of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsString(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< char > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of char values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsChar(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< unsigned char > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of unsigned char values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsUChar(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< unsigned short > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of unsigned short values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsUShort(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< long long > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of long long values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsLongLong(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< long > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of long values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsLong(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< short > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of short values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsShort(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< float > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of float values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsFloat(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< double > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of double values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References PVHolder::getAsDouble(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, and PVGroup::statusGroup.

int CAFE::groupGetScalar ( const unsigned int  _groupHandle,
vector< string > &  valV,
vector< int > &  statusV 
)

Retrieves scalar value from the PVGroup object indentified by the group handle

Parameters:
_groupHandle input: handle to the group object
valV output: vector of syting values
statusV output: vector of int values reporting the status
Returns:
statusGroup

References __METHOD__, Connect::cafeStatus, PVHolder::getAsString(), getHandlesFromWithinGroupV(), getScalars(), groupAttach(), groupGet(), PVGroup::npv, PVGroup::pvdata, CAFEStatus::report(), set(), PVGroup::setHasAlarm(), PVGroup::setHasTS(), PVHolder::status, Connect::status, PVGroup::statusGroup, and PVDataHolder::ts.

int Connect::groupHandleErase ( ca_client_context *  ccc  )  [inherited]

Erases groupHandle (assumes associated connections are already closed) All Groupconduit handles are erased withingt the give ca_client_context

Parameters:
ccc input: ca_client_context *
Returns:
ICAFE_NORMAL always

References cafeMutex, gs, ICAFE_NORMAL, Connect::itgs, and MUTEX.

int Connect::groupHandleErase (  )  [inherited]

Erases groupHandles All Groupconduit handles are erased

Returns:
ICAFE_NORMAL if all OK

References cafeMutex, gs, ICAFE_NORMAL, Connect::itgs, and MUTEX.

Referenced by Connect::terminate().

int Connect::groupList ( vector< string > &  glist  )  [inherited]

Connect::groupList - lists all groups in global vector PVGroupV.

Parameters:
glist output: vector of group names (string)
Returns:
ICAFE_NORMAL

References ICAFE_NORMAL, and PVGroupV.

int Connect::groupList ( boost::shared_ptr< pv_string_t[]> &  glist,
unsigned int listLength 
) [inherited]

Connect::groupList - lists all groups in global vector PVGroupV
.

Parameters:
glist output: shared_ptr to array of group names (pv_string_t)
listLength,: length of glist array
Returns:
ICAFE_NORMAL

References ICAFE_NORMAL, and PVGroupV.

int Connect::groupMemberList ( const char *  groupName,
vector< string > &  list 
) [inherited]

Connect::groupMemberList - lists the members of the given group.

Parameters:
groupName input: group name
list output: vector of process variables (string)
Returns:
ICAFE_NORMAL is all OK else, ECAFE_UNKNOWN_GROUP

References ECAFE_UNKNOWN_GROUP, Connect::helper, ICAFE_NORMAL, PVGroupV, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int Connect::groupMemberList ( const char *  groupName,
boost::shared_ptr< pv_string_t[]> &  list,
unsigned int listLength 
) [inherited]

Connect::groupMemberList - lists the members of the given group
User responsible for deleting list array.

Parameters:
groupName input: group name
list output: shared_ptr to array of process variables (pv_string_t)
listLength,: length of list array
Returns:
ICAFE_NORMAL is all OK else, ECAFE_UNKNOWN_GROUP

References ECAFE_UNKNOWN_GROUP, Connect::helper, ICAFE_NORMAL, PVGroupV, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

Referenced by group2XML().

int CAFE::groupMonitorStart ( const unsigned int  groupHandle,
vector< int > &  statusV,
vector< unsigned int > &  monitorIDV 
)

Starts a monitor on all PVs within the PVGroup object indentified by the groupHandle

Parameters:
groupHandle input: handle to the group object
statusV output: status of individual monitors
monitorIDV output: vector of monitor ID (unsigned int)
Returns:
ECAFE_NORMAL if all OK else first error encountered

References __METHOD__, Connect::cafeStatus, cs, ECAFE_INVALID_GROUP_HANDLE, ECAFE_INVALID_HANDLE, gs, Connect::monitorStart(), and CAFEStatus::report().

int CAFE::groupMonitorStart ( const unsigned int  groupHandle,
vector< int > &  statusV,
vector< MonitorPolicy > &  mpV 
)

Starts a monitor on all PVs within the PVGroup object indentified by the groupHandle

Parameters:
groupHandle input: handle to the group object
statusV output: status of individual monitors
mpV output: vector of MonitorPolicy
Returns:
ECAFE_NORMAL if all OK else first error encountered

References __METHOD__, Connect::cafeStatus, cs, ECAFE_INVALID_GROUP_HANDLE, ECAFE_INVALID_HANDLE, gs, Connect::monitorStart(), and CAFEStatus::report().

int CAFE::groupMonitorStart ( const unsigned int  groupHandle,
vector< int > &  statusV 
) [inline]
int CAFE::groupMonitorStop ( const unsigned int  groupHandle,
vector< int > &  statusV 
)

Stops a monitor on all PVs within the PVGroup object indentified by the groupHandle

Parameters:
groupHandle input: handle to the group object
statusV output: status of individual monitor stop operations
Returns:
ECAFE_NORMAL if all OK else first error encountered

References __METHOD__, Connect::cafeStatus, cs, ECAFE_INVALID_GROUP_HANDLE, ECAFE_INVALID_HANDLE, gs, Connect::monitorStop(), and CAFEStatus::report().

int Connect::groupOpen ( PVGroup pvgroup,
unsigned int groupHandle 
) throw (CAFEException_groupOpen) [inherited]

Establishes virtual circuit to epics process variable for each group member by calling Connect::open(pv, &handle)

Parameters:
pvgroup input/output: PVGroup object
groupHandle output: (unique) group handle
Exceptions:
CAFEException re-throws CAFEException from open
Returns:
status ECA_NORMAL if OK
int Connect::groupOpen ( const char *  groupName,
unsigned int groupHandle 
) throw (CAFEException_groupOpen) [inherited]

Establishes virtual circuit to epics process variable for each group member by calling Connect::open(pv, &handle).

Parameters:
groupName input: (unique) name of the group
groupHandle output: (unique) group handle
Exceptions:
CAFEException_groupOpen re-throws CAFEException from open
Returns:
status ECA_NORMAL if OK

References __METHOD__, cafeMutex, cs, DEFAULT_TIMEOUT_SG_PEND_EVENT, ECAFE_HASH_UNIQUEID_EXISTS, ECAFE_UNKNOWN_GROUP, CAFENUM::FLUSH_AFTER_EACH_GROUP_CREATION, CAFEException_groupOpen::groupEx, PVGroup::groupHandle, gs, CAFEException_pv::handle, ICAFE_NORMAL, Connect::init(), MUTEX, NMEMBER_PER_SEC_SG_PEND_EVENT, PVGroup::npv, CAFEException_pv::pv, PVHolder::pv, PVGroup::pvdata, PVGroupV, CAFEException_pv::statusCode, and CAFEException_pv::statusCodeText.

int CAFE::groupSet ( const unsigned int  _groupHandle,
PVGroup pvgroup 
)
int CAFE::groupSet ( PVGroup pvgroup  ) 

Fills the PVGroup object indentified by pvgroup.groupHandle

Parameters:
pvgroup input/output: data pertaining to the object
Returns:
statusGroup

References PVGroup::groupHandle.

int Connect::init ( ca_preemptive_callback_select  select  )  throw (CAFEException_init) [inherited]

Called once prior to making any channel access calls

Parameters:
select input: enum ca_preemptive_callback_select
{ca_disable_preemptive_callback=0, ca_enable_preemptive_callback=1}
Exceptions:
CAFEbad_allocMem ECA_ALLOCMEM if memory space could not be allocated
Returns:
status ECA_NORMAL if OK else else throws an exception

References __METHOD__, and initPyCafe().

int Connect::init (  )  throw (CAFEException_init) [inherited]

Called once prior to making any channel access calls
Specifies that preemptive callback is allowed: ca_enable_preemptive_callback

Exceptions:
CAFEException_init ECA_ALLOCMEM if memory space could not be allocated
Returns:
status ECA_NORMAL if OK else throws an exception

References __METHOD__, Connect::status, and CAFEException_init::what().

Referenced by Connect::groupOpen(), and main().

bool Connect::isChannelConnected ( unsigned int  handle  )  [inline, inherited]

References cs.

Referenced by Connect::isConnected().

bool Connect::isCollection ( const char *  collectionID  )  [inherited]

Connect::isCollection - Test const char * to determine if input 'name' is a collection.

Parameters:
collectionID input: collection name
Returns:
trool or false

References deviceCollectionV, Connect::helper, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

bool Connect::isConnected ( unsigned int  handle  )  [inline, inherited]
bool Connect::isEnum ( unsigned int  handle  )  [inline, inherited]
bool Connect::isGroup ( const char *  groupID  )  [inherited]

Connect::isGroup - Test const char * to determine if input 'name' is a garoup.

Parameters:
groupID input: group name
Returns:
true or false

References Connect::helper, PVGroupV, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

bool Connect::isValid ( unsigned int  handle  )  [inline, inherited]

References cs, and Connect::itcs.

int CAFE::match ( dbr_string_t  valSet,
unsigned int  handleMatch,
dbr_string_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::match ( string  valSet,
unsigned int  handleMatch,
string  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::match ( long long  valSet,
unsigned int  handleMatch,
long long  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::match ( dbr_long_t  valSet,
unsigned int  handleMatch,
dbr_long_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::match ( dbr_short_t  valSet,
unsigned int  handleMatch,
dbr_short_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::match ( dbr_enum_t  valSet,
unsigned int  handleMatch,
dbr_enum_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::match ( dbr_char_t  valSet,
unsigned int  handleMatch,
dbr_char_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::match ( dbr_float_t  valSet,
unsigned int  handleMatch,
dbr_float_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::match ( dbr_double_t  valSet,
unsigned int  handleMatch,
dbr_double_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::matchMany ( vector< string >  valSetV,
vector< unsigned int handleMatchV,
string  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::matchMany ( vector< long long valSet,
vector< unsigned int handleMatch,
long long  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::matchMany ( vector< dbr_long_t >  valSet,
vector< unsigned int handleMatch,
dbr_long_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::matchMany ( vector< dbr_short_t >  valSet,
vector< unsigned int handleMatch,
dbr_short_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::matchMany ( vector< dbr_enum_t >  valSet,
vector< unsigned int handleMatch,
dbr_enum_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::matchMany ( vector< dbr_char_t >  valSet,
vector< unsigned int handleMatch,
dbr_char_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::matchMany ( vector< dbr_float_t >  valSet,
vector< unsigned int handleMatch,
dbr_float_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::matchMany ( vector< dbr_double_t >  valSet,
vector< unsigned int handleMatch,
dbr_double_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int Connect::monitorStart ( vector< unsigned int handleV,
vector< int > &  statusV,
vector< unsigned int > &  monitorIDV 
) [inherited]

Monitor an array of PV with default MonitorPolicy object parameters.

Parameters:
handleV input: Array of handles to conduit object
statusV output: Array of statuses
monitorIDV output: Array of unique MonitorIDs
Returns:
overallStatus: ICAFE_NORMAL if all OK else the first ECAFE error encountered

References Connect::channelMonitorPolicy, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, ChannelOpenPolicy::flushSendBufferNow(), ChannelOpenPolicy::getWhenToFlushSendBuffer(), ICAFE_NORMAL, Connect::monitorStart(), and ChannelOpenPolicy::setWhenToFlushSendBuffer().

int Connect::monitorStart ( vector< unsigned int handleV,
vector< int > &  statusV,
vector< MonitorPolicy > &  mpV 
) [inherited]

Monitor an array of PV with parameters set by MonitorPolicy objects.

Parameters:
handleV input: Array of handles to conduit object
statusV output: Array of statuses
mpV input/output: Array of MonitorPolicy objects
identifying the monitor subscription
Returns:
overallStatus: ICAFE_NORMAL if all OK else the first ECAFE error encountered

References __METHOD__, Connect::channelMonitorPolicy, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, ChannelOpenPolicy::flushSendBufferNow(), ChannelOpenPolicy::getWhenToFlushSendBuffer(), ICAFE_NORMAL, Connect::monitorStart(), and ChannelOpenPolicy::setWhenToFlushSendBuffer().

int Connect::monitorStart ( unsigned int handleArray,
unsigned int  nelem,
int statusArray,
unsigned int monitorIDArray 
) [inherited]

Monitor an array of PV with parameters with default policies.

Parameters:
handleArray input: Array of handles to conduit object
nelem input: Number of elements in the Array
statusArray,: Array of statuses
monitorIDArray output: Array of MonitorIDs to be used by monitorStop
Returns:
overallStatus: ICAFE_NORMAL if all OK else the first ECAFE error encountered

References Connect::channelMonitorPolicy, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, ChannelOpenPolicy::flushSendBufferNow(), ChannelOpenPolicy::getWhenToFlushSendBuffer(), ICAFE_NORMAL, Connect::monitorStart(), and ChannelOpenPolicy::setWhenToFlushSendBuffer().

int Connect::monitorStart ( unsigned int handleArray,
unsigned int  nelem,
int statusArray,
MonitorPolicy mpArray 
) [inherited]

Monitor an array of PV with parameters set by MonitorPolicy objects.

Parameters:
handleArray input: Array of handles to conduit object
nelem input: Number of elements in the Array
statusArray,: Array of statuses
mpArray input/output: Array of MonitorPolicy objects
identifying the monitor subscription
Returns:
overallStatus: ICAFE_NORMAL if all OK else the first ECAFE error encountered

References Connect::channelMonitorPolicy, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, ChannelOpenPolicy::flushSendBufferNow(), ChannelOpenPolicy::getWhenToFlushSendBuffer(), ICAFE_NORMAL, Connect::monitorStart(), and ChannelOpenPolicy::setWhenToFlushSendBuffer().

int Connect::monitorStart ( unsigned int handleArray,
unsigned int  nelem 
) [inline, inherited]
int Connect::monitorStart ( unsigned int  handle  )  [inline, inherited]
int Connect::monitorStart ( unsigned int  handle,
unsigned int monitorID 
) [inherited]
int Connect::monitorStart ( unsigned int  handle,
MonitorPolicy mp 
) [inherited]
int Connect::monitorStop ( unsigned int handleArray,
unsigned int  nelem 
) [inline, inherited]
int Connect::monitorStop ( vector< unsigned int handleV,
vector< int > &  statusV 
) [inherited]

Stop all monitors for a vector of handles.

Parameters:
handleV input: vector of handles
statusV output: vector of statuses
Returns:
overallStatus: ICAFE_NORMAL if all OK else ECAFE error of first reported failure

References ICAFE_NORMAL, and Connect::monitorStop().

int Connect::monitorStop ( unsigned int handleArray,
unsigned int  nelem,
int statusArray 
) [inherited]

Stop all monitors for this array of handles.

Parameters:
handleArray input: array of handle
nelem input: array of elements
statusArray output: array of statuses
Returns:
overallStatus: ICAFE_NORMAL if all OK else ECAFE error of first reported failure

References ICAFE_NORMAL, and Connect::monitorStop().

int Connect::monitorStop ( ca_client_context *  cctLocal  )  [inherited]

Stop all monitors for the given ca_client_context.

Returns:
ICAFE_NORMAL if all OK else ECAFE error

References Connect::channelClosePolicy, cs, ECAFE_NULLCONTEXT, ChannelOpenPolicy::getTimeout(), Connect::itcs, Connect::monitorStop(), and Connect::status.

int Connect::monitorStop (  )  [inherited]
int Connect::monitorStop ( unsigned int  handle  )  [inherited]
int Connect::monitorStop ( unsigned int  handle,
unsigned int  monitorID 
) [inherited]

Stop monitor of a PV.

Parameters:
handle input: handle
monitorID input: monitorID identifying the monitor subscription
Returns:
ICAFE_NORMAL if all OK else ECAFE error

References __METHOD__, cafeMutex, Connect::cafeStatus, Connect::channelMonitorPolicy, cs, ECAFE_INVALID_HANDLE, ECAFE_NULLEVID, CAFENUM::FLUSH_AFTER_EACH_CHANNEL_SUBSCRIPTION, ChannelOpenPolicy::flushSendBufferNow(), ChannelOpenPolicy::getWhenToFlushSendBuffer(), ICAFE_NORMAL, MUTEX, CAFEStatus::report(), and Connect::status.

int Connect::monitorStop ( unsigned int  handle,
MonitorPolicy  mp 
) [inherited]

Stop monitor of a PV.

Parameters:
handle input: handle
mp input: MonitorPolicy identifying the monitor subscription
Returns:
ICAFE_NORMAL if all OK else ECAFE error

References MonitorPolicy::getMonitorID(), and Connect::monitorStop().

Referenced by Instant< CTYPE >::matchMany(), Instant< CTYPE >::setAndMatch(), and Instant< CTYPE >::setAndMatchMany().

int Connect::monitorStopAll (  )  [inline, inherited]
int Connect::monitorStopWithID ( unsigned int  handle,
unsigned int  monitorID 
) [inline, inherited]
int Connect::open ( vector< string >  pvV,
vector< unsigned int > &  handleV 
) throw (CAFEException_open) [inherited]

Establishes virtual circuits for a vector of epics process variables

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create CAFEConduit object and add to multi-index hash table
    .

Parameters:
pvV input: vector of process variables (string)
handleV output: vector of reference handle to Conduit objects
Exceptions:
CAFEException_open if unable to create channel virtual circuit
Returns:
status ICAFE_NORMAL if OK

References CAFENUM::FLUSH_AFTER_EACH_CHANNEL_CREATION, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, and ICAFE_NORMAL.

int Connect::open ( vector< const char * >  pvV,
vector< unsigned int > &  handleV 
) throw (CAFEException_open) [inherited]

Establishes virtual circuits for a vector of epics process variables

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create CAFEConduit object and add to multi-index hash table
    .

Parameters:
pvV input: vector of process variables (char *)
handleV output: vector of reference handle to Conduit objects
Exceptions:
CAFEException_open if unable to create channel virtual circuit
Returns:
status ICAFE_NORMAL if OK

References CAFENUM::FLUSH_AFTER_EACH_CHANNEL_CREATION, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, and ICAFE_NORMAL.

int Connect::open ( const char **  pvArray,
unsigned int handleArray,
const unsigned int  nHandles 
) throw (CAFEException_open) [inherited]

Establishes virtual circuits for a vector of epics process variables

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create CAFEConduit object and add to multi-index hash table
    .

Parameters:
pvArray input: array of process variables (PVNAME_SIZE)
handleArray output: array of reference handle to Conduit objects
nHandles input: size of pvArray
Exceptions:
CAFEException_open if unable to create channel virtual circuit
Returns:
status ICAFE_NORMAL if OK

References CAFENUM::FLUSH_AFTER_EACH_CHANNEL_CREATION, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, and ICAFE_NORMAL.

int Connect::open ( const char *  _pv,
const char *  _pvAlias,
unsigned int handle 
) throw (CAFEException_open) [inherited]

Establishes virtual circuit to epics process variable and defines its pv alias name

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create Conduit object and add to multi-index hash table
    .

Parameters:
_pv input: process variable
_pvAlias input: process variable alias
handle output: reference handle to Conduit object
Exceptions:
CAFEException_pvOpen if unable to create channel virtual circuit
Returns:
status ICAFE_NORMAL if OK
int Connect::open ( const char *  _pv,
unsigned int handle 
) throw (CAFEException_open) [inherited]

Establishes virtual circuit to epics process variable

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create Conduit object and add to multi-index hash table
    .

Parameters:
_pv input: process variable
handle output: reference handle to Conduit object
Exceptions:
CAFEException_pvOpen if unable to create channel virtual circuit
Returns:
status ICAFE_NORMAL if OK

References __METHOD__, ICAFE_NORMAL, CAFEException_open::pvEx, and PVNAME_SIZE.

int Connect::open ( const string *  pvArrayS,
unsigned int handleArray,
const unsigned int  nHandles 
) throw (CAFEException_open) [inherited]

Establishes virtual circuits for a vector of epics process variables

  • Check if handle already exists for given pv/ca_client_context
  • If yes, nothing further to do, else create channel
  • Determine connection status and properties of the pv
  • Create CAFEConduit object and add to multi-index hash table
    .

Parameters:
pvArrayS input: array of process variables givenas "strings"
handleArray output: array of reference handle to Conduit objects
nHandles input: size of pvArray
Exceptions:
CAFEException_open if unable to create channel virtual circuit
Returns:
status ICAFE_NORMAL if OK

References CAFENUM::FLUSH_AFTER_EACH_CHANNEL_CREATION, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, and ICAFE_NORMAL.

int Connect::open ( const string  pvS,
const std::string  pvAliasS,
unsigned int handle 
) throw (CAFEException_open) [inline, inherited]

References Connect::open().

int Connect::open ( const string  pvS,
unsigned int handle 
) throw (CAFEException_open) [inline, inherited]
void Connect::openGroupNowAndWait ( double  _timeout  )  [inline, inherited]
void Connect::openGroupPrepare (  )  [inline, inherited]
void CAFE::openGroupXMLFile ( string  fileName  ) 

openGroupXMLFile
Open file given by fileName for writing XML data

Parameters:
fileName input: filename to which PVGroup data is written
Returns:
ICAFE_NORMAL if OK else first ECAFE/ICAFE error encountered
void Connect::openMonitorNow (  )  [inline, inherited]
void Connect::openMonitorNowAndWait ( double  _timeout  )  [inline, inherited]
void Connect::openMonitorPrepare (  )  [inline, inherited]
void Connect::openNow (  )  [inline, inherited]
void Connect::openNoWait (  )  [inline, inherited]
void Connect::openNowAndWait ( double  _timeout  )  [inline, inherited]
void Connect::openPrepare (  )  [inline, inherited]
int Connect::openV ( vector< string >  s,
vector< unsigned int > &  i 
) throw (CAFEException_open) [inline, inherited]

References Connect::open().

void Connect::printCAFEException_pv ( CAFEException_pv e  )  [inline, inherited]
unsigned int Connect::printDisconnectedHandles ( void   )  [inline, inherited]
unsigned int Connect::printHandle ( unsigned int  h  )  [inline, inherited]
unsigned int Connect::printHandles ( void   )  [inline, inherited]
int Connect::printStatus ( vector< unsigned int handleV,
vector< int statusV 
) [inherited]

print status information of given handles

Parameters:
handleV input: vector of handles to conduit objects
statusV input: vector of statuses
Returns:
ECA_NORMAL if all OK else ECAFE_INVALID_HANDLE (if one or more handles are invalid)

References ICAFE_NORMAL, and Connect::printStatus().

int Connect::printStatus ( unsigned int handleArray,
unsigned int  nelem,
int statusArray 
) [inherited]

print status information of given handles

Parameters:
handleArray input: array of handles to conduit objects
nelem input: size of array of handles
statusArray input: array of statuses
Returns:
ECA_NORMAL if all OK else ECAFE_INVALID_HANDLE (if one or more handles are invalid)

References ICAFE_NORMAL, and Connect::printStatus().

int Connect::printStatus ( unsigned int  handle,
int  status 
) [inherited]

print status information of given handle

Parameters:
handle input: handle to Conduit object
status input: reporting status
Returns:
ECA_NORMAL if all OK else ECAFE_INVALID_HANDLE

References Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, ICAFE_NORMAL, and CAFEStatus::report().

Referenced by main(), Connect::printStatus(), and Connect::printStatusIfError().

int Connect::printStatusIfError ( vector< unsigned int handleV,
vector< int statusV 
) [inherited]

print status information of given handles only on error

Parameters:
handleV input: vector of Handles to Conduit objects
statusV input: vector of statuses
Returns:
ECA_NORMAL if all OK else ECAFE_INVALID_HANDLE (if one or more handles are invalid)

References ICAFE_NORMAL, and Connect::printStatus().

int Connect::printStatusIfError ( unsigned int handleArray,
unsigned int  nelem,
int statusArray 
) [inherited]

print status information of given handles only on error

Parameters:
handleArray input: array of Handles to Conduit objects
nelem input: size of array of handles
statusArray input: array of statuses
Returns:
ECA_NORMAL if all OK else ECAFE_INVALID_HANDLE (if one or more handles are invalid)

References ICAFE_NORMAL, and Connect::printStatus().

int Connect::printStatusIfError ( unsigned int  handle,
int  status 
) [inherited]

print status information of given handle only on error

Parameters:
handle input: handle to Conduit object
status input: reporting status
Returns:
ECA_NORMAL if all OK else ECAFE_INVALID_HANDLE

References ICAFE_NORMAL, and Connect::printStatus().

void Connect::printStatusMessage ( int  status  )  [inline, inherited]
int CAFE::resetCallbackGet ( const unsigned int  handle  ) 

reset callback for get operation to NOT_INITIATED / NOT_TRIGGERED

Parameters:
handle input: handle to Conduit object
Returns:
ICAFE_NORMAL if all OK else ECAFE_INVALID_HANDLE

References __METHOD__, cafeMutex, Connect::cafeStatus, channelRequestStatusGet, cs, ECAFE_INVALID_HANDLE, ICAFE_NORMAL, MUTEX, CAFEStatus::report(), ChannelRequestStatus::setCallbackKind(), ChannelRequestStatus::setCallbackStatus(), and Connect::status.

Referenced by get(), and waitForBundledEvents().

int CAFE::resetCallbackPut ( const unsigned int  handle  ) 

reset callback for set operation to NOT_INITIATED / NOT_TRIGGERED

Parameters:
handle input: handle to Conduit object
Returns:
ICAFE_NORMAL if all OK else ECAFE_INVALID_HANDLE

References __METHOD__, cafeMutex, Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, ICAFE_NORMAL, MUTEX, CAFEStatus::report(), ChannelRequestStatus::setCallbackKind(), ChannelRequestStatus::setCallbackStatus(), and Connect::status.

int CAFE::set ( const char *  pv,
const dbr_double_t  _val 
)

Set dbr_double_t

Parameters:
pv input: pv name
_val input: dbr_double_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const long long  _val 
)

Set long long

Parameters:
pv input: pv name
_val input:long long
Returns:
ECA_NORMAL if all OK else ECAFE error

References ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, set(), setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_long_t  _val 
)

Set dbr_long_t

Parameters:
pv input: pv name
_val input: dbr_long_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_char_t  _val 
)

Set dbr_char_t (unsigned char)

Parameters:
pv input: pv name
_val input: dbr_char_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_enum_t  _val 
)

Set dbr_enum_t (unsigned short)

Parameters:
pv input: pv name
_val input: dbr_enum_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_float_t  _val 
)

Set dbr_float_t

Parameters:
pv input: pv name
_val input: dbr_float_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_short_t  _val 
)

Set dbr_short_t

Parameters:
pv input: pv name
_val input: dbr_short_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_string_t  _val 
)

Set dbr_string_t

Parameters:
pv input: pv name
_val input: dbr_string_t (char[40])
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), setNelemToOne(), setNelemToPrevious(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_double_t *  val 
)

Set double(s)

Parameters:
pv input: pv name
val input: array of double
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeDoppio, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const long long val 
)

Set long long(s)

Parameters:
pv input: pv name
val input: array of long long
Returns:
ECA_NORMAL if all OK else ECAFE error

References ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_long_t *  val 
)

Set dbr_long_t(s)

Parameters:
pv input: pv name
val input: array of dbr_long_t
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeLatte, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_char_t *  val 
)

Set unsigned char(s)

Parameters:
pv input: pv name
val input: array of dbr_char_t (unsigned char)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeCappuccino, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_enum_t *  val 
)

Set dbr_enum_t(s)

Parameters:
pv input: pv name
val input: array ofdbr_enum_t (unsigned short)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeEspresso, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_float_t *  val 
)

Set float(s)

Parameters:
pv input: pv name
val input: array of float
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeFrappuccino, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_short_t *  val 
)

Set short(s)

Parameters:
pv input: pv name
val input: array of dbr_short_t (signed short)
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSchale, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const char *  pv,
const dbr_string_t *  val 
)

Set dbr_string_t(s)

Parameters:
pv input: pv name
val input: array of dbr_string_t (char[40])
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeSoluble, ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, Instant< CTYPE >::set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
const dbr_double_t *  _val,
int statusArray 
) [inline]
int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
const long long _val,
int statusArray 
)

Set an array of handles with long long(s).

Parameters:
handleArray input: array of handles
nelem input: number of elements defining size of array
_val input: array of long longs
statusArray output: array of corresponding status
Returns:
ECA_NORMAL if all OK else first ECAFE error encountered

References CAFE_NO_ACCESS, ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), ICAFE_CS_NEVER_CONN, ICAFE_NORMAL, and set().

int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
const dbr_long_t *  _val,
int statusArray 
) [inline]
int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
const dbr_char_t *  _val,
int statusArray 
) [inline]
int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
const dbr_enum_t *  _val,
int statusArray 
) [inline]
int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
const dbr_float_t *  _val,
int statusArray 
) [inline]
int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
const dbr_short_t *  _val,
int statusArray 
) [inline]
int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
const dbr_string_t *  _val,
int statusArray 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_double_t  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const long long  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_long_t  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_char_t  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_enum_t  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_float_t  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_short_t  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_string_t  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
string  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_double_t *  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const long long val 
)
int CAFE::set ( const unsigned int  handle,
const dbr_long_t *  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_char_t *  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_enum_t *  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_float_t *  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_short_t *  _val 
) [inline]
int CAFE::set ( const unsigned int  handle,
const dbr_string_t *  _val 
) [inline]
int CAFE::set ( const char *  pv,
PVDataHolder pvd 
)

Sets data as packaged in the PVDataHolder class

Parameters:
pv input: pv name
pvd in/output: PVDataHolder
Returns:
ECA_NORMAL if all OK else ECAFE error

References ICAFE_NORMAL, Connect::open(), CAFEException_open::pvEx, set(), Connect::status, and CAFEException_pv::statusCode.

int CAFE::set ( const unsigned int handleArray,
const unsigned int  nelem,
PVDataHolder pvdArray 
)

Sets data as packaged in an array of PVDataHolder class

Parameters:
handleArray input: Array of handles to Conduit object
nelem input: No of array elements
pvdArray outout: Array of PVDataHolder containing data
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References PVHolder::alarmSeverity, PVHolder::alarmStatus, cs, ECAFE_INVALID_HANDLE, CAFENUM::FLUSH_DESIGNATED_TO_CLIENT, PolicyHelper::getChannelRequestPolicyPut(), ICAFE_NORMAL, CAFENUM::NO_WAIT, Connect::policyHelper, set(), PolicyHelper::setChannelRequestPolicyPut(), ChannelRequestPolicy::setWaitKind(), ChannelRequestPolicy::setWhenToFlushSendBuffer(), PVHolder::status, and PVDataHolder::ts.

int CAFE::set ( const unsigned int  handle,
PVDataHolder pvd 
)
int CAFE::set ( vector< unsigned int handleV,
vector< dbr_double_t >  V,
vector< int > &  statusV 
)

set vector of dbr_double_t

Parameters:
handleV input: vector of handles
V input: vector of dbr_double_t (for WFs only first element is set)
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

int CAFE::set ( vector< unsigned int handleV,
vector< long long V,
vector< int > &  statusV 
)

set vector of long

Parameters:
handleV input: vector of handles
V input: vector of int (for WFs only first element is set)
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

int CAFE::set ( vector< unsigned int handleV,
vector< dbr_long_t >  V,
vector< int > &  statusV 
)

set vector of dbr_long_t

Parameters:
handleV input: vector of handles
V input: vector of dbr_long_t (for WFs only first element is set)
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

int CAFE::set ( vector< unsigned int handleV,
vector< dbr_char_t >  V,
vector< int > &  statusV 
)

set vector of dbr_char_t (unsigned char)

Parameters:
handleV input: vector of handles
V input: vector of dbr_char_t (for WFs only first element is set)
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

int CAFE::set ( vector< unsigned int handleV,
vector< dbr_enum_t >  V,
vector< int > &  statusV 
)

set vector of dbr_enum_t (unsigned short)

Parameters:
handleV input: vector of handles
V input: vector of dbr_enum_t (for WFs only first element is set)
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

int CAFE::set ( vector< unsigned int handleV,
vector< dbr_float_t >  V,
vector< int > &  statusV 
)

set vector of dbr_float_t

Parameters:
handleV input: vector of handles
V input: vector of floats (for WFs only first element is set)
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

int CAFE::set ( vector< unsigned int handleV,
vector< dbr_short_t >  V,
vector< int > &  statusV 
)

set vector of dbr_short_t

Parameters:
handleV input: vector of handles
V input: vector of shorts (for WFs only first element is set)
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

int CAFE::set ( vector< unsigned int handleV,
vector< string >  V,
vector< int > &  statusV 
)

set vector of string

Parameters:
handleV input: vector of handles
V input: vector of dbr_string_t (for WFs only first element is set)
statusV output: vector of longs
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

int CAFE::set ( const unsigned int  _handle,
vector< dbr_double_t >  V 
)

set vector of doubles

Parameters:
_handle input: handle
V input: vector of doubles
Returns:
ICAFE_NORMAL or ECAFE_TIMEOUT

References cafeDoppio, Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, Connect::handleHelper, CAFEStatus::report(), Instant< CTYPE >::set(), HandleHelper::setNelem(), and Connect::status.

int CAFE::set ( const unsigned int  _handle,
vector< long long V 
)

set vector of long

Parameters:
_handle input: handle
V input: vector of longs
Returns:
ICAFE_NORMAL if all OK

References ChannelRegalia::getCafeConnectionState(), Connect::getChannelInfo(), ChannelRegalia::getDataType(), and ICAFE_CS_NEVER_CONN.

int CAFE::set ( const unsigned int  _handle,
vector< dbr_long_t >  V 
)

set vector of dbr_long_t (int)

Parameters:
_handle input: handle
V input: vector of longs
Returns:
ICAFE_NORMAL if all OK

References cafeLatte, Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, Connect::handleHelper, CAFEStatus::report(), Instant< CTYPE >::set(), HandleHelper::setNelem(), and Connect::status.

int CAFE::set ( const unsigned int  _handle,
vector< dbr_char_t >  V 
)

set vector of dbr_char_t

Parameters:
_handle input: handle
V input: vector of unsigned chars
Returns:
ICAFE_NORMAL

References cafeCappuccino, Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, Connect::handleHelper, CAFEStatus::report(), Instant< CTYPE >::set(), HandleHelper::setNelem(), and Connect::status.

int CAFE::set ( const unsigned int  _handle,
vector< dbr_enum_t >  V 
)

set vector of dbr_enum_t

Parameters:
_handle input: handle
V input: vector of unsigned shorts
Returns:
ICAFE_NORMAL if all OK

References cafeEspresso, Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, Connect::handleHelper, CAFEStatus::report(), Instant< CTYPE >::set(), HandleHelper::setNelem(), and Connect::status.

int CAFE::set ( const unsigned int  _handle,
vector< dbr_float_t >  V 
)

set vector of dbr_float_t

Parameters:
_handle input: handle
V input: vector of floats
Returns:
ICAFE_NORMAL if all OK

References cafeFrappuccino, Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, Connect::handleHelper, CAFEStatus::report(), Instant< CTYPE >::set(), HandleHelper::setNelem(), and Connect::status.

int CAFE::set ( const unsigned int  _handle,
vector< dbr_short_t >  V 
)

set vector of dbr_short_t

Parameters:
_handle input: handle
V input: vector of short
Returns:
ICAFE_NORMAL if all OK

References cafeSchale, Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, Connect::handleHelper, CAFEStatus::report(), Instant< CTYPE >::set(), HandleHelper::setNelem(), and Connect::status.

int CAFE::set ( const unsigned int  _handle,
vector< string >  V 
)

set vector of dbr_string_t

Parameters:
_handle input: handle
V input: vector of strings
Returns:
ICAFE_NORMAL if all OK

References cafeSoluble, Connect::cafeStatus, cs, ECAFE_INVALID_HANDLE, Connect::handleHelper, CAFEStatus::report(), Instant< CTYPE >::set(), HandleHelper::setNelem(), and Connect::status.

Referenced by groupGetScalar(), set(), and setPVArray().

int CAFE::setAndGet ( const unsigned int  handleSet,
string  valSet,
string &  valGet 
) [inline]
int CAFE::setAndGet ( const unsigned int  handleSet,
dbr_string_t  valSet,
dbr_string_t &  valGet 
) [inline]
int CAFE::setAndGet ( const unsigned int  handleSet,
long long  valSet,
long long valGet 
) [inline]
int CAFE::setAndGet ( const unsigned int  handleSet,
dbr_long_t  valSet,
dbr_long_t &  valGet 
) [inline]
int CAFE::setAndGet ( const unsigned int  handleSet,
dbr_short_t  valSet,
dbr_short_t &  valGet 
) [inline]
int CAFE::setAndGet ( const unsigned int  handleSet,
dbr_enum_t  valSet,
dbr_enum_t &  valGet 
) [inline]
int CAFE::setAndGet ( const unsigned int  handleSet,
dbr_char_t  valSet,
dbr_char_t &  valGet 
) [inline]
int CAFE::setAndGet ( const unsigned int  handleSet,
dbr_float_t  valSet,
dbr_float_t &  valGet 
) [inline]
int CAFE::setAndGet ( const unsigned int  handleSet,
dbr_double_t  valSet,
dbr_double_t &  valGet 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
string  valSet,
const unsigned int  handleMatch,
string  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
dbr_string_t  valSet,
const unsigned int  handleMatch,
dbr_string_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
long long  valSet,
const unsigned int  handleMatch,
long long  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
dbr_long_t  valSet,
const unsigned int  handleMatch,
dbr_long_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
dbr_short_t  valSet,
const unsigned int  handleMatch,
dbr_short_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
dbr_enum_t  valSet,
const unsigned int  handleMatch,
dbr_enum_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
dbr_char_t  valSet,
const unsigned int  handleMatch,
dbr_char_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
dbr_float_t  valSet,
const unsigned int  handleMatch,
dbr_float_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatch ( const unsigned int  handleSet,
dbr_double_t  valSet,
const unsigned int  handleMatch,
dbr_double_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatchMany ( vector< unsigned int handleSetV,
vector< string >  valSetV,
vector< unsigned int handleMatchV,
string  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatchMany ( vector< unsigned int handleSet,
vector< long long valSet,
vector< unsigned int handleMatch,
long long  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatchMany ( vector< unsigned int handleSet,
vector< dbr_long_t >  valSet,
vector< unsigned int handleMatch,
dbr_long_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatchMany ( vector< unsigned int handleSet,
vector< dbr_short_t >  valSet,
vector< unsigned int handleMatch,
dbr_short_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatchMany ( vector< unsigned int handleSet,
vector< dbr_enum_t >  valSet,
vector< unsigned int handleMatch,
dbr_enum_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatchMany ( vector< unsigned int handleSet,
vector< dbr_char_t >  valSet,
vector< unsigned int handleMatch,
dbr_char_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatchMany ( vector< unsigned int handleSet,
vector< dbr_float_t >  valSet,
vector< unsigned int handleMatch,
dbr_float_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setAndMatchMany ( vector< unsigned int handleSet,
vector< dbr_double_t >  valSet,
vector< unsigned int handleMatch,
dbr_double_t  tolerance,
double  timeout,
bool  printFlag 
) [inline]
int CAFE::setChar ( const unsigned int  handle,
const dbr_char_t  _val 
) [inline]
int CAFE::setCharArray ( const unsigned int  handle,
const dbr_char_t *  _val 
) [inline]
void Connect::setDeviceAttributeDeliminator ( std::string  d  )  [inline, inherited]
int CAFE::setDouble ( const unsigned int  handle,
const dbr_double_t  _val 
) [inline]
int CAFE::setDoubleArray ( const unsigned int  handle,
const dbr_double_t *  _val 
) [inline]
int CAFE::setFloat ( const unsigned int  handle,
const dbr_float_t  _val 
) [inline]
int CAFE::setLong ( const unsigned int  handle,
const dbr_long_t  _val 
) [inline]
int CAFE::setLongArray ( const unsigned int  handle,
const dbr_long_t *  _val 
) [inline]
int CAFE::setLongLong ( const unsigned int  handle,
const long long  _val 
) [inline]
unsigned int CAFE::setNelemToOne ( const unsigned int  handle  ) 

Helper function to methods calling scalars Sets number of elements to one

Parameters:
handle input: handle to Conduit object
Returns:
nelements previous to the set

References __METHOD__, HandleHelper::getNelemClient(), Connect::handleHelper, and HandleHelper::setNelem().

Referenced by get(), getCache(), getCacheLong(), getCacheString(), getScalars(), and set().

unsigned int CAFE::setNelemToPrevious ( const unsigned int  handle,
unsigned int  nelemPrevious 
)

Helper function to methods calling scalars Sets number of elements to the "previous" number.

Parameters:
handle input: handle to Conduit object
nelemPrevious input: nelem to set
Returns:
nelements actually set (should equal nelemPrevious)

References __METHOD__, HandleHelper::getNelemClient(), HandleHelper::getNelemNative(), Connect::handleHelper, and HandleHelper::setNelem().

Referenced by get(), getCache(), getCacheLong(), getCacheString(), and set().

unsigned int CAFE::setNelemToRetrieveFromCacheToOne ( const unsigned int  handle  ) 

Helper function to methods calling scalars Sets number of elements to retrieve from cache to one

Parameters:
handle input: handle to Conduit object
Returns:
nelements previous to the set

References __METHOD__, HandleHelper::getNelemRequest(), HandleHelper::getNelemToRetrieveFromCache(), Connect::handleHelper, and HandleHelper::setNelemToRetrieveFromCache().

Referenced by getCache(), getCache(), and getCacheString().

unsigned int CAFE::setNelemToRetrieveFromCacheToPrevious ( const unsigned int  handle,
unsigned int  nelemPrevious 
)

Helper function to methods calling scalars Sets number of elements to retrieve from cache to the "previous" number

Parameters:
handle input: handle to Conduit object
nelemPrevious input: nelem to set
Returns:
nelements actually set (should equal nelemPrevious)

References __METHOD__, Connect::handleHelper, and HandleHelper::setNelemToRetrieveFromCache().

Referenced by getCache(), getCache(), and getCacheString().

double Connect::setOpenDefaultPendTime ( double  _timeout  )  [inline, inherited]
int Connect::setPVAlias ( unsigned int  handle,
const char *  _pvAlias 
) throw (CAFEException_open) [inherited]

Defines a pv alias for pv and adds this to multi-index hash table.

Parameters:
handle input: handle
_pvAlias input: process variable alias
Exceptions:
CAFEException_pvOopen if unable to set an alias
Returns:
status ICAFE_NORMAL if OK

References __METHOD__, cafeMutex, cs, ECAFE_INVALID_HANDLE, ECAFE_PVALIAS_INVALID, ECAFE_PVALIAS_PREV_DEF, ICAFE_NORMAL, MUTEX, CAFEException_open::pvEx, PVNAME_SIZE, and Helper::removeLeadingAndTrailingSpaces().

int CAFE::setPVArray ( vector< unsigned int handleV,
PVDataHolder pvd 
)

set values as given in pvd struct

Parameters:
handleV input: vector of handles
pvd input: PVDataHolder *
Returns:
overallStatus is ICAFE_NORMAL or report of first failure

References ICAFE_NORMAL, and set().

bool Connect::setPyCafe ( bool  b  )  [inline, inherited]

References Connect::pyCafeFlag.

int CAFE::setShort ( const unsigned int  handle,
const dbr_short_t  _val 
) [inline]
int CAFE::setString ( const unsigned int  handle,
const string  _val 
) [inline]
int CAFE::setStringArray ( const unsigned int  handle,
const dbr_string_t *  _val 
) [inline]
int CAFE::setUShort ( const unsigned int  handle,
const dbr_enum_t  _val 
) [inline]
int CAFE::setVChar ( const unsigned int  handle,
vector< dbr_char_t >  V 
) [inline]
int CAFE::setVDouble ( const unsigned int  handle,
vector< dbr_double_t >  V 
) [inline]
int CAFE::setVFloat ( const unsigned int  handle,
vector< dbr_float_t >  V 
) [inline]
int CAFE::setVLong ( const unsigned int  handle,
vector< dbr_long_t >  V 
) [inline]
int CAFE::setVShort ( const unsigned int  handle,
vector< dbr_short_t >  V 
) [inline]
int CAFE::setVString ( const unsigned int  handle,
vector< string >  V 
) [inline]
int CAFE::setVUShort ( const unsigned int  handle,
vector< dbr_enum_t >  V 
) [inline]
int CAFE::setVVChar ( vector< unsigned int handleV,
vector< dbr_char_t >  V,
vector< int > &  statusV 
) [inline]
int CAFE::setVVDouble ( vector< unsigned int handleV,
vector< dbr_double_t >  V,
vector< int > &  statusV 
) [inline]
int CAFE::setVVLong ( vector< unsigned int handleV,
vector< dbr_long_t >  V,
vector< int > &  statusV 
) [inline]
int CAFE::setVVString ( vector< unsigned int handleV,
vector< string >  V,
vector< int > &  statusV 
) [inline]
int CAFE::snapshot2XML ( PVGroup  pg  ) 

snapshot2XML
Takes a PVGroup snapshot and writes data to a timestamped file
in the directory defined the by CAFE_SAR_PATH environment variable

Parameters:
pg input: PVGroup pg
Returns:
ICAFE_NORMAL if OK else first ECAFE/ICAFE error encountered

References HandleHelper::getChannelRegalia(), PVGroup::getGroupHandle(), HandleHelper::getHandleFromPVWithinGroup(), Connect::getHandleHelper(), Connect::getInfo(), PVGroup::getName(), PVGroup::getNPV(), PVGroup::getPVData(), Connect::getStatus(), ChannelRegalia::getWriteAccess(), groupGet(), and PVGroup::npv.

int Connect::terminate ( ca_client_context *  cctLocal  )  [inherited]

Closes all channels within the given context and their respective handles
Shuts down the given channel access client context and frees allocated resources
contextDestroy is not essential as resources are normally automatically released by the system.

Returns:
ECA_NORMAL if all OK or ECAFE_NULLCONTEXT if ca client context does not exist

References Connect::cafeStatus, Connect::closeChannels(), Connect::contextDestroy(), ECAFE_NULLCONTEXT, Connect::groupHandleErase(), ICAFE_NORMAL, Connect::monitorStop(), and CAFEStatus::report().

int Connect::terminate (  )  [inherited]

Closes all channels within a given context and all handles for all contexts
Shuts down the local channel access client context and frees allocated resources
contextDestroy is not essential as resources are normally automatically released by the system.

Returns:
ECA_NORMAL if all OK or ECAFE_NULLCONTEXT if ca client context does not exist

References Connect::cafeStatus, Connect::closeHandles(), Connect::contextDestroy(), deviceCollectionV, ECAFE_NULLCONTEXT, globalChannelList, Connect::groupHandleErase(), ConduitGroup::groupHandleNext, groupPseudoMap, Conduit::handleNext, ICAFE_NORMAL, MonitorPolicy::idNext, Connect::monitorStop(), PVGroupPseudo, PVGroupV, and CAFEStatus::report().

Referenced by main().

int Connect::updateAccessRead ( unsigned int  handle,
int  ar 
) [inline, inherited]
int Connect::updateAccessWrite ( unsigned int  handle,
int  aw 
) [inline, inherited]
int CAFE::waitForBundledEvents ( unsigned int handleArray,
unsigned int  nHandles,
vector< int > &  vRB 
)

Waits until all handle callbacks have reported or timed out

Parameters:
handleArray input: Array of handles to Conduit objects
nHandles input: Lemgth of handleArray
vRB output: vector of Bundled responses (reporting whether callback was completed)
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References __METHOD__, cafeGranules, ICAFE_NORMAL, int, resetCallbackGet(), and Granules::waitForManyGetEvents().

int CAFE::waitForBundledEvents ( vector< unsigned int handleV,
vector< int > &  vRB 
)

Waits until all handle callbacks have reported or timed out

Parameters:
handleV input: Vector of handles to Conduit objects
vRB output: vector of Bundled responses (reporting whether callback was completed)
Returns:
overallStatus: ICAFE_NORMAL if all OK else first ECAFE error encountered

References __METHOD__, cafeGranules, ICAFE_NORMAL, resetCallbackGet(), and Granules::waitForManyGetEvents().

Referenced by getScalars().

int CAFE::waitForGetEvent ( unsigned int  handle  ) 

Waits until handle callbacks has reported or timed out

Parameters:
handle input: Handle to Conduit objects
Returns:
overallStatus: ICAFE_NORMAL if all OK else ECAFE error if encountered

References cafeGranules, cs, ECAFE_INVALID_HANDLE, and Granules::waitForGetEvent().

int CAFE::waitForPut ( const unsigned int h,
const unsigned int  nelem 
)

waitForPut

Parameters:
h input: Array of hanldes
nelem input:No of elements in Array
Returns:
ECA_NORMAL if all OK else ECAFE error

References cafeGranules, cs, ECAFE_INVALID_HANDLE, ChannelTimeoutPolicy::getTimeout(), ICAFE_NORMAL, Connect::status, and Granules::waitForPutEvent().


Member Data Documentation

Instant<dbr_char_t> CAFE::cafeCappuccino [private]

Referenced by get(), getCache(), getCacheVDouble(), and set().

Instant<dbr_double_t> CAFE::cafeDoppio [private]

Referenced by get(), getCache(), and set().

Instant<dbr_enum_t> CAFE::cafeEspresso [private]

Referenced by get(), getCache(), getCacheShortArray(), and set().

Instant<dbr_float_t> CAFE::cafeFrappuccino [private]

Referenced by get(), getCache(), and set().

Instant<dbr_long_t> CAFE::cafeLatte [private]

Referenced by get(), getCache(), and set().

Instant<dbr_short_t> CAFE::cafeSchale [private]

Referenced by get(), getCache(), getCacheLong(), and set().

Instant<dbr_string_t> CAFE::cafeSoluble [private]
CAFEStatus Connect::cafeStatus [protected, inherited]

Referenced by getCtrl().

Referenced by set().

Referenced by getCtrlCache().

Referenced by groupGet().

Referenced by groupSet().

std::string Connect::deviceAttributeDeliminator [protected, inherited]
HandleHelper Connect::handleHelper [protected, inherited]
Helper Connect::helper [protected, inherited]
cafeConduit_set::iterator Connect::itcs [protected, inherited]
cafeGroup_set::iterator Connect::itgs [protected, inherited]
PolicyHelper Connect::policyHelper [protected, inherited]
bool Connect::pyCafeFlag [protected, inherited]
Transpose<dbr_char_t> CAFE::renderChar [private]

Referenced by groupSet(), and set().

Transpose<dbr_double_t> CAFE::renderDouble [private]

Referenced by groupSet(), and set().

Transpose<dbr_enum_t> CAFE::renderEnum [private]

Referenced by groupSet(), and set().

Transpose<dbr_float_t> CAFE::renderFloat [private]

Referenced by groupSet(), and set().

Transpose<dbr_long_t> CAFE::renderLong [private]

Referenced by groupSet(), and set().

Transpose<dbr_short_t> CAFE::renderShort [private]

Referenced by groupSet(), and set().

Transpose<dbr_string_t> CAFE::renderString [private]

Referenced by groupSet(), and set().

int Connect::status [protected, inherited]

Referenced by CAFE(), get(), and getCache().


The documentation for this class was generated from the following files:

Generated on 3 May 2017 for CAFE by  doxygen 1.6.1