#include <PVGroup.h>
Public Member Functions | |
PVGroup () | |
~PVGroup () | |
MemberMap | getMemberMap () const |
PVDataHolder * | getPVData () const |
PVDataHolder | getPVData (unsigned int idx) throw (std::out_of_range) |
void | setHasAlarm (bool h) |
void | setHasTS (bool h) |
unsigned int | getNPV () const |
string | getNameAsString () const |
const char * | getName () const |
int | getStatusGroup () const |
int | getGroupStatus () const |
unsigned int | getGroupHandle () const |
int | PV2Index (std::string _pv) const |
string | Index2PV (unsigned int _idx) const |
void | setPVData (PVDataHolder *_pvdata) |
void | set (unsigned int _npv) |
void | setName (const char *_name) |
void | setName (string _name) |
void | setStatusGroup (int _sg) |
void | show () |
void | showMax (unsigned int npvToPrint) |
void | showMaxMax (unsigned int npvToPrint, unsigned int maxNelemWF) |
void | print () |
void | print (unsigned int npvToPrint) |
void | print (unsigned int npvToPrint, unsigned int maxNelemWF) |
void | printIfError () |
Private Member Functions | |
bool | isIndexOutOfRange (unsigned int idx) |
Private Attributes | |
PVDataHolder * | pvdata |
unsigned int | npv |
char | name [PVGROUP_PSEUDO_SIZE] |
int | statusGroup |
unsigned int | groupHandle |
MemberMap | memberMap |
Friends | |
class | Connect |
class | CAFE |
class | restorePVGroupXMLParser |
class PVGroup This class is the holder of PVDataHolder objects associated with of group of handles
PVGroup::PVGroup | ( | ) | [inline] |
References groupHandle, ICAFE_NORMAL, name, npv, pvdata, and statusGroup.
PVGroup::~PVGroup | ( | ) | [inline] |
unsigned int PVGroup::getGroupHandle | ( | ) | const [inline] |
References groupHandle.
Referenced by CAFE::snapshot2XML().
int PVGroup::getGroupStatus | ( | ) | const [inline] |
References statusGroup.
MemberMap PVGroup::getMemberMap | ( | ) | const [inline] |
References memberMap.
Referenced by Index2PV(), and PV2Index().
const char* PVGroup::getName | ( | ) | const [inline] |
References name.
Referenced by CAFE::snapshot2XML().
string PVGroup::getNameAsString | ( | ) | const [inline] |
References name.
unsigned int PVGroup::getNPV | ( | ) | const [inline] |
References npv.
Referenced by getPulseIDFromTS(), CAFE::getPVArray(), and CAFE::snapshot2XML().
PVDataHolder PVGroup::getPVData | ( | unsigned int | idx | ) | throw (std::out_of_range) [inline] |
References isIndexOutOfRange(), npv, and pvdata.
PVDataHolder* PVGroup::getPVData | ( | ) | const [inline] |
References pvdata.
Referenced by getPulseIDFromTS(), Connect::getPVData(), and CAFE::snapshot2XML().
int PVGroup::getStatusGroup | ( | ) | const [inline] |
References statusGroup.
string PVGroup::Index2PV | ( | unsigned int | _idx | ) | const [inline] |
References getMemberMap(), and MemberMap::getPV().
bool PVGroup::isIndexOutOfRange | ( | unsigned int | idx | ) | [inline, private] |
References npv.
Referenced by getPVData().
References groupHandle, ICAFE_NORMAL, name, npv, PVDataHolder::print(), pvdata, CAFEStatus::report(), and statusGroup.
void PVGroup::print | ( | unsigned int | npvToPrint | ) | [inline] |
References groupHandle, ICAFE_NORMAL, name, npv, PVDataHolder::print(), pvdata, CAFEStatus::report(), and statusGroup.
void PVGroup::print | ( | ) | [inline] |
void PVGroup::printIfError | ( | ) | [inline] |
References ICAFE_NORMAL, name, npv, PVDataHolder::print(), and pvdata.
int PVGroup::PV2Index | ( | std::string | _pv | ) | const [inline] |
References MemberMap::getIndex(), and getMemberMap().
void PVGroup::setHasAlarm | ( | bool | h | ) | [inline] |
References npv, pvdata, and PVDataHolder::setHasAlarm().
Referenced by CAFE::groupGetScalar().
void PVGroup::setHasTS | ( | bool | h | ) | [inline] |
References npv, pvdata, and PVDataHolder::setHasTS().
Referenced by CAFE::groupGetScalar().
void PVGroup::setName | ( | string | _name | ) | [inline] |
References name.
void PVGroup::setName | ( | const char * | _name | ) | [inline] |
References name.
Referenced by restorePVGroupXMLParser::startElement().
void PVGroup::setPVData | ( | PVDataHolder * | _pvdata | ) | [inline] |
References pvdata.
Referenced by restorePVGroupXMLParser::endElement().
void PVGroup::setStatusGroup | ( | int | _sg | ) | [inline] |
References statusGroup.
References print().
friend class CAFE [friend] |
friend class Connect [friend] |
friend class restorePVGroupXMLParser [friend] |
unsigned int PVGroup::groupHandle [private] |
Referenced by getGroupHandle(), CAFE::groupAttach(), CAFE::groupFetch(), CAFE::groupGet(), Connect::groupOpen(), CAFE::groupSet(), print(), and PVGroup().
MemberMap PVGroup::memberMap [private] |
Referenced by getMemberMap(), Connect::getPVData(), Connect::groupCombine(), and Connect::groupDefine().
char PVGroup::name[PVGROUP_PSEUDO_SIZE] [private] |
Referenced by getName(), getNameAsString(), Connect::getPVData(), Connect::groupCombine(), Connect::groupDefine(), print(), printIfError(), PVGroup(), and setName().
unsigned int PVGroup::npv [private] |
Referenced by restorePVGroupXMLParser::endElement(), getNPV(), getPVData(), Connect::getPVData(), CAFE::groupAttach(), Connect::groupCombine(), Connect::groupDefine(), CAFE::groupGet(), CAFE::groupGetScalar(), Connect::groupOpen(), CAFE::groupSet(), isIndexOutOfRange(), print(), printIfError(), PVGroup(), set(), setHasAlarm(), setHasTS(), show(), and CAFE::snapshot2XML().
PVDataHolder* PVGroup::pvdata [private] |
Referenced by CAFE::getPVArray(), getPVData(), Connect::getPVData(), CAFE::groupAttach(), Connect::groupCombine(), Connect::groupDefine(), CAFE::groupGet(), CAFE::groupGetScalar(), Connect::groupOpen(), CAFE::groupSet(), print(), printIfError(), PVGroup(), setHasAlarm(), setHasTS(), and setPVData().
int PVGroup::statusGroup [private] |