pvAccessCPP  7.1.5
Public Types | Public Member Functions | Static Public Attributes | List of all members
epics::pvAccess::ChannelGetRequester Class Referenceabstract

Requester for channelGet. More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::ChannelGetRequester:
Inheritance graph
[legend]
Collaboration diagram for epics::pvAccess::ChannelGetRequester:
Collaboration graph
[legend]

Public Types

typedef ChannelGet operation_type
 

Public Member Functions

 POINTER_DEFINITIONS (ChannelGetRequester)
 
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...
 
 POINTER_DEFINITIONS (ChannelBaseRequester)
 
virtual void channelDisconnect (bool destroy)
 Notification when underlying Channel becomes DISCONNECTED or DESTORYED. More...
 

Static Public Attributes

static size_t num_instances
 

Detailed Description

Requester for channelGet.

Definition at line 511 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.

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