|
pvaClientCPP 4.8.1
|
Provides channel monitor to multiple channels where the value field of each channel is presented as a union. More...
#include <pv/pvaClientMultiChannel.h>
Public Member Functions | |
| POINTER_DEFINITIONS (PvaClientNTMultiMonitor) | |
| ~PvaClientNTMultiMonitor () | |
| Destructor. | |
| void | connect () |
| Connect to a channel monitor for each channel. | |
| bool | poll (bool valueOnly=true) |
| Poll each channel. | |
| bool | waitEvent (double secondsToWait) |
| Wait until poll returns true. | |
| PvaClientNTMultiDataPtr | getData () |
| Get the data for the last successfull poll. | |
Static Protected Member Functions | |
| static PvaClientNTMultiMonitorPtr | create (PvaClientMultiChannelPtr const &pvaClientMultiChannel, PvaClientChannelArray const &pvaClientChannelArray, epics::pvData::PVStructurePtr const &pvRequest) |
Friends | |
| class | PvaClientMultiChannel |
Provides channel monitor to multiple channels where the value field of each channel is presented as a union.
Definition at line 428 of file pvaClientMultiChannel.h.
| epics::pvaClient::PvaClientNTMultiMonitor::~PvaClientNTMultiMonitor | ( | ) |
Destructor.
Definition at line 60 of file pvaClientNTMultiMonitor.cpp.
References epics::pvaClient::PvaClient::getDebug().
| void epics::pvaClient::PvaClientNTMultiMonitor::connect | ( | ) |
Connect to a channel monitor for each channel.
Definition at line 66 of file pvaClientNTMultiMonitor.cpp.
Referenced by poll().
|
staticprotected |
Definition at line 28 of file pvaClientNTMultiMonitor.cpp.
Referenced by epics::pvaClient::PvaClientMultiChannel::createNTMonitor().
| PvaClientNTMultiDataPtr epics::pvaClient::PvaClientNTMultiMonitor::getData | ( | ) |
Get the data for the last successfull poll.
Definition at line 136 of file pvaClientNTMultiMonitor.cpp.
Referenced by poll().
| epics::pvaClient::PvaClientNTMultiMonitor::POINTER_DEFINITIONS | ( | PvaClientNTMultiMonitor | ) |
| bool epics::pvaClient::PvaClientNTMultiMonitor::poll | ( | bool | valueOnly = true | ) |
Poll each channel.
| valueOnly | use only value for union. If any has new data it is used to update the double[]. |
Definition at line 94 of file pvaClientNTMultiMonitor.cpp.
References connect(), getData(), and poll().
Referenced by poll(), and waitEvent().
| bool epics::pvaClient::PvaClientNTMultiMonitor::waitEvent | ( | double | secondsToWait | ) |
Wait until poll returns true.
| secondsToWait | The time to keep trying. A thread sleep of .1 seconds occurs between each call to poll. |
Definition at line 120 of file pvaClientNTMultiMonitor.cpp.
References poll().
|
friend |
Definition at line 439 of file pvaClientMultiChannel.h.