pvAccessCPP
7.1.7
|
Interface for a channel access put request. More...
#include <client/pv/pvAccess.h>
Public Types | |
typedef std::tr1::shared_ptr < ChannelPut > | shared_pointer |
typedef std::tr1::shared_ptr < const ChannelPut > | const_shared_pointer |
typedef std::tr1::weak_ptr < ChannelPut > | weak_pointer |
typedef std::tr1::weak_ptr < const ChannelPut > | const_weak_pointer |
typedef ChannelPutRequester | requester_type |
Public Member Functions | |
virtual void | put (epics::pvData::PVStructure::shared_pointer const &pvPutStructure, epics::pvData::BitSet::shared_pointer const &putBitSet)=0 |
Put data to a channel. More... | |
virtual void | get ()=0 |
Get the current data. More... | |
virtual std::tr1::shared_ptr < Channel > | getChannel ()=0 |
Get a channel instance this request belongs to. More... | |
virtual void | cancel ()=0 |
Cancel any pending request. More... | |
virtual void | lastRequest ()=0 |
Announce next request as last request. More... | |
virtual void | destroy () |
Destroy this instance. | |
virtual void | lock () |
virtual void | unlock () |
Static Public Attributes | |
static size_t | num_instances |
Interface for a channel access put request.
Definition at line 600 of file pvAccess.h.
|
pure virtualinherited |
Cancel any pending request.
Completion will be reported via request's response callback:
|
pure virtual |
Get the current data.
Ownership transfer as with ChannelGet::get()
|
pure virtualinherited |
Get a channel instance this request belongs to.
|
pure virtualinherited |
Announce next request as last request.
When last request will be completed (regardless of completion status) the remote and local instance will be destroyed.
|
pure 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). |