![]() |
This is Unofficial EPICS BASE Doxygen Site
|
An easy to use alternative to ChannelGet. More...
#include "pvaClient.h"
Public Member Functions | |
POINTER_DEFINITIONS (PvaClientGet) | |
~PvaClientGet () | |
Destructor. More... | |
void | setRequester (PvaClientGetRequesterPtr const &pvaClientGetRequester) |
Set a user callback. More... | |
void | connect () |
Call issueConnect and then waitConnect. More... | |
void | issueConnect () |
create the channelGet connection to the channel. More... | |
epics::pvData::Status | waitConnect () |
Wait until the channelGet connection to the channel is complete. More... | |
void | get () |
Call issueGet and then waitGet. An exception is thrown if get fails. More... | |
void | issueGet () |
Issue a get and return immediately. More... | |
epics::pvData::Status | waitGet () |
Wait until get completes. More... | |
PvaClientGetDataPtr | getData () |
Get the data/. More... | |
PvaClientChannelPtr | getPvaClientChannel () |
Get the PvaClientChannel;. More... | |
Static Public Member Functions | |
static PvaClientGetPtr | create (PvaClientPtr const &pvaClient, PvaClientChannelPtr const &pvaClientChannel, epics::pvData::PVStructurePtr const &pvRequest) |
Create a PvaClientGet. More... | |
Friends | |
class | ChannelGetRequesterImpl |
An easy to use alternative to ChannelGet.
Definition at line 1035 of file pvaClient.h.
epics::pvaClient::PvaClientGet::~PvaClientGet | ( | ) |
Destructor.
Definition at line 106 of file pvaClientGet.cpp.
void epics::pvaClient::PvaClientGet::connect | ( | ) |
Call issueConnect and then waitConnect.
An exception is thrown if connect fails.
runtime_error | if failure. |
Definition at line 215 of file pvaClientGet.cpp.
|
static |
Create a PvaClientGet.
pvaClient | Interface to PvaClient |
pvaClientChannel | Interface to PvaClientChannel |
pvRequest | The request structure. |
Definition at line 73 of file pvaClientGet.cpp.
void epics::pvaClient::PvaClientGet::get | ( | ) |
Call issueGet and then waitGet. An exception is thrown if get fails.
Definition at line 268 of file pvaClientGet.cpp.
PvaClientGetDataPtr epics::pvaClient::PvaClientGet::getData | ( | ) |
Get the data/.
Definition at line 320 of file pvaClientGet.cpp.
PvaClientChannelPtr epics::pvaClient::PvaClientGet::getPvaClientChannel | ( | ) |
void epics::pvaClient::PvaClientGet::issueConnect | ( | ) |
create the channelGet connection to the channel.
This can only be called once.
Definition at line 229 of file pvaClientGet.cpp.
void epics::pvaClient::PvaClientGet::issueGet | ( | ) |
Issue a get and return immediately.
Definition at line 282 of file pvaClientGet.cpp.
epics::pvaClient::PvaClientGet::POINTER_DEFINITIONS | ( | PvaClientGet | ) |
void epics::pvaClient::PvaClientGet::setRequester | ( | PvaClientGetRequesterPtr const & | pvaClientGetRequester | ) |
Set a user callback.
pvaClientGetRequester | The requester which must be implemented by the caller. |
Definition at line 331 of file pvaClientGet.cpp.
Status epics::pvaClient::PvaClientGet::waitConnect | ( | ) |
Wait until the channelGet connection to the channel is complete.
Definition at line 245 of file pvaClientGet.cpp.
Status epics::pvaClient::PvaClientGet::waitGet | ( | ) |
Wait until get completes.
Definition at line 298 of file pvaClientGet.cpp.
|
friend |
Definition at line 1137 of file pvaClient.h.