pvAccessCPP 7.1.8
Loading...
Searching...
No Matches
epics::pvAccess::ChannelGetRequester Class Referenceabstract

Requester for channelGet. More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::ChannelGetRequester:
Collaboration diagram for epics::pvAccess::ChannelGetRequester:

Public Types

typedef std::tr1::shared_ptr< ChannelGetRequestershared_pointer
 
typedef std::tr1::shared_ptr< const ChannelGetRequesterconst_shared_pointer
 
typedef std::tr1::weak_ptr< ChannelGetRequesterweak_pointer
 
typedef std::tr1::weak_ptr< const ChannelGetRequesterconst_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.
 
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.
 
virtual void channelDisconnect (bool destroy)
 Notification when underlying Channel becomes DISCONNECTED or DESTORYED.
 

Static Public Attributes

static size_t num_instances
 

Detailed Description

Requester for channelGet.

Definition at line 511 of file pvAccess.h.

Member Typedef Documentation

◆ const_shared_pointer

std::tr1::shared_ptr<const ChannelGetRequester> epics::pvAccess::ChannelGetRequester::const_shared_pointer

Definition at line 513 of file pvAccess.h.

◆ const_weak_pointer

std::tr1::weak_ptr<const ChannelGetRequester> epics::pvAccess::ChannelGetRequester::const_weak_pointer

Definition at line 513 of file pvAccess.h.

◆ operation_type

◆ shared_pointer

std::tr1::shared_ptr<ChannelGetRequester> epics::pvAccess::ChannelGetRequester::shared_pointer

Definition at line 513 of file pvAccess.h.

◆ weak_pointer

std::tr1::weak_ptr<ChannelGetRequester> epics::pvAccess::ChannelGetRequester::weak_pointer

Definition at line 513 of file pvAccess.h.

Constructor & Destructor Documentation

◆ ~ChannelGetRequester()

virtual epics::pvAccess::ChannelGetRequester::~ChannelGetRequester ( )
inlinevirtual

Definition at line 516 of file pvAccess.h.

Member Function Documentation

◆ channelDisconnect()

virtual void epics::pvAccess::ChannelBaseRequester::channelDisconnect ( bool destroy)
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

Parameters
destroytrue for final disconnect.

Definition at line 198 of file pvAccess.h.

◆ channelGetConnect()

virtual void epics::pvAccess::ChannelGetRequester::channelGetConnect ( const epics::pvData::Status & status,
ChannelGet::shared_pointer const & channelGet,
epics::pvData::Structure::const_shared_pointer const & structure )
pure virtual

The client and server have both completed the createChannelGet request.

Parameters
statusCompletion status.
channelGetThe channelGet interface or nullptr if the request failed.
structureThe introspection interface of requested get structure or nullptr if the request failed.

◆ getDone()

virtual void epics::pvAccess::ChannelGetRequester::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 )
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()

Parameters
statusCompletion status.
channelGetThe channelGet interface.
pvStructureThe PVStructure that holds the data or nullptr if the request failed.
bitSetThe bitSet for that shows what data has changed or nullptr if the request failed.

Member Data Documentation

◆ num_instances

size_t epics::pvAccess::ChannelBaseRequester::num_instances
staticinherited

Definition at line 181 of file pvAccess.h.


The documentation for this class was generated from the following file: