pvaClientCPP
4.8.1-dev
|
An easy to use alternative to ChannelPutGet. More...
#include <pv/pvaClient.h>
Public Member Functions | |
POINTER_DEFINITIONS (PvaClientPutGet) | |
~PvaClientPutGet () | |
Destructor. More... | |
void | setRequester (PvaClientPutGetRequesterPtr const &pvaClientPutGetRequester) |
Set a user callback. More... | |
void | connect () |
Call issueConnect and then waitConnect. More... | |
void | issueConnect () |
Issue the channelPutGet connection to the channel. More... | |
epics::pvData::Status | waitConnect () |
Wait until the channelPutGet connection to the channel is complete. More... | |
void | putGet () |
Call issuePutGet and then waitPutGet. More... | |
void | issuePutGet () |
Issue a putGet and return immediately. More... | |
epics::pvData::Status | waitPutGet () |
Wait until putGet completes. More... | |
void | getGet () |
Call issueGet and then waitGetGet. An exception is thrown if get fails. More... | |
void | issueGetGet () |
Issue a getGet and return immediately. More... | |
epics::pvData::Status | waitGetGet () |
Wait until getGet completes. More... | |
void | getPut () |
Call issuePut and then waitGetPut. More... | |
void | issueGetPut () |
Issue a getPut and return immediately. More... | |
epics::pvData::Status | waitGetPut () |
Wait until getPut completes. More... | |
PvaClientPutDataPtr | getPutData () |
Get the put data. More... | |
PvaClientGetDataPtr | getGetData () |
Get the get data. More... | |
PvaClientChannelPtr | getPvaClientChannel () |
Get the PvaClientChannel;. More... | |
Static Public Member Functions | |
static PvaClientPutGetPtr | create (PvaClientPtr const &pvaClient, PvaClientChannelPtr const &pvaClientChannel, epics::pvData::PVStructurePtr const &pvRequest) |
Create a PvaClientPutGet. More... | |
Friends | |
class | ChannelPutGetRequesterImpl |
An easy to use alternative to ChannelPutGet.
Definition at line 1323 of file pvaClient.h.
epics::pvaClient::PvaClientPutGet::~PvaClientPutGet | ( | ) |
Destructor.
Definition at line 124 of file pvaClientPutGet.cpp.
void epics::pvaClient::PvaClientPutGet::connect | ( | ) |
Call issueConnect and then waitConnect.
An exception is thrown if connect fails.
runtime_error | if failure. |
Definition at line 277 of file pvaClientPutGet.cpp.
|
static |
Create a PvaClientPutGet.
pvaClient | Interface to PvaClient |
pvaClientChannel | Interface to Channel |
pvRequest | The request structure. |
Definition at line 96 of file pvaClientPutGet.cpp.
void epics::pvaClient::PvaClientPutGet::getGet | ( | ) |
Call issueGet and then waitGetGet. An exception is thrown if get fails.
Definition at line 372 of file pvaClientPutGet.cpp.
PvaClientGetDataPtr epics::pvaClient::PvaClientPutGet::getGetData | ( | ) |
void epics::pvaClient::PvaClientPutGet::getPut | ( | ) |
Call issuePut and then waitGetPut.
An exception is thrown if getPut fails.
Definition at line 418 of file pvaClientPutGet.cpp.
PvaClientPutDataPtr epics::pvaClient::PvaClientPutGet::getPutData | ( | ) |
PvaClientChannelPtr epics::pvaClient::PvaClientPutGet::getPvaClientChannel | ( | ) |
Get the PvaClientChannel;.
Definition at line 505 of file pvaClientPutGet.cpp.
void epics::pvaClient::PvaClientPutGet::issueConnect | ( | ) |
Issue the channelPutGet connection to the channel.
This can only be called once. An exception is thrown if connect fails.
Definition at line 294 of file pvaClientPutGet.cpp.
void epics::pvaClient::PvaClientPutGet::issueGetGet | ( | ) |
Issue a getGet and return immediately.
Definition at line 389 of file pvaClientPutGet.cpp.
void epics::pvaClient::PvaClientPutGet::issueGetPut | ( | ) |
Issue a getPut and return immediately.
Definition at line 435 of file pvaClientPutGet.cpp.
void epics::pvaClient::PvaClientPutGet::issuePutGet | ( | ) |
Issue a putGet and return immediately.
Definition at line 341 of file pvaClientPutGet.cpp.
epics::pvaClient::PvaClientPutGet::POINTER_DEFINITIONS | ( | PvaClientPutGet | ) |
void epics::pvaClient::PvaClientPutGet::putGet | ( | ) |
Call issuePutGet and then waitPutGet.
An exception is thrown if putGet fails.
Definition at line 324 of file pvaClientPutGet.cpp.
void epics::pvaClient::PvaClientPutGet::setRequester | ( | PvaClientPutGetRequesterPtr const & | pvaClientPutGetRequester | ) |
Set a user callback.
pvaClientPutGetRequester | The requester which must be implemented by the caller. |
Definition at line 494 of file pvaClientPutGet.cpp.
Status epics::pvaClient::PvaClientPutGet::waitConnect | ( | ) |
Wait until the channelPutGet connection to the channel is complete.
Definition at line 312 of file pvaClientPutGet.cpp.
Status epics::pvaClient::PvaClientPutGet::waitGetGet | ( | ) |
Wait until getGet completes.
If failure getStatus can be called to get reason.
Definition at line 407 of file pvaClientPutGet.cpp.
Status epics::pvaClient::PvaClientPutGet::waitGetPut | ( | ) |
Status epics::pvaClient::PvaClientPutGet::waitPutGet | ( | ) |
Wait until putGet completes.
If failure getStatus can be called to get reason.
Definition at line 360 of file pvaClientPutGet.cpp.
|
friend |
Definition at line 1465 of file pvaClient.h.