|
pvaClientCPP 4.8.1
|
An easy to use alternative to ChannelPutGet. More...
#include <pv/pvaClient.h>
Public Member Functions | |
| POINTER_DEFINITIONS (PvaClientPutGet) | |
| ~PvaClientPutGet () | |
| Destructor. | |
| void | setRequester (PvaClientPutGetRequesterPtr const &pvaClientPutGetRequester) |
| Set a user callback. | |
| void | connect () |
| Call issueConnect and then waitConnect. | |
| void | issueConnect () |
| Issue the channelPutGet connection to the channel. | |
| epics::pvData::Status | waitConnect () |
| Wait until the channelPutGet connection to the channel is complete. | |
| void | putGet () |
| Call issuePutGet and then waitPutGet. | |
| void | issuePutGet () |
| Issue a putGet and return immediately. | |
| epics::pvData::Status | waitPutGet () |
| Wait until putGet completes. | |
| void | getGet () |
| Call issueGet and then waitGetGet. An exception is thrown if get fails. | |
| void | issueGetGet () |
| Issue a getGet and return immediately. | |
| epics::pvData::Status | waitGetGet () |
| Wait until getGet completes. | |
| void | getPut () |
| Call issuePut and then waitGetPut. | |
| void | issueGetPut () |
| Issue a getPut and return immediately. | |
| epics::pvData::Status | waitGetPut () |
| Wait until getPut completes. | |
| PvaClientPutDataPtr | getPutData () |
| Get the put data. | |
| PvaClientGetDataPtr | getGetData () |
| Get the get data. | |
| PvaClientChannelPtr | getPvaClientChannel () |
| Get the PvaClientChannel;. | |
Static Public Member Functions | |
| static PvaClientPutGetPtr | create (PvaClientPtr const &pvaClient, PvaClientChannelPtr const &pvaClientChannel, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a PvaClientPutGet. | |
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.
References epics::pvaClient::PvaClient::getDebug().
| 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.
References epics::pvaClient::PvaClient::getDebug(), issueConnect(), and waitConnect().
Referenced by issueGetGet(), issueGetPut(), and issuePutGet().
|
static |
Create a PvaClientPutGet.
| pvaClient | Interface to PvaClient |
| pvaClientChannel | Interface to Channel |
| pvRequest | The request structure. |
Definition at line 96 of file pvaClientPutGet.cpp.
References ChannelPutGetRequesterImpl.
| 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.
References epics::pvaClient::PvaClient::getDebug(), issueGetGet(), and waitGetGet().
Referenced by getGetData(), and getPutData().
| PvaClientGetDataPtr epics::pvaClient::PvaClientPutGet::getGetData | ( | ) |
Get the get data.
Definition at line 464 of file pvaClientPutGet.cpp.
References epics::pvaClient::PvaClient::getDebug(), getGet(), and getPut().
| 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.
References epics::pvaClient::PvaClient::getDebug(), issueGetPut(), and waitGetPut().
Referenced by getGetData(), and getPutData().
| PvaClientPutDataPtr epics::pvaClient::PvaClientPutGet::getPutData | ( | ) |
Get the put data.
Definition at line 479 of file pvaClientPutGet.cpp.
References epics::pvaClient::PvaClient::getDebug(), getGet(), and getPut().
| 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.
References epics::pvaClient::PvaClient::getDebug().
Referenced by connect().
| void epics::pvaClient::PvaClientPutGet::issueGetGet | ( | ) |
Issue a getGet and return immediately.
Definition at line 389 of file pvaClientPutGet.cpp.
References connect(), and epics::pvaClient::PvaClient::getDebug().
Referenced by getGet().
| void epics::pvaClient::PvaClientPutGet::issueGetPut | ( | ) |
Issue a getPut and return immediately.
Definition at line 435 of file pvaClientPutGet.cpp.
References connect(), and epics::pvaClient::PvaClient::getDebug().
Referenced by getPut().
| void epics::pvaClient::PvaClientPutGet::issuePutGet | ( | ) |
Issue a putGet and return immediately.
Definition at line 341 of file pvaClientPutGet.cpp.
References connect(), and epics::pvaClient::PvaClient::getDebug().
Referenced by putGet().
| 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.
References epics::pvaClient::PvaClient::getDebug(), issuePutGet(), and waitPutGet().
| 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.
References epics::pvaClient::PvaClient::getDebug().
| Status epics::pvaClient::PvaClientPutGet::waitConnect | ( | ) |
Wait until the channelPutGet connection to the channel is complete.
Definition at line 312 of file pvaClientPutGet.cpp.
References epics::pvaClient::PvaClient::getDebug().
Referenced by connect().
| 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.
References epics::pvaClient::PvaClient::getDebug().
Referenced by getGet().
| Status epics::pvaClient::PvaClientPutGet::waitGetPut | ( | ) |
Wait until getPut completes.
Definition at line 453 of file pvaClientPutGet.cpp.
References epics::pvaClient::PvaClient::getDebug().
Referenced by getPut().
| 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.
References epics::pvaClient::PvaClient::getDebug().
Referenced by putGet().
|
friend |
Definition at line 1465 of file pvaClient.h.
Referenced by create().