pvAccessCPP
7.1.7
|
Requester for channelGet. More...
#include <client/pv/pvAccess.h>
Public Types | |
typedef std::tr1::shared_ptr < ChannelGetRequester > | shared_pointer |
typedef std::tr1::shared_ptr < const ChannelGetRequester > | const_shared_pointer |
typedef std::tr1::weak_ptr < ChannelGetRequester > | weak_pointer |
typedef std::tr1::weak_ptr < const ChannelGetRequester > | const_weak_pointer |
typedef ChannelGet | operation_type |
Public Member Functions | |
virtual void | channelGetConnect (const epics::pvData::Status &status, ChannelGet::shared_pointer const &channelGet, epics::pvData::Structure::const_shared_pointer const &structure)=0 |
The client and server have both completed the createChannelGet request. More... | |
virtual void | getDone (const epics::pvData::Status &status, ChannelGet::shared_pointer const &channelGet, epics::pvData::PVStructure::shared_pointer const &pvStructure, epics::pvData::BitSet::shared_pointer const &bitSet)=0 |
The request is done. More... | |
virtual void | channelDisconnect (bool destroy) |
Notification when underlying Channel becomes DISCONNECTED or DESTORYED. More... | |
Static Public Attributes | |
static size_t | num_instances |
Requester for channelGet.
Definition at line 511 of file pvAccess.h.
|
inlinevirtualinherited |
Notification when underlying Channel becomes DISCONNECTED or DESTORYED.
(re)connection is notified through a sub-class *Connect() method.
Any in-progress get()/put()/request()/start() is implicitly cancel()'d or stop()'d before this method is called.
Ownership of any PVStructures passed to completion callbacks (eg. ChannelGetRequester::getDone() ) is returned the operation
destroy | true for final disconnect. |
Definition at line 198 of file pvAccess.h.
|
pure virtual |
The client and server have both completed the createChannelGet request.
status | Completion status. |
channelGet | The channelGet interface or nullptr if the request failed. |
structure | The introspection interface of requested get structure or nullptr if the request failed. |
|
pure virtual |
The request is done.
This is always called with no locks held.
Ownership of the PVStructure is passed to the ChannelGetRequester until a subsequent call to ChannelGet::get() or ChannelGetRequester::channelDisconnect()
status | Completion status. |
channelGet | The channelGet interface. |
pvStructure | The PVStructure that holds the data or nullptr if the request failed. |
bitSet | The bitSet for that shows what data has changed or nullptr if the request failed. |