|
pvaClientCPP 4.8.1
|
An easy to use alternative to ChannelPut. More...
#include <pv/pvaClient.h>
Public Member Functions | |
| POINTER_DEFINITIONS (PvaClientPut) | |
| ~PvaClientPut () | |
| Destructor. | |
| void | setRequester (PvaClientPutRequesterPtr const &pvaClientPutRequester) |
| Set a user callback. | |
| void | connect () |
| Call issueConnect and then waitConnect. | |
| void | issueConnect () |
| Issue the channelPut connection to the channel. | |
| epics::pvData::Status | waitConnect () |
| Wait until the channelPut connection to the channel is complete. | |
| void | get () |
| Call issueGet and then waitGet. | |
| void | issueGet () |
| Issue a get and return immediately. | |
| epics::pvData::Status | waitGet () |
| Wait until get completes. | |
| void | put () |
| Call issuePut and then waitPut. An exception is thrown if get fails. | |
| void | issuePut () |
| Issue a put and return immediately. | |
| epics::pvData::Status | waitPut () |
| Wait until put completes. | |
| PvaClientPutDataPtr | getData () |
| Get the data/. | |
| PvaClientChannelPtr | getPvaClientChannel () |
| Get the PvaClientChannel;. | |
Static Public Member Functions | |
| static PvaClientPutPtr | create (PvaClientPtr const &pvaClient, PvaClientChannelPtr const &pvaClientChannel, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a PvaClientPut. | |
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.
References epics::pvaClient::PvaClient::getDebug().
| 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.
References epics::pvaClient::PvaClient::getDebug(), issueConnect(), and waitConnect().
Referenced by issueGet(), and issuePut().
|
static |
Create a PvaClientPut.
| pvaClient | Interface to PvaClient |
| pvaClientChannel | Interface to Channel |
| pvRequest | The request structure. |
Definition at line 82 of file pvaClientPut.cpp.
References ChannelPutRequesterImpl.
| 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.
References epics::pvaClient::PvaClient::getDebug(), issueGet(), and waitGet().
Referenced by getData().
| PvaClientPutDataPtr epics::pvaClient::PvaClientPut::getData | ( | ) |
Get the data/.
Definition at line 371 of file pvaClientPut.cpp.
References get(), and epics::pvaClient::PvaClient::getDebug().
| 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.
References epics::pvaClient::PvaClient::getDebug().
Referenced by connect().
| void epics::pvaClient::PvaClientPut::issueGet | ( | ) |
Issue a get and return immediately.
Definition at line 291 of file pvaClientPut.cpp.
References connect(), and epics::pvaClient::PvaClient::getDebug().
Referenced by get().
| void epics::pvaClient::PvaClientPut::issuePut | ( | ) |
Issue a put and return immediately.
Definition at line 338 of file pvaClientPut.cpp.
References connect(), and epics::pvaClient::PvaClient::getDebug().
Referenced by put().
| 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.
References epics::pvaClient::PvaClient::getDebug(), issuePut(), and waitPut().
| 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.
References epics::pvaClient::PvaClient::getDebug().
| Status epics::pvaClient::PvaClientPut::waitConnect | ( | ) |
Wait until the channelPut connection to the channel is complete.
Definition at line 263 of file pvaClientPut.cpp.
References epics::pvaClient::PvaClient::getDebug().
Referenced by connect().
| Status epics::pvaClient::PvaClientPut::waitGet | ( | ) |
Wait until get completes.
Definition at line 309 of file pvaClientPut.cpp.
References epics::pvaClient::PvaClient::getDebug().
Referenced by get().
| Status epics::pvaClient::PvaClientPut::waitPut | ( | ) |
Wait until put completes.
Definition at line 358 of file pvaClientPut.cpp.
References epics::pvaClient::PvaClient::getDebug().
Referenced by put().
|
friend |
Definition at line 1260 of file pvaClient.h.
Referenced by create().