![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Handle for monitor subscription. More...
#include "client.h"
Public Member Functions | |
Monitor () | |
Monitor (const std::tr1::shared_ptr< Impl > &) | |
~Monitor () | |
std::string | name () const |
Channel name. More... | |
void | cancel () |
Immediate cancellation. More... | |
bool | poll () |
bool | complete () const |
bool | valid () const |
operator bool_type () const | |
void | reset () |
Public Attributes | |
epics::pvData::PVStructure::const_shared_pointer | root |
epics::pvData::BitSet | changed |
epics::pvData::BitSet | overrun |
Friends | |
struct | MonitorSync |
epicsShareFunc::std::ostream & | operator<< (::std::ostream &strm, const Monitor &op) |
pvac::Monitor::Monitor | ( | const std::tr1::shared_ptr< Impl > & | impl | ) |
Definition at line 185 of file clientMonitor.cpp.
pvac::Monitor::~Monitor | ( | ) |
Definition at line 189 of file clientMonitor.cpp.
void pvac::Monitor::cancel | ( | ) |
Immediate cancellation.
Does not wait for remote confirmation.
Definition at line 197 of file clientMonitor.cpp.
bool pvac::Monitor::complete | ( | ) | const |
true if all events received. Check after poll()==false
Definition at line 233 of file clientMonitor.cpp.
std::string pvac::Monitor::name | ( | ) | const |
Channel name.
Definition at line 192 of file clientMonitor.cpp.
bool pvac::Monitor::poll | ( | ) |
updates root, changed, overrun
Definition at line 202 of file clientMonitor.cpp.
|
inline |
|
friend |
|
friend |
Definition at line 260 of file clientMonitor.cpp.
epics::pvData::BitSet pvac::Monitor::changed |
epics::pvData::BitSet pvac::Monitor::overrun |
epics::pvData::PVStructure::const_shared_pointer pvac::Monitor::root |
Monitor update data.
After version 6.0.0
Initially NULL, becomes !NULL the first time poll()==true. The PVStructure pointed to be root will presist until Monitor reconnect w/ type change. This can be detected by comparing root.get()
. references to root may be cached subject to this test.
In version 6.0.0
NULL except after poll()==true. poll()==false sets root=NULL. references to root should not be stored between calls to poll().