|
pvaClientCPP 4.8.1
|
An easy to use alternative to ChannelProcess. More...
#include <pv/pvaClient.h>
Public Member Functions | |
| POINTER_DEFINITIONS (PvaClientProcess) | |
| ~PvaClientProcess () | |
| Destructor. | |
| void | setRequester (PvaClientProcessRequesterPtr const &pvaClientProcessRequester) |
| Set a user callback. | |
| void | connect () |
| Call issueConnect and then waitConnect. | |
| void | issueConnect () |
| Issue the channelProcess connection to the channel. | |
| epics::pvData::Status | waitConnect () |
| Wait until the channelProcess connection to the channel is complete. | |
| void | process () |
| Call issueProcess and then waitProcess. | |
| void | issueProcess () |
| Issue a process request and return immediately. | |
| epics::pvData::Status | waitProcess () |
| Wait until process completes. | |
| PvaClientChannelPtr | getPvaClientChannel () |
| Get the PvaClientChannel;. | |
Static Public Member Functions | |
| static PvaClientProcessPtr | create (PvaClientPtr const &pvaClient, PvaClientChannelPtr const &pvaClientChannel, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a PvaClientProcess. | |
Friends | |
| class | ChannelProcessRequesterImpl |
An easy to use alternative to ChannelProcess.
Definition at line 861 of file pvaClient.h.
| epics::pvaClient::PvaClientProcess::~PvaClientProcess | ( | ) |
Destructor.
Definition at line 105 of file pvaClientProcess.cpp.
References epics::pvaClient::PvaClient::getDebug().
| void epics::pvaClient::PvaClientProcess::connect | ( | ) |
Call issueConnect and then waitConnect.
An exception is thrown if connect fails.
| runtime_error | if failure. |
Definition at line 171 of file pvaClientProcess.cpp.
References epics::pvaClient::PvaClient::getDebug(), issueConnect(), and waitConnect().
Referenced by issueProcess().
|
static |
Create a PvaClientProcess.
| pvaClient | Interface to PvaClient |
| pvaClientChannel | Interface to Channel |
| pvRequest | The request structure. |
Definition at line 70 of file pvaClientProcess.cpp.
References ChannelProcessRequesterImpl, and epics::pvaClient::PvaClient::getDebug().
| PvaClientChannelPtr epics::pvaClient::PvaClientProcess::getPvaClientChannel | ( | ) |
Get the PvaClientChannel;.
Definition at line 268 of file pvaClientProcess.cpp.
| void epics::pvaClient::PvaClientProcess::issueConnect | ( | ) |
Issue the channelProcess connection to the channel.
This can only be called once.
Definition at line 186 of file pvaClientProcess.cpp.
References epics::pvaClient::PvaClient::getDebug().
Referenced by connect().
| void epics::pvaClient::PvaClientProcess::issueProcess | ( | ) |
Issue a process request and return immediately.
Definition at line 229 of file pvaClientProcess.cpp.
References connect(), and epics::pvaClient::PvaClient::getDebug().
Referenced by process().
| epics::pvaClient::PvaClientProcess::POINTER_DEFINITIONS | ( | PvaClientProcess | ) |
| void epics::pvaClient::PvaClientProcess::process | ( | ) |
Call issueProcess and then waitProcess.
An exception is thrown if process fails.
Definition at line 214 of file pvaClientProcess.cpp.
References epics::pvaClient::PvaClient::getDebug(), issueProcess(), and waitProcess().
| void epics::pvaClient::PvaClientProcess::setRequester | ( | PvaClientProcessRequesterPtr const & | pvaClientProcessRequester | ) |
Set a user callback.
| pvaClientProcessRequester | The requester which must be implemented by the caller. |
Definition at line 258 of file pvaClientProcess.cpp.
References epics::pvaClient::PvaClient::getDebug().
| Status epics::pvaClient::PvaClientProcess::waitConnect | ( | ) |
Wait until the channelProcess connection to the channel is complete.
Definition at line 203 of file pvaClientProcess.cpp.
References epics::pvaClient::PvaClient::getDebug().
Referenced by connect().
| Status epics::pvaClient::PvaClientProcess::waitProcess | ( | ) |
Wait until process completes.
Definition at line 246 of file pvaClientProcess.cpp.
References epics::pvaClient::PvaClient::getDebug().
Referenced by process().
|
friend |
Definition at line 953 of file pvaClient.h.
Referenced by create().