![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Provides channel monitor to multiple channels where the value field of each channel is presented as a union. More...
#include "pvaClientMultiChannel.h"
Public Member Functions | |
POINTER_DEFINITIONS (PvaClientNTMultiMonitor) | |
~PvaClientNTMultiMonitor () | |
void | connect () |
Connect to a channel monitor for each channel. More... | |
bool | poll (bool valueOnly=true) |
Poll each channel. More... | |
bool | waitEvent (double secondsToWait) |
Wait until poll returns true. More... | |
PvaClientNTMultiDataPtr | getData () |
Get the data for the last successfull poll. More... | |
PvaClientNTMultiMonitorPtr | getPtrSelf () |
Static Public Member Functions | |
static PvaClientNTMultiMonitorPtr | create (PvaClientMultiChannelPtr const &pvaClientMultiChannel, PvaClientChannelArray const &pvaClientChannelArray, epics::pvData::PVStructurePtr const &pvRequest) |
Create a PvaClientNTMultiMonitor. More... | |
Provides channel monitor to multiple channels where the value field of each channel is presented as a union.
Definition at line 457 of file pvaClientMultiChannel.h.
epics::pvaClient::PvaClientNTMultiMonitor::~PvaClientNTMultiMonitor | ( | ) |
Definition at line 60 of file pvaClientNTMultiMonitor.cpp.
void epics::pvaClient::PvaClientNTMultiMonitor::connect | ( | ) |
Connect to a channel monitor for each channel.
Definition at line 66 of file pvaClientNTMultiMonitor.cpp.
|
static |
Create a PvaClientNTMultiMonitor.
pvaClientMultiChannel | The interface to PvaClientMultiChannel. |
pvaClientChannelArray | The PvaClientChannel array. |
pvRequest | The pvRequest for each channel. |
Definition at line 28 of file pvaClientNTMultiMonitor.cpp.
PvaClientNTMultiDataPtr epics::pvaClient::PvaClientNTMultiMonitor::getData | ( | ) |
Get the data for the last successfull poll.
Definition at line 131 of file pvaClientNTMultiMonitor.cpp.
|
inline |
Monitor the shared pointer to self.
Definition at line 501 of file pvaClientMultiChannel.h.
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.
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 115 of file pvaClientNTMultiMonitor.cpp.