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

Requester for ChannelPutGet. More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::ChannelPutGetRequester:
Collaboration diagram for epics::pvAccess::ChannelPutGetRequester:

Public Types

typedef std::tr1::shared_ptr< ChannelPutGetRequestershared_pointer
 
typedef std::tr1::shared_ptr< const ChannelPutGetRequesterconst_shared_pointer
 
typedef std::tr1::weak_ptr< ChannelPutGetRequesterweak_pointer
 
typedef std::tr1::weak_ptr< const ChannelPutGetRequesterconst_weak_pointer
 
typedef ChannelPutGet operation_type
 

Public Member Functions

virtual void channelPutGetConnect (const epics::pvData::Status &status, ChannelPutGet::shared_pointer const &channelPutGet, epics::pvData::Structure::const_shared_pointer const &putStructure, epics::pvData::Structure::const_shared_pointer const &getStructure)=0
 The client and server have both completed the createChannelPutGet request.
 
virtual void putGetDone (const epics::pvData::Status &status, ChannelPutGet::shared_pointer const &channelPutGet, epics::pvData::PVStructure::shared_pointer const &pvGetStructure, epics::pvData::BitSet::shared_pointer const &getBitSet)=0
 The putGet request is done.
 
virtual void getPutDone (const epics::pvData::Status &status, ChannelPutGet::shared_pointer const &channelPutGet, epics::pvData::PVStructure::shared_pointer const &pvPutStructure, epics::pvData::BitSet::shared_pointer const &putBitSet)=0
 The getPut request is done.
 
virtual void getGetDone (const epics::pvData::Status &status, ChannelPutGet::shared_pointer const &channelPutGet, epics::pvData::PVStructure::shared_pointer const &pvGetStructure, epics::pvData::BitSet::shared_pointer const &getBitSet)=0
 The getGet 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 ChannelPutGet.

Definition at line 718 of file pvAccess.h.

Member Typedef Documentation

◆ const_shared_pointer

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

Definition at line 721 of file pvAccess.h.

◆ const_weak_pointer

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

Definition at line 721 of file pvAccess.h.

◆ operation_type

◆ shared_pointer

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

Definition at line 721 of file pvAccess.h.

◆ weak_pointer

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

Definition at line 721 of file pvAccess.h.

Constructor & Destructor Documentation

◆ ~ChannelPutGetRequester()

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

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

◆ channelPutGetConnect()

virtual void epics::pvAccess::ChannelPutGetRequester::channelPutGetConnect ( const epics::pvData::Status & status,
ChannelPutGet::shared_pointer const & channelPutGet,
epics::pvData::Structure::const_shared_pointer const & putStructure,
epics::pvData::Structure::const_shared_pointer const & getStructure )
pure virtual

The client and server have both completed the createChannelPutGet request.

Parameters
statusCompletion status.
channelPutGetThe channelPutGet interface or null if the request failed.
putStructureThe put structure introspection data or nullptr if the request failed.
getStructureThe get structure introspection data or nullptr if the request failed.

◆ getGetDone()

virtual void epics::pvAccess::ChannelPutGetRequester::getGetDone ( const epics::pvData::Status & status,
ChannelPutGet::shared_pointer const & channelPutGet,
epics::pvData::PVStructure::shared_pointer const & pvGetStructure,
epics::pvData::BitSet::shared_pointer const & getBitSet )
pure virtual

The getGet request is done.

This is always called with no locks held.

Parameters
statusCompletion status.
channelPutGetThe channelPutGet interface.
pvGetStructureThe PVStructure that holds the getData or nullptr if the request failed.
getBitSetgetPVStructure changed bit-set or nullptr if the request failed.

◆ getPutDone()

virtual void epics::pvAccess::ChannelPutGetRequester::getPutDone ( const epics::pvData::Status & status,
ChannelPutGet::shared_pointer const & channelPutGet,
epics::pvData::PVStructure::shared_pointer const & pvPutStructure,
epics::pvData::BitSet::shared_pointer const & putBitSet )
pure virtual

The getPut request is done.

This is always called with no locks held.

Parameters
statusCompletion status.
channelPutGetThe channelPutGet interface.
pvPutStructureThe PVStructure that holds the putData or nullptr if the request failed.
putBitSetputPVStructure changed bit-set or nullptr if the request failed.

◆ putGetDone()

virtual void epics::pvAccess::ChannelPutGetRequester::putGetDone ( const epics::pvData::Status & status,
ChannelPutGet::shared_pointer const & channelPutGet,
epics::pvData::PVStructure::shared_pointer const & pvGetStructure,
epics::pvData::BitSet::shared_pointer const & getBitSet )
pure virtual

The putGet request is done.

This is always called with no locks held.

Parameters
statusCompletion status.
channelPutGetThe channelPutGet interface.
pvGetStructureThe PVStructure that holds the getData or nullptr if the request failed.
getBitSetgetPVStructure changed bit-set 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: