![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "sharedstateimpl.h"
Public Member Functions | |
SharedRPC (const std::tr1::shared_ptr< SharedChannel > &channel, const requester_type::shared_pointer &requester, const pvd::PVStructure::const_shared_pointer &pvRequest) | |
virtual | ~SharedRPC () |
virtual void | destroy () OVERRIDE FINAL |
virtual std::tr1::shared_ptr< pva::Channel > | getChannel () OVERRIDE FINAL |
virtual void | cancel () OVERRIDE FINAL |
virtual void | lastRequest () OVERRIDE FINAL |
virtual void | request (epics::pvData::PVStructure::shared_pointer const &pvArgument) OVERRIDE FINAL |
![]() | |
POINTER_DEFINITIONS (ChannelRPC) | |
virtual | ~ChannelRPC () |
![]() | |
POINTER_DEFINITIONS (ChannelRequest) | |
ChannelRequest () | |
virtual | ~ChannelRequest () |
![]() | |
POINTER_DEFINITIONS (Destroyable) | |
![]() | |
POINTER_DEFINITIONS (Lockable) | |
virtual | ~Lockable () |
virtual void | lock () |
virtual void | unlock () |
Public Attributes | |
const std::tr1::shared_ptr< SharedChannel > | channel |
const requester_type::weak_pointer | requester |
const pvd::PVStructure::const_shared_pointer | pvRequest |
bool | connected |
Static Public Attributes | |
static size_t | num_instances |
![]() | |
static size_t | num_instances |
Additional Inherited Members | |
![]() | |
typedef ChannelRPCRequester | requester_type |
![]() | |
virtual | ~Destroyable () |
Definition at line 105 of file sharedstateimpl.h.
pvas::detail::SharedRPC::SharedRPC | ( | const std::tr1::shared_ptr< SharedChannel > & | channel, |
const requester_type::shared_pointer & | requester, | ||
const pvd::PVStructure::const_shared_pointer & | pvRequest | ||
) |
Definition at line 86 of file sharedstate_rpc.cpp.
|
virtual |
Definition at line 97 of file sharedstate_rpc.cpp.
|
virtual |
Cancel any pending request. Completion will be reported via request's response callback:
Implements epics::pvAccess::ChannelRequest.
Definition at line 110 of file sharedstate_rpc.cpp.
|
virtual |
Destroy this instance.
Implements epics::pvAccess::Destroyable.
Definition at line 103 of file sharedstate_rpc.cpp.
|
virtual |
Get a channel instance this request belongs to.
Implements epics::pvAccess::ChannelRequest.
Definition at line 105 of file sharedstate_rpc.cpp.
|
virtual |
Announce next request as last request. When last request will be completed (regardless of completion status) the remote and local instance will be destroyed.
Implements epics::pvAccess::ChannelRequest.
Definition at line 112 of file sharedstate_rpc.cpp.
|
virtual |
Issue an RPC request to the channel.
Completion status is reported by calling ChannelRPCRequester::requestDone() callback, which may be called from this method.
pvArgument | The argument structure for an RPC request. |
Implements epics::pvAccess::ChannelRPC.
Definition at line 114 of file sharedstate_rpc.cpp.
const std::tr1::shared_ptr<SharedChannel> pvas::detail::SharedRPC::channel |
Definition at line 108 of file sharedstateimpl.h.
bool pvas::detail::SharedRPC::connected |
Definition at line 114 of file sharedstateimpl.h.
|
static |
Definition at line 112 of file sharedstateimpl.h.
const pvd::PVStructure::const_shared_pointer pvas::detail::SharedRPC::pvRequest |
Definition at line 110 of file sharedstateimpl.h.
const requester_type::weak_pointer pvas::detail::SharedRPC::requester |
Definition at line 109 of file sharedstateimpl.h.