![]() |
This is Unofficial EPICS BASE Doxygen Site
|
A class that holds data returned by PvaClientMonitor. More...
#include "pvaClient.h"
Public Member Functions | |
POINTER_DEFINITIONS (PvaClientMonitorData) | |
~PvaClientMonitorData () | |
Destructor. More... | |
epics::pvData::BitSetPtr | getOverrunBitSet () |
Get the overrun BitSet for the pvStructure This shows which fields have had more than one change. More... | |
std::ostream & | showOverrun (std::ostream &out) |
Show the fields that have changed. More... | |
void | setData (epics::pvData::MonitorElementPtr const &monitorElement) |
![]() | |
POINTER_DEFINITIONS (PvaClientData) | |
~PvaClientData () | |
Destructor. More... | |
void | setMessagePrefix (std::string const &value) |
Set a prefix for throw messages. More... | |
epics::pvData::StructureConstPtr | getStructure () |
Get the structure. More... | |
epics::pvData::PVStructurePtr | getPVStructure () |
Get the pvStructure. More... | |
epics::pvData::BitSetPtr | getChangedBitSet () |
Get the changed BitSet for the pvStructure. More... | |
std::ostream & | showChanged (std::ostream &out) |
Show the fields that have changed value since the last get. More... | |
void | setData (epics::pvData::PVStructurePtr const &pvStructureFrom, epics::pvData::BitSetPtr const &bitSetFrom) |
New data is present. More... | |
bool | hasValue () |
Is there a top level field named value. More... | |
bool | isValueScalar () |
Is the value field a scalar? More... | |
bool | isValueScalarArray () |
Is the value field a scalar array? More... | |
epics::pvData::PVFieldPtr | getValue () |
Get the interface to the value field. More... | |
epics::pvData::PVScalarPtr | getScalarValue () |
Return the interface to a scalar value field. More... | |
std::tr1::shared_ptr< epics::pvData::PVArray > | getArrayValue () |
Get the interface to an array value field. More... | |
std::tr1::shared_ptr< epics::pvData::PVScalarArray > | getScalarArrayValue () |
Get the interface to a scalar array value field. More... | |
double | getDouble () |
Get the value as a double. More... | |
std::string | getString () |
epics::pvData::shared_vector< const double > | getDoubleArray () |
Get the value as a double array. More... | |
epics::pvData::shared_vector< const std::string > | getStringArray () |
Get the value as a string array. More... | |
epics::pvData::Alarm | getAlarm () |
Get the alarm. If the pvStructure has an alarm field it's values are returned. Otherwise an exception is thrown. More... | |
epics::pvData::TimeStamp | getTimeStamp () |
Get the timeStamp. If the pvStructure has a timeStamp field, it's values are returned. Otherwise an exception is thrown. More... | |
void | parse (const std::vector< std::string > &args) |
parse from args More... | |
void | streamJSON (std::ostream &strm, bool ignoreUnprintable=true, bool multiLine=false) |
generate JSON output from the current PVStructure More... | |
void | zeroArrayLength () |
set length of all array fields to 0 More... | |
Static Public Member Functions | |
static PvaClientMonitorDataPtr | create (epics::pvData::StructureConstPtr const &structure) |
![]() | |
static PvaClientDataPtr | create (epics::pvData::StructureConstPtr const &structure) |
Factory method for creating an instance of PvaClientData. More... | |
Friends | |
class | PvaClientMonitor |
Additional Inherited Members | |
![]() | |
PvaClientData (epics::pvData::StructureConstPtr const &structure) | |
epics::pvData::PVFieldPtr | getSinglePVField () |
void | checkValue () |
![]() | |
std::string | messagePrefix |
A class that holds data returned by PvaClientMonitor.
Overview of PvaClientMonitorData
Definition at line 825 of file pvaClient.h.
|
inline |
|
static |
Factory method for creating an instance of PvaClientGetData. NOTE: Not normally called by clients
structure | Introspection interface |
Definition at line 48 of file pvaClientMonitorData.cpp.
BitSetPtr epics::pvaClient::PvaClientMonitorData::getOverrunBitSet | ( | ) |
Get the overrun BitSet for the pvStructure This shows which fields have had more than one change.
runtime_error | if failure. |
Definition at line 67 of file pvaClientMonitorData.cpp.
epics::pvaClient::PvaClientMonitorData::POINTER_DEFINITIONS | ( | PvaClientMonitorData | ) |
void epics::pvaClient::PvaClientMonitorData::setData | ( | epics::pvData::MonitorElementPtr const & | monitorElement | ) |
Put data into PVStructure from monitorElement NOTE: Not normally called by clients
monitorElement | the monitorElement that has new data. |
Definition at line 59 of file pvaClientMonitorData.cpp.
std::ostream & epics::pvaClient::PvaClientMonitorData::showOverrun | ( | std::ostream & | out | ) |
Show the fields that have changed.
out | The stream that shows the changed fields. |
Definition at line 73 of file pvaClientMonitorData.cpp.
|
friend |
Definition at line 858 of file pvaClient.h.