PVGroup Class Reference

#include <PVGroup.h>

List of all members.

Public Member Functions

 PVGroup ()
 ~PVGroup ()
MemberMap getMemberMap () const
PVDataHoldergetPVData () 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

PVDataHolderpvdata
unsigned int npv
char name [PVGROUP_PSEUDO_SIZE]
int statusGroup
unsigned int groupHandle
MemberMap memberMap

Friends

class Connect
class CAFE
class restorePVGroupXMLParser

Detailed Description

class PVGroup This class is the holder of PVDataHolder objects associated with of group of handles


Constructor & Destructor Documentation

PVGroup::PVGroup (  )  [inline]
PVGroup::~PVGroup (  )  [inline]

Member Function Documentation

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]
PVDataHolder PVGroup::getPVData ( unsigned int  idx  )  throw (std::out_of_range) [inline]

References isIndexOutOfRange(), npv, and pvdata.

PVDataHolder* PVGroup::getPVData (  )  const [inline]
int PVGroup::getStatusGroup (  )  const [inline]

References statusGroup.

string PVGroup::Index2PV ( unsigned int  _idx  )  const [inline]
bool PVGroup::isIndexOutOfRange ( unsigned int  idx  )  [inline, private]

References npv.

Referenced by getPVData().

void PVGroup::print ( unsigned int  npvToPrint,
unsigned int  maxNelemWF 
) [inline]
void PVGroup::print ( unsigned int  npvToPrint  )  [inline]
void PVGroup::print (  )  [inline]

References npv, and print().

Referenced by print(), show(), showMax(), and showMaxMax().

void PVGroup::printIfError (  )  [inline]
int PVGroup::PV2Index ( std::string  _pv  )  const [inline]
void PVGroup::set ( unsigned int  _npv  )  [inline]

References npv.

void PVGroup::setHasAlarm ( bool  h  )  [inline]
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.

void PVGroup::show (  )  [inline]

References npv, and print().

void PVGroup::showMax ( unsigned int  npvToPrint  )  [inline]

References print().

void PVGroup::showMaxMax ( unsigned int  npvToPrint,
unsigned int  maxNelemWF 
) [inline]

References print().


Friends And Related Function Documentation

friend class CAFE [friend]
friend class Connect [friend]
friend class restorePVGroupXMLParser [friend]

Member Data Documentation

unsigned int PVGroup::groupHandle [private]
unsigned int PVGroup::npv [private]

The documentation for this class was generated from the following file:

Generated on 3 May 2017 for CAFE by  doxygen 1.6.1