The base class from which the PVDataHolder and PVCtrlHolder classes are derived. More...
#include <PVHolder.h>
Public Types | |
typedef boost::shared_ptr < CAFE_DATATYPE_UNION[]> | ValPtr |
typedef boost::shared_ptr < double[]> | ValDPtr |
typedef boost::shared_ptr< float[]> | ValFPtr |
typedef boost::shared_ptr< short[]> | ValSPtr |
typedef boost::shared_ptr< int[]> | ValIPtr |
typedef boost::shared_ptr < unsigned char[]> | ValChPtr |
typedef boost::shared_ptr < unsigned short[]> | ValUSPtr |
typedef boost::shared_ptr < dbr_string_t[]> | ValStrPtr |
Public Member Functions | |
void | setUserNo (unsigned int un) |
unsigned int | getUserNo () |
void | setRule (bool r) |
void | setBeamEventNo (unsigned long long b) |
void | setPulseID (unsigned long long b) |
void | setStatus (int st) |
void | setAlarmStatus (int ast) |
void | setAlarmSeverity (int asev) |
const char * | getPV () const |
const char * | getPVName () const |
const char * | getPVAlias () const |
const char * | getDevice () const |
const char * | getAttribute () const |
unsigned int | getNelem () const |
const unsigned int | getSize () const |
CAFE_DATATYPE_UNION_SEQ | getVal () const |
short | getAlarmStatus () const |
short | getAlarmSeverity () const |
std::string | getAlarmStatusAsString () |
std::string | getAlarmSeverityAsString () |
unsigned long long | getBeamEventNo () const |
unsigned long long | getPulseID () const |
bool | getRule () const |
bool | getHasAlarm () const |
int | getStatus () const |
std::string | getStatusAsString () |
CAFE_DATATYPE | getDataTypeClient () const |
CAFE_DATATYPE | getDataType () const |
CAFEStatusCode | getStatusCode () const |
short | getNoEnumStrings () const |
char * | getEnumString (short indx) const |
void | setDataType (CAFE_DATATYPE cdt) |
void | set (double d) |
void | set (float f) |
void | set (short s) |
void | set (long long l) |
void | set (int l) |
void | set (unsigned long long l) |
void | setString (std::string str) |
void | setDouble (double d) |
void | setInt (int l) |
void | setVString (std::vector< std::string > Vstr) |
void | setVDouble (std::vector< double > Vd) |
void | setVInt (std::vector< int > Vl) |
void | set (std::vector< std::string > Vstr) |
void | set (std::vector< double > Vd) |
void | set (std::vector< float > Vf) |
void | set (std::vector< int > Vl) |
void | set (std::vector< long > Vl) |
void | set (std::vector< unsigned long > Vul) |
void | set (std::vector< long long > Vll) |
void | set (std::vector< unsigned long long > Vull) |
void | set (std::vector< short > Vs) |
void | set (std::vector< unsigned short > Vus) |
void | set (std::vector< unsigned char > Vc) |
void | set (unsigned int l) |
void | set (unsigned short us) |
void | set (unsigned char ch) |
void | set (dbr_string_t str) |
void | set (std::string str) |
void | set (double *d) |
void | set (float *f) |
void | set (short *s) |
void | set (long long *ll) |
void | set (unsigned long long *ll) |
void | set (int *l) |
void | set (unsigned int *l) |
void | set (unsigned short *us) |
void | set (unsigned char *ch) |
void | set (dbr_string_t *str) |
void | set (std::string *str) |
std::string | concatToString () |
std::string | getWFAsString () |
double | getDouble (unsigned int idx) |
float | getFloat (unsigned int idx) |
short | getShort (unsigned int idx) |
int | getInt (unsigned int idx) |
int | getLong (unsigned int idx) |
unsigned short | getEnum (unsigned int idx) |
unsigned short | getUShort (unsigned int idx) |
unsigned char | getChar (unsigned int idx) |
dbr_string_t * | getString (unsigned int idx) |
boost::shared_ptr< std::vector < double > > | getAsVDouble () |
boost::shared_ptr< std::vector < float > > | getAsVFloat () |
boost::shared_ptr< std::vector < int > > | getAsVInt () |
boost::shared_ptr< std::vector < long > > | getAsVLong () |
boost::shared_ptr< std::vector < unsigned long > > | getAsVULong () |
boost::shared_ptr< std::vector < long long > > | getAsVLongLong () |
boost::shared_ptr< std::vector < unsigned long long > > | getAsVULongLong () |
boost::shared_ptr< std::vector < short > > | getAsVShort () |
boost::shared_ptr< std::vector < unsigned short > > | getAsVUShort () |
boost::shared_ptr< std::vector < unsigned char > > | getAsVUChar () |
boost::shared_ptr< std::vector < std::string > > | getAsVString () |
std::vector< std::string > | getAsVectorString () |
std::vector< float > | getAsVectorFloat () |
std::vector< double > | getAsVectorDouble () |
std::vector< int > | getAsVectorInt () |
std::vector< long > | getAsVectorLong () |
std::vector< unsigned long > | getAsVectorULong () |
std::vector< long long > | getAsVectorLongLong () |
std::vector< unsigned long long > | getAsVectorULongLong () |
std::vector< short > | getAsVectorShort () |
std::vector< unsigned short > | getAsVectorUShort () |
std::vector< unsigned char > | getAsVectorUChar () |
ValDPtr | getDouble () |
ValFPtr | getFloat () |
ValSPtr | getShort () |
ValIPtr | getInt () |
ValIPtr | getLong () |
ValUSPtr | getEnum () |
ValUSPtr | getUShort () |
ValChPtr | getChar () |
ValStrPtr | getString () |
double | getAsDouble () |
double | getAsDouble (unsigned int idx) throw (std::out_of_range) |
float | getAsFloat () |
float | getAsFloat (unsigned int idx) throw (std::out_of_range) |
short | getAsShort () |
short | getAsShort (unsigned int idx) throw (std::out_of_range) |
int | getAsLong () |
int | getAsLong (unsigned int idx) throw (std::out_of_range) |
unsigned short | getAsEnum () |
unsigned short | getAsEnum (unsigned int idx) throw (std::out_of_range) |
unsigned short | getAsUShort () |
unsigned short | getAsUShort (unsigned int idx) throw (std::out_of_range) |
unsigned char | getAsChar () |
unsigned char | getAsChar (unsigned int idx) throw (std::out_of_range) |
unsigned char | getAsUChar () |
unsigned char | getAsUChar (unsigned int idx) throw (std::out_of_range) |
unsigned int | getAsULong () |
unsigned int | getAsULong (unsigned int idx) throw (std::out_of_range) |
long long | getAsLongLong () |
long long | getAsLongLong (unsigned int idx) throw (std::out_of_range) |
unsigned long long | getAsULongLong () |
unsigned long long | getAsULongLong (unsigned int idx) throw (std::out_of_range) |
int | getAsInt () |
int | getAsInt (unsigned int idx) throw (std::out_of_range) |
unsigned int | getAsUInt () |
unsigned int | getAsUInt (unsigned int idx) throw (std::out_of_range) |
std::string | getEnumIntegerValueAsString () |
std::string | getAsString () |
std::string | getAsString (unsigned int idx) throw (std::out_of_range) |
char * | getAsDbr_string_t () |
char * | getAsDbr_string_t (unsigned int idx) throw (std::out_of_range) |
double | getAsDouble (CAFE_DATATYPE_UNION cdu) |
float | getAsFloat (CAFE_DATATYPE_UNION cdu) |
short | getAsShort (CAFE_DATATYPE_UNION cdu) |
int | getAsLong (CAFE_DATATYPE_UNION cdu) |
unsigned short | getAsEnum (CAFE_DATATYPE_UNION cdu) |
unsigned short | getAsUShort (CAFE_DATATYPE_UNION cdu) |
char | getAsChar (CAFE_DATATYPE_UNION cdu) |
unsigned char | getAsUChar (CAFE_DATATYPE_UNION cdu) |
std::string | getAsString (CAFE_DATATYPE_UNION cdu) |
char * | getAsDbr_string_t (CAFE_DATATYPE_UNION cdu) |
Public Attributes | |
ValPtr | val |
boost::shared_ptr< std::vector < double > > | ValVD_ptr |
boost::shared_ptr< std::vector < float > > | ValVF_ptr |
boost::shared_ptr< std::vector < short > > | ValVS_ptr |
boost::shared_ptr< std::vector < int > > | ValVI_ptr |
boost::shared_ptr< std::vector < long > > | ValVL_ptr |
boost::shared_ptr< std::vector < unsigned long > > | ValVUL_ptr |
boost::shared_ptr< std::vector < long long > > | ValVLL_ptr |
boost::shared_ptr< std::vector < unsigned long long > > | ValVULL_ptr |
boost::shared_ptr< std::vector < unsigned char > > | ValVC_ptr |
boost::shared_ptr< std::vector < unsigned short > > | ValVUS_ptr |
boost::shared_ptr< std::vector < std::string > > | ValVStr_ptr |
ValDPtr | ValD_ptr |
ValFPtr | ValF_ptr |
ValSPtr | ValS_ptr |
ValIPtr | ValI_ptr |
ValChPtr | ValCh_ptr |
ValUSPtr | ValUS_ptr |
ValStrPtr | ValStr_ptr |
Protected Member Functions | |
void | verifyIndex (unsigned int idx) |
bool | isIndexOutOfRange (unsigned int idx) |
Protected Attributes | |
char | pv [PVNAME_SIZE] |
char | pvAlias [PVNAME_SIZE] |
char | device [PVNAME_SIZE] |
char | attrib [PVNAME_SIZE] |
CAFE_DATATYPE | dataTypeNative |
CAFE_DATATYPE | dataType |
CAFEDataTypeCode | cafeDataTypeCode |
CAFEStatusCode | cafeStatusCode |
chtype | dbrDataType |
unsigned int | size |
unsigned int | nelem |
short | alarmStatus |
short | alarmSeverity |
CAFEGlobalAlarmCondition | acond |
CAFEGlobalAlarmSeverity | aseve |
unsigned int | userNo |
unsigned long long | beamEventNo |
bool | rule |
bool | hasAlarm |
int | status |
short | noStr |
char | strs [MAX_ENUM_STATES][MAX_ENUM_STRING_SIZE] |
CAFEConvert< double > | renderDouble |
CAFEConvert< float > | renderFloat |
CAFEConvert< short > | renderShort |
CAFEConvert< int > | renderLong |
CAFEConvert< unsigned short > | renderEnum |
CAFEConvert< unsigned char > | renderUChar |
CAFEConvert< dbr_string_t > | renderString |
CAFEConvert< char > | renderChar |
CAFEConvert< unsigned int > | renderULong |
CAFEConvert< long long > | renderLongLong |
CAFEConvert< unsigned long long > | renderULongLong |
CAFEConvert< int > | renderInt |
CAFEConvert< unsigned int > | renderUInt |
The base class from which the PVDataHolder and PVCtrlHolder classes are derived.
typedef boost::shared_ptr<unsigned char []> PVHolder::ValChPtr |
typedef boost::shared_ptr<double []> PVHolder::ValDPtr |
typedef boost::shared_ptr<float []> PVHolder::ValFPtr |
typedef boost::shared_ptr<int []> PVHolder::ValIPtr |
typedef boost::shared_ptr<CAFE_DATATYPE_UNION []> PVHolder::ValPtr |
typedef boost::shared_ptr<short []> PVHolder::ValSPtr |
typedef boost::shared_ptr<dbr_string_t []> PVHolder::ValStrPtr |
typedef boost::shared_ptr<unsigned short []> PVHolder::ValUSPtr |
std::string PVHolder::concatToString | ( | ) | [inline] |
References CAFE_CHAR, dataTypeNative, nelem, and val.
Referenced by main().
short PVHolder::getAlarmSeverity | ( | ) | const [inline] |
References alarmSeverity.
Referenced by main().
std::string PVHolder::getAlarmSeverityAsString | ( | ) | [inline] |
References alarmSeverity, aseve, and CAFEGlobalAlarmSeverity::asString().
short PVHolder::getAlarmStatus | ( | ) | const [inline] |
References alarmStatus.
Referenced by main().
std::string PVHolder::getAlarmStatusAsString | ( | ) | [inline] |
References acond, alarmStatus, and CAFEGlobalAlarmCondition::asString().
char PVHolder::getAsChar | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), and renderChar.
unsigned char PVHolder::getAsChar | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderChar, size, and val.
unsigned char PVHolder::getAsChar | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderChar, and val.
Referenced by getAsVUChar(), CAFE::groupGetScalar(), and main().
char* PVHolder::getAsDbr_string_t | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::getString(), and renderString.
char* PVHolder::getAsDbr_string_t | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
char* PVHolder::getAsDbr_string_t | ( | ) | [inline] |
References CAFE_ENUM, dataType, dataTypeNative, CAFEConvert< CTYPE >::getString(), CAFEConvert< CTYPE >::getStringFromEnum(), noStr, renderString, strs, and val.
Referenced by main().
double PVHolder::getAsDouble | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), and renderDouble.
double PVHolder::getAsDouble | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderDouble, size, and val.
double PVHolder::getAsDouble | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderDouble, and val.
Referenced by getAsVDouble(), PVCtrlHolder::getLowerAlarmLimit_AsDouble(), PVCtrlHolder::getLowerCtrlLimit_AsDouble(), PVCtrlHolder::getLowerDispLimit_AsDouble(), PVCtrlHolder::getLowerWarningLimit_AsDouble(), PVCtrlHolder::getUpperAlarmLimit_AsDouble(), PVCtrlHolder::getUpperCtrlLimit_AsDouble(), PVCtrlHolder::getUpperDispLimit_AsDouble(), PVCtrlHolder::getUpperWarningLimit_AsDouble(), CAFE::groupGetScalar(), and main().
unsigned short PVHolder::getAsEnum | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), and renderEnum.
unsigned short PVHolder::getAsEnum | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderEnum, size, and val.
unsigned short PVHolder::getAsEnum | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderEnum, and val.
float PVHolder::getAsFloat | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), and renderFloat.
float PVHolder::getAsFloat | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderFloat, size, and val.
float PVHolder::getAsFloat | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderFloat, and val.
Referenced by getAsVFloat(), CAFE::groupGetScalar(), and main().
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderInt, size, and val.
int PVHolder::getAsInt | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderInt, and val.
Referenced by getAsVInt().
int PVHolder::getAsLong | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), and renderLong.
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderLong, size, and val.
int PVHolder::getAsLong | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderLong, and val.
Referenced by getAsVLong(), CAFE::groupGetScalar(), and main().
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderLongLong, size, and val.
References dataType, CAFEConvert< CTYPE >::get(), renderLongLong, and val.
Referenced by MonitorPolicy::callbackHandlerMonitor(), getAsVLongLong(), CAFE::groupGetScalar(), and main().
short PVHolder::getAsShort | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), and renderShort.
short PVHolder::getAsShort | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderShort, size, and val.
short PVHolder::getAsShort | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderShort, and val.
Referenced by getAsVShort(), CAFE::groupGetScalar(), and main().
std::string PVHolder::getAsString | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::getString(), and renderString.
std::string PVHolder::getAsString | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
std::string PVHolder::getAsString | ( | ) | [inline] |
References dataType, dataTypeNative, CAFEConvert< CTYPE >::getString(), CAFEConvert< CTYPE >::getStringFromEnum(), noStr, renderString, strs, and val.
Referenced by callbackHandlerMonitor(), getAsVString(), PVCtrlHolder::getLowerAlarmLimit_AsString(), PVCtrlHolder::getLowerCtrlLimit_AsString(), PVCtrlHolder::getLowerDispLimit_AsString(), PVCtrlHolder::getLowerWarningLimit_AsString(), PVCtrlHolder::getUpperAlarmLimit_AsString(), PVCtrlHolder::getUpperCtrlLimit_AsString(), PVCtrlHolder::getUpperDispLimit_AsString(), PVCtrlHolder::getUpperWarningLimit_AsString(), CAFE::groupGetScalar(), handlerGet(), main(), PVDataHolder::print(), and PVCtrlHolder::print().
unsigned char PVHolder::getAsUChar | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), and renderUChar.
unsigned char PVHolder::getAsUChar | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderUChar, size, and val.
unsigned char PVHolder::getAsUChar | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderUChar, and val.
Referenced by CAFE::groupGetScalar().
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderInt, size, and val.
unsigned int PVHolder::getAsUInt | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderInt, and val.
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderULong, size, and val.
unsigned int PVHolder::getAsULong | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderULong, and val.
Referenced by getAsVULong(), and main().
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderULongLong, size, and val.
References dataType, CAFEConvert< CTYPE >::get(), renderULongLong, and val.
Referenced by getAsVULongLong(), CALLBACK_CAFE::handlerPulseID(), and main().
unsigned short PVHolder::getAsUShort | ( | CAFE_DATATYPE_UNION | cdu | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), and renderEnum.
unsigned short PVHolder::getAsUShort | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
References dataType, CAFEConvert< CTYPE >::get(), isIndexOutOfRange(), renderEnum, size, and val.
unsigned short PVHolder::getAsUShort | ( | ) | [inline] |
References dataType, CAFEConvert< CTYPE >::get(), renderEnum, and val.
Referenced by getAsVUShort(), CAFE::groupGetScalar(), and main().
boost::shared_ptr<std::vector<double> > PVHolder::getAsVDouble | ( | ) | [inline] |
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsDouble(), nelem, val, and ValVD_ptr.
Referenced by getAsVectorDouble(), and main().
std::vector<double> PVHolder::getAsVectorDouble | ( | ) | [inline] |
References getAsVDouble().
std::vector<float> PVHolder::getAsVectorFloat | ( | ) | [inline] |
References getAsVFloat().
std::vector<int> PVHolder::getAsVectorInt | ( | ) | [inline] |
References getAsVInt().
std::vector<long> PVHolder::getAsVectorLong | ( | ) | [inline] |
References getAsVLong().
References getAsVLongLong().
std::vector<short> PVHolder::getAsVectorShort | ( | ) | [inline] |
References getAsVShort().
std::vector<std::string> PVHolder::getAsVectorString | ( | ) | [inline] |
References getAsVString().
std::vector<unsigned char> PVHolder::getAsVectorUChar | ( | ) | [inline] |
References getAsVUChar().
std::vector<unsigned long> PVHolder::getAsVectorULong | ( | ) | [inline] |
References getAsVULong().
References getAsVULongLong().
std::vector<unsigned short> PVHolder::getAsVectorUShort | ( | ) | [inline] |
References getAsVUShort().
boost::shared_ptr<std::vector<float> > PVHolder::getAsVFloat | ( | ) | [inline] |
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsFloat(), nelem, val, ValVD_ptr, and ValVF_ptr.
Referenced by getAsVectorFloat(), and main().
boost::shared_ptr<std::vector<int> > PVHolder::getAsVInt | ( | ) | [inline] |
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsInt(), nelem, val, and ValVI_ptr.
Referenced by getAsVectorInt().
boost::shared_ptr<std::vector<long> > PVHolder::getAsVLong | ( | ) | [inline] |
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsLong(), nelem, val, and ValVL_ptr.
Referenced by getAsVectorLong().
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsLongLong(), nelem, val, and ValVLL_ptr.
Referenced by getAsVectorLongLong().
boost::shared_ptr<std::vector<short> > PVHolder::getAsVShort | ( | ) | [inline] |
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsShort(), nelem, val, and ValVS_ptr.
Referenced by getAsVectorShort().
boost::shared_ptr<std::vector<std::string> > PVHolder::getAsVString | ( | ) | [inline] |
References getAsString(), nelem, and ValVStr_ptr.
Referenced by getAsVectorString().
boost::shared_ptr<std::vector<unsigned char> > PVHolder::getAsVUChar | ( | ) | [inline] |
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsChar(), nelem, val, and ValVC_ptr.
Referenced by getAsVectorUChar().
boost::shared_ptr<std::vector<unsigned long> > PVHolder::getAsVULong | ( | ) | [inline] |
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsULong(), nelem, val, and ValVUL_ptr.
Referenced by getAsVectorULong().
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsULongLong(), nelem, val, and ValVULL_ptr.
Referenced by getAsVectorULongLong().
boost::shared_ptr<std::vector<unsigned short> > PVHolder::getAsVUShort | ( | ) | [inline] |
References CAFE_CHAR, CAFE_DOUBLE, CAFE_ENUM, CAFE_FLOAT, CAFE_LONG, CAFE_SHORT, CAFE_STRING, dataType, getAsUShort(), nelem, val, and ValVUS_ptr.
Referenced by getAsVectorUShort().
const char* PVHolder::getAttribute | ( | void | ) | const [inline] |
References attrib.
Referenced by Connect::getPVData(), and main().
References beamEventNo.
ValChPtr PVHolder::getChar | ( | ) | [inline] |
References __METHOD__, CAFE_CHAR, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValCh_ptr.
CAFE_DATATYPE PVHolder::getDataType | ( | ) | const [inline] |
CAFE_DATATYPE PVHolder::getDataTypeClient | ( | ) | const [inline] |
References dataType.
const char* PVHolder::getDevice | ( | ) | const [inline] |
References device.
Referenced by Connect::getPVData(), and main().
ValDPtr PVHolder::getDouble | ( | ) | [inline] |
References __METHOD__, CAFE_DOUBLE, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValD_ptr.
ValUSPtr PVHolder::getEnum | ( | ) | [inline] |
References __METHOD__, CAFE_ENUM, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValUS_ptr.
std::string PVHolder::getEnumIntegerValueAsString | ( | ) | [inline] |
References __METHOD__, CAFE_ENUM, cafeDataTypeCode, dataType, CAFEConvert< CTYPE >::getString(), CAFEDataTypeCode::message(), renderString, and val.
char* PVHolder::getEnumString | ( | short | indx | ) | const [inline] |
Reimplemented in PVCtrlHolder.
References strs.
ValFPtr PVHolder::getFloat | ( | ) | [inline] |
References __METHOD__, CAFE_FLOAT, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValF_ptr.
ValIPtr PVHolder::getInt | ( | ) | [inline] |
References __METHOD__, CAFE_LONG, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValI_ptr.
ValIPtr PVHolder::getLong | ( | ) | [inline] |
References __METHOD__, CAFE_LONG, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValI_ptr.
unsigned int PVHolder::getNelem | ( | ) | const [inline] |
References nelem.
Referenced by restorePVGroupXMLParser::characters(), CAFE::getCtrl(), CAFE::groupGet(), CAFE::groupSet(), main(), and CAFE::set().
short PVHolder::getNoEnumStrings | ( | ) | const [inline] |
Reimplemented in PVCtrlHolder.
References noStr.
References beamEventNo.
Referenced by change_mapPulseID::operator()().
bool PVHolder::getRule | ( | ) | const [inline] |
References rule.
Referenced by CAFE::groupGet(), and CAFE::groupSet().
ValSPtr PVHolder::getShort | ( | ) | [inline] |
References __METHOD__, CAFE_SHORT, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValS_ptr.
int PVHolder::getStatus | ( | void | ) | const [inline] |
References status.
Referenced by CAFE::getCacheNoWait(), getCachePVArrayNoWait(), and main().
std::string PVHolder::getStatusAsString | ( | ) | [inline] |
References cafeStatusCode, CAFEStatusCode::msgIDAsString(), and status.
CAFEStatusCode PVHolder::getStatusCode | ( | ) | const [inline] |
References cafeStatusCode.
ValStrPtr PVHolder::getString | ( | ) | [inline] |
References __METHOD__, CAFE_STRING, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValStr_ptr.
dbr_string_t* PVHolder::getString | ( | unsigned int | idx | ) | [inline] |
References __METHOD__, CAFE_STRING, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), and val.
ValUSPtr PVHolder::getUShort | ( | ) | [inline] |
References __METHOD__, CAFE_USHORT, cafeDataTypeCode, dataType, CAFEDataTypeCode::message(), nelem, val, and ValUS_ptr.
CAFE_DATATYPE_UNION_SEQ PVHolder::getVal | ( | ) | const [inline] |
std::string PVHolder::getWFAsString | ( | ) | [inline] |
References CAFE_CHAR, dataTypeNative, nelem, and val.
bool PVHolder::isIndexOutOfRange | ( | unsigned int | idx | ) | [inline, protected] |
References size.
Referenced by getAsChar(), getAsDbr_string_t(), getAsDouble(), getAsEnum(), getAsFloat(), getAsInt(), getAsLong(), getAsLongLong(), getAsShort(), getAsString(), getAsUChar(), getAsUInt(), getAsULong(), getAsULongLong(), and getAsUShort().
void PVHolder::set | ( | std::string * | str | ) | [inline] |
References CAFE_STRING, dataType, nelem, and val.
void PVHolder::set | ( | dbr_string_t * | str | ) | [inline] |
References CAFE_STRING, dataType, nelem, and val.
void PVHolder::set | ( | unsigned int * | l | ) | [inline] |
References CAFE_DOUBLE, dataType, long, nelem, and val.
References CAFE_DOUBLE, dataType, long, nelem, and val.
void PVHolder::set | ( | short * | s | ) | [inline] |
References CAFE_SHORT, dataType, nelem, and val.
void PVHolder::set | ( | float * | f | ) | [inline] |
References CAFE_FLOAT, dataType, nelem, and val.
void PVHolder::set | ( | double * | d | ) | [inline] |
References CAFE_DOUBLE, dataType, nelem, and val.
void PVHolder::set | ( | std::string | str | ) | [inline] |
References CAFE_STRING, dataType, and val.
void PVHolder::set | ( | dbr_string_t | str | ) | [inline] |
References CAFE_STRING, dataType, and val.
void PVHolder::set | ( | std::vector< unsigned char > | Vc | ) | [inline] |
void PVHolder::set | ( | std::vector< unsigned short > | Vus | ) | [inline] |
void PVHolder::set | ( | std::vector< short > | Vs | ) | [inline] |
References CAFE_SHORT, dataType, nelem, and val.
References CAFE_DOUBLE, dataType, nelem, and val.
References CAFE_DOUBLE, dataType, nelem, and val.
void PVHolder::set | ( | std::vector< unsigned long > | Vul | ) | [inline] |
References CAFE_DOUBLE, dataType, nelem, and val.
void PVHolder::set | ( | std::vector< long > | Vl | ) | [inline] |
void PVHolder::set | ( | std::vector< int > | Vl | ) | [inline] |
void PVHolder::set | ( | std::vector< float > | Vf | ) | [inline] |
References CAFE_FLOAT, dataType, nelem, and val.
void PVHolder::set | ( | std::vector< double > | Vd | ) | [inline] |
References CAFE_DOUBLE, dataType, nelem, and val.
void PVHolder::set | ( | std::vector< std::string > | Vstr | ) | [inline] |
References CAFE_STRING, dataType, nelem, and val.
References CAFE_DOUBLE, CAFE_LONG, dataType, int, and val.
References CAFE_DOUBLE, CAFE_LONG, dataType, int, and val.
void PVHolder::set | ( | short | s | ) | [inline] |
References CAFE_SHORT, dataType, and val.
void PVHolder::set | ( | float | f | ) | [inline] |
References CAFE_FLOAT, dataType, and val.
void PVHolder::set | ( | double | d | ) | [inline] |
References CAFE_DOUBLE, dataType, and val.
Referenced by restorePVGroupXMLParser::characters(), and main().
void PVHolder::setAlarmSeverity | ( | int | asev | ) | [inline] |
References alarmSeverity.
void PVHolder::setAlarmStatus | ( | int | ast | ) | [inline] |
References alarmStatus.
References beamEventNo.
void PVHolder::setDataType | ( | CAFE_DATATYPE | cdt | ) | [inline] |
References CAFE_DOUBLE, CAFE_STRING, and dataType.
void PVHolder::setDouble | ( | double | d | ) | [inline] |
References CAFE_DOUBLE, dataType, and val.
References beamEventNo.
void PVHolder::setRule | ( | bool | r | ) | [inline] |
References rule.
void PVHolder::setString | ( | std::string | str | ) | [inline] |
References CAFE_STRING, dataType, and val.
void PVHolder::setVDouble | ( | std::vector< double > | Vd | ) | [inline] |
References CAFE_DOUBLE, dataType, nelem, and val.
void PVHolder::setVInt | ( | std::vector< int > | Vl | ) | [inline] |
void PVHolder::setVString | ( | std::vector< std::string > | Vstr | ) | [inline] |
References CAFE_STRING, dataType, nelem, and val.
CAFEGlobalAlarmCondition PVHolder::acond [protected] |
Referenced by getAlarmStatusAsString(), PVDataHolder::print(), and PVCtrlHolder::print().
short PVHolder::alarmSeverity [protected] |
Referenced by CAFE::get(), getAlarmSeverity(), getAlarmSeverityAsString(), Conduit::getPVCtrlHolder(), Connect::getPVData(), Conduit::getPVDataHolder(), CAFE::groupAttach(), CAFE::groupGet(), CAFE::groupSet(), PVDataHolder::print(), PVCtrlHolder::print(), PVCtrlHolder::PVCtrlHolder(), PVDataHolder::PVDataHolder(), CAFE::set(), and setAlarmSeverity().
short PVHolder::alarmStatus [protected] |
Referenced by CAFE::get(), getAlarmStatus(), getAlarmStatusAsString(), Conduit::getPVCtrlHolder(), Connect::getPVData(), Conduit::getPVDataHolder(), CAFE::groupAttach(), CAFE::groupGet(), CAFE::groupSet(), PVDataHolder::print(), PVCtrlHolder::print(), PVCtrlHolder::PVCtrlHolder(), PVDataHolder::PVDataHolder(), CAFE::set(), and setAlarmStatus().
CAFEGlobalAlarmSeverity PVHolder::aseve [protected] |
Referenced by getAlarmSeverityAsString(), PVDataHolder::print(), and PVCtrlHolder::print().
char PVHolder::attrib[PVNAME_SIZE] [protected] |
unsigned long long PVHolder::beamEventNo [protected] |
CAFEDataTypeCode PVHolder::cafeDataTypeCode [protected] |
Referenced by getChar(), getDouble(), getEnum(), getEnumIntegerValueAsString(), getFloat(), getInt(), getLong(), getShort(), getString(), getUShort(), PVDataHolder::print(), and PVCtrlHolder::print().
CAFEStatusCode PVHolder::cafeStatusCode [protected] |
Referenced by getStatusAsString(), getStatusCode(), PVDataHolder::print(), and PVCtrlHolder::print().
CAFE_DATATYPE PVHolder::dataType [protected] |
Referenced by getAsChar(), getAsDbr_string_t(), getAsDouble(), getAsEnum(), getAsFloat(), getAsInt(), getAsLong(), getAsLongLong(), getAsShort(), getAsString(), getAsUChar(), getAsUInt(), getAsULong(), getAsULongLong(), getAsUShort(), getAsVDouble(), getAsVFloat(), getAsVInt(), getAsVLong(), getAsVLongLong(), getAsVShort(), getAsVUChar(), getAsVULong(), getAsVULongLong(), getAsVUShort(), getChar(), getDataType(), getDataTypeClient(), getDouble(), getEnum(), getEnumIntegerValueAsString(), getFloat(), getInt(), getLong(), PVCtrlHolder::getLowerAlarmLimit(), PVCtrlHolder::getLowerCtrlLimit(), PVCtrlHolder::getLowerDispLimit(), PVCtrlHolder::getLowerWarningLimit(), Conduit::getPVCtrlHolder(), Conduit::getPVDataHolder(), PVCtrlHolder::getRISC_pad(), getShort(), getString(), PVCtrlHolder::getUpperAlarmLimit(), PVCtrlHolder::getUpperCtrlLimit(), PVCtrlHolder::getUpperDispLimit(), PVCtrlHolder::getUpperWarningLimit(), getUShort(), CAFE::groupGet(), CAFE::groupSet(), PVDataHolder::print(), PVCtrlHolder::print(), PVCtrlHolder::PVCtrlHolder(), PVDataHolder::PVDataHolder(), set(), CAFE::set(), setDataType(), setDouble(), setInt(), setString(), setVDouble(), setVInt(), and setVString().
CAFE_DATATYPE PVHolder::dataTypeNative [protected] |
chtype PVHolder::dbrDataType [protected] |
char PVHolder::device[PVNAME_SIZE] [protected] |
bool PVHolder::hasAlarm [protected] |
unsigned int PVHolder::nelem [protected] |
Referenced by concatToString(), CAFE::get(), getAsVDouble(), getAsVFloat(), getAsVInt(), getAsVLong(), getAsVLongLong(), getAsVShort(), getAsVString(), getAsVUChar(), getAsVULong(), getAsVULongLong(), getAsVUShort(), getChar(), CAFE::getCtrl(), getDouble(), getEnum(), getFloat(), getInt(), getLong(), getNelem(), Conduit::getPVCtrlHolder(), Conduit::getPVDataHolder(), getShort(), getString(), getUShort(), getWFAsString(), CAFE::groupGet(), PVDataHolder::print(), PVCtrlHolder::print(), PVCtrlHolder::PVCtrlHolder(), PVDataHolder::PVDataHolder(), set(), PVDataHolder::setNelem(), PVCtrlHolder::setNelem(), setVDouble(), setVInt(), and setVString().
short PVHolder::noStr [protected] |
Referenced by getAsDbr_string_t(), getAsString(), PVCtrlHolder::getEnumFromString(), PVCtrlHolder::getEnumStrings(), getNoEnumStrings(), PVCtrlHolder::getNoEnumStrings(), Conduit::getPVCtrlHolder(), Conduit::getPVDataHolder(), PVCtrlHolder::getStringFromEnum(), PVCtrlHolder::print(), and PVCtrlHolder::PVCtrlHolder().
char PVHolder::pv[PVNAME_SIZE] [protected] |
char PVHolder::pvAlias[PVNAME_SIZE] [protected] |
CAFEConvert<char> PVHolder::renderChar [protected] |
Referenced by getAsChar().
CAFEConvert<double> PVHolder::renderDouble [protected] |
Referenced by getAsDouble().
CAFEConvert<unsigned short> PVHolder::renderEnum [protected] |
Referenced by getAsEnum(), and getAsUShort().
CAFEConvert<float> PVHolder::renderFloat [protected] |
Referenced by getAsFloat().
CAFEConvert<int> PVHolder::renderInt [protected] |
Referenced by getAsInt(), and getAsUInt().
CAFEConvert<int> PVHolder::renderLong [protected] |
Referenced by getAsLong().
CAFEConvert<long long> PVHolder::renderLongLong [protected] |
Referenced by getAsLongLong().
CAFEConvert<short> PVHolder::renderShort [protected] |
Referenced by getAsShort().
CAFEConvert<dbr_string_t> PVHolder::renderString [protected] |
Referenced by getAsDbr_string_t(), getAsString(), and getEnumIntegerValueAsString().
CAFEConvert<unsigned char> PVHolder::renderUChar [protected] |
Referenced by getAsUChar().
CAFEConvert<unsigned int> PVHolder::renderUInt [protected] |
CAFEConvert<unsigned int> PVHolder::renderULong [protected] |
Referenced by getAsULong().
CAFEConvert<unsigned long long> PVHolder::renderULongLong [protected] |
Referenced by getAsULongLong().
bool PVHolder::rule [protected] |
unsigned int PVHolder::size [protected] |
Referenced by getAsChar(), getAsDbr_string_t(), getAsDouble(), getAsEnum(), getAsFloat(), getAsInt(), getAsLong(), getAsLongLong(), getAsShort(), getAsString(), getAsUChar(), getAsUInt(), getAsULong(), getAsULongLong(), getAsUShort(), Conduit::getPVCtrlHolder(), Conduit::getPVDataHolder(), getSize(), isIndexOutOfRange(), PVCtrlHolder::PVCtrlHolder(), PVDataHolder::PVDataHolder(), PVDataHolder::setNelem(), PVCtrlHolder::setNelem(), and verifyIndex().
int PVHolder::status [protected] |
Referenced by CAFE::get(), CAFE::getCache(), CAFE::getCacheNoWait(), CAFE::getCtrl(), CAFE::getCtrlCache(), Conduit::getPVCtrlHolder(), Connect::getPVData(), Conduit::getPVDataHolder(), getStatus(), getStatusAsString(), CAFE::groupAttach(), CAFE::groupGet(), CAFE::groupGetScalar(), CAFE::groupSet(), PVDataHolder::print(), PVCtrlHolder::print(), PVCtrlHolder::PVCtrlHolder(), PVDataHolder::PVDataHolder(), CAFE::set(), and setStatus().
char PVHolder::strs[MAX_ENUM_STATES][MAX_ENUM_STRING_SIZE] [protected] |
unsigned int PVHolder::userNo [protected] |
Referenced by getUserNo(), PVDataHolder::PVDataHolder(), and setUserNo().
Referenced by concatToString(), getAsChar(), getAsDbr_string_t(), getAsDouble(), getAsEnum(), getAsFloat(), getAsInt(), getAsLong(), getAsLongLong(), getAsShort(), getAsString(), getAsUChar(), getAsUInt(), getAsULong(), getAsULongLong(), getAsUShort(), getAsVDouble(), getAsVFloat(), getAsVInt(), getAsVLong(), getAsVLongLong(), getAsVShort(), getAsVUChar(), getAsVULong(), getAsVULongLong(), getAsVUShort(), getChar(), getDouble(), getEnum(), getEnumIntegerValueAsString(), getFloat(), getInt(), getLong(), Conduit::getPVCtrlHolder(), Conduit::getPVDataHolder(), getShort(), getString(), getUShort(), getVal(), getWFAsString(), CAFE::groupSet(), PVDataHolder::print(), PVCtrlHolder::print(), PVCtrlHolder::PVCtrlHolder(), PVDataHolder::PVDataHolder(), set(), CAFE::set(), setDouble(), setInt(), PVDataHolder::setNelem(), PVCtrlHolder::setNelem(), setString(), setVDouble(), setVInt(), setVString(), PVDataHolder::valReset(), PVCtrlHolder::~PVCtrlHolder(), and PVDataHolder::~PVDataHolder().
Referenced by getChar().
Referenced by getDouble().
Referenced by getFloat().
Referenced by getShort().
Referenced by getString().
Referenced by getEnum(), and getUShort().
boost::shared_ptr<std::vector<unsigned char> > PVHolder::ValVC_ptr |
Referenced by getAsVUChar().
boost::shared_ptr<std::vector<double> > PVHolder::ValVD_ptr |
Referenced by getAsVDouble(), and getAsVFloat().
boost::shared_ptr<std::vector<float> > PVHolder::ValVF_ptr |
Referenced by getAsVFloat().
boost::shared_ptr<std::vector<int> > PVHolder::ValVI_ptr |
Referenced by getAsVInt().
boost::shared_ptr<std::vector<long> > PVHolder::ValVL_ptr |
Referenced by getAsVLong().
boost::shared_ptr<std::vector<long long> > PVHolder::ValVLL_ptr |
Referenced by getAsVLongLong().
boost::shared_ptr<std::vector<short> > PVHolder::ValVS_ptr |
Referenced by getAsVShort().
boost::shared_ptr<std::vector<std::string> > PVHolder::ValVStr_ptr |
Referenced by getAsVString().
boost::shared_ptr<std::vector<unsigned long> > PVHolder::ValVUL_ptr |
Referenced by getAsVULong().
boost::shared_ptr<std::vector<unsigned long long> > PVHolder::ValVULL_ptr |
Referenced by getAsVULongLong().
boost::shared_ptr<std::vector<unsigned short> > PVHolder::ValVUS_ptr |
Referenced by getAsVUShort().