pvaClientCPP
4.8.1-dev
|
An easy to use alternative to ChannelPut. More...
#include <pv/pvaClient.h>
Public Member Functions | |
POINTER_DEFINITIONS (PvaClientPut) | |
~PvaClientPut () | |
Destructor. More... | |
void | setRequester (PvaClientPutRequesterPtr const &pvaClientPutRequester) |
Set a user callback. More... | |
void | connect () |
Call issueConnect and then waitConnect. More... | |
void | issueConnect () |
Issue the channelPut connection to the channel. More... | |
epics::pvData::Status | waitConnect () |
Wait until the channelPut connection to the channel is complete. More... | |
void | get () |
Call issueGet and then waitGet. More... | |
void | issueGet () |
Issue a get and return immediately. More... | |
epics::pvData::Status | waitGet () |
Wait until get completes. More... | |
void | put () |
Call issuePut and then waitPut. An exception is thrown if get fails. More... | |
void | issuePut () |
Issue a put and return immediately. More... | |
epics::pvData::Status | waitPut () |
Wait until put completes. More... | |
PvaClientPutDataPtr | getData () |
Get the data/. More... | |
PvaClientChannelPtr | getPvaClientChannel () |
Get the PvaClientChannel;. More... | |
Static Public Member Functions | |
static PvaClientPutPtr | create (PvaClientPtr const &pvaClient, PvaClientChannelPtr const &pvaClientChannel, epics::pvData::PVStructurePtr const &pvRequest) |
Create a PvaClientPut. More... | |
Friends | |
class | ChannelPutRequesterImpl |
An easy to use alternative to ChannelPut.
Definition at line 1147 of file pvaClient.h.
epics::pvaClient::PvaClientPut::~PvaClientPut | ( | ) |
Destructor.
Definition at line 111 of file pvaClientPut.cpp.
void epics::pvaClient::PvaClientPut::connect | ( | ) |
Call issueConnect and then waitConnect.
An exception is thrown if connect fails.
runtime_error | if failure. |
Definition at line 228 of file pvaClientPut.cpp.
|
static |
Create a PvaClientPut.
pvaClient | Interface to PvaClient |
pvaClientChannel | Interface to Channel |
pvRequest | The request structure. |
Definition at line 82 of file pvaClientPut.cpp.
void epics::pvaClient::PvaClientPut::get | ( | ) |
Call issueGet and then waitGet.
An exception is thrown if get fails.
runtime_error | if failure. |
Definition at line 274 of file pvaClientPut.cpp.
PvaClientPutDataPtr epics::pvaClient::PvaClientPut::getData | ( | ) |
PvaClientChannelPtr epics::pvaClient::PvaClientPut::getPvaClientChannel | ( | ) |
void epics::pvaClient::PvaClientPut::issueConnect | ( | ) |
Issue the channelPut connection to the channel.
This can only be called once.
Definition at line 245 of file pvaClientPut.cpp.
void epics::pvaClient::PvaClientPut::issueGet | ( | ) |
Issue a get and return immediately.
Definition at line 291 of file pvaClientPut.cpp.
void epics::pvaClient::PvaClientPut::issuePut | ( | ) |
Issue a put and return immediately.
Definition at line 338 of file pvaClientPut.cpp.
epics::pvaClient::PvaClientPut::POINTER_DEFINITIONS | ( | PvaClientPut | ) |
void epics::pvaClient::PvaClientPut::put | ( | ) |
Call issuePut and then waitPut. An exception is thrown if get fails.
Definition at line 321 of file pvaClientPut.cpp.
void epics::pvaClient::PvaClientPut::setRequester | ( | PvaClientPutRequesterPtr const & | pvaClientPutRequester | ) |
Set a user callback.
pvaClientPutRequester | The requester which must be implemented by the caller. |
Definition at line 383 of file pvaClientPut.cpp.
Status epics::pvaClient::PvaClientPut::waitConnect | ( | ) |
Wait until the channelPut connection to the channel is complete.
Definition at line 263 of file pvaClientPut.cpp.
Status epics::pvaClient::PvaClientPut::waitGet | ( | ) |
Status epics::pvaClient::PvaClientPut::waitPut | ( | ) |
|
friend |
Definition at line 1260 of file pvaClient.h.