![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "sharedstateimpl.h"
Public Member Functions | |
SharedPut (const std::tr1::shared_ptr< SharedChannel > &channel, const requester_type::shared_pointer &requester, const pvd::PVStructure::const_shared_pointer &pvRequest) | |
virtual | ~SharedPut () |
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 | put (epics::pvData::PVStructure::shared_pointer const &pvPutStructure, epics::pvData::BitSet::shared_pointer const &putBitSet) OVERRIDE FINAL |
virtual void | get () OVERRIDE FINAL |
![]() | |
POINTER_DEFINITIONS (ChannelPut) | |
virtual | ~ChannelPut () |
![]() | |
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 |
pvd::PVRequestMapper | mapper |
Static Public Attributes | |
static size_t | num_instances |
![]() | |
static size_t | num_instances |
Additional Inherited Members | |
![]() | |
typedef ChannelPutRequester | requester_type |
![]() | |
virtual | ~Destroyable () |
Definition at line 76 of file sharedstateimpl.h.
pvas::detail::SharedPut::SharedPut | ( | const std::tr1::shared_ptr< SharedChannel > & | channel, |
const requester_type::shared_pointer & | requester, | ||
const pvd::PVStructure::const_shared_pointer & | pvRequest | ||
) |
Definition at line 80 of file sharedstate_put.cpp.
|
virtual |
Definition at line 90 of file sharedstate_put.cpp.
|
virtual |
Cancel any pending request. Completion will be reported via request's response callback:
Implements epics::pvAccess::ChannelRequest.
Definition at line 104 of file sharedstate_put.cpp.
|
virtual |
Destroy this instance.
Implements epics::pvAccess::Destroyable.
Definition at line 97 of file sharedstate_put.cpp.
|
virtual |
Get the current data.
Ownership transfer as with ChannelGet::get()
Implements epics::pvAccess::ChannelPut.
Definition at line 152 of file sharedstate_put.cpp.
|
virtual |
Get a channel instance this request belongs to.
Implements epics::pvAccess::ChannelRequest.
Definition at line 99 of file sharedstate_put.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 106 of file sharedstate_put.cpp.
|
virtual |
Put data to a channel.
Completion status is reported by calling ChannelPutRequester::putDone()
Ownership of the PVStructure is transfered to the ChannelPut until ChannelPutRequester::putDone() or ChannelPutRequester::channelDisconnect() is called.
pvPutStructure | The PVStructure that holds the putData. |
putBitSet | putPVStructure bit-set (selects what fields to put). |
Implements epics::pvAccess::ChannelPut.
Definition at line 108 of file sharedstate_put.cpp.
const std::tr1::shared_ptr<SharedChannel> pvas::detail::SharedPut::channel |
Definition at line 79 of file sharedstateimpl.h.
pvd::PVRequestMapper pvas::detail::SharedPut::mapper |
Definition at line 84 of file sharedstateimpl.h.
|
static |
Definition at line 86 of file sharedstateimpl.h.
const pvd::PVStructure::const_shared_pointer pvas::detail::SharedPut::pvRequest |
Definition at line 81 of file sharedstateimpl.h.
const requester_type::weak_pointer pvas::detail::SharedPut::requester |
Definition at line 80 of file sharedstateimpl.h.