pvAccessCPP  7.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
epics::pvAccess::ChannelPutGetRequester Class Referenceabstract

Requester for ChannelPutGet. More...

#include <client/pv/pvAccess.h>

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

Public Types

typedef std::tr1::shared_ptr
< ChannelPutGetRequester
shared_pointer
 
typedef std::tr1::shared_ptr
< const ChannelPutGetRequester
const_shared_pointer
 
typedef std::tr1::weak_ptr
< ChannelPutGetRequester
weak_pointer
 
typedef std::tr1::weak_ptr
< const ChannelPutGetRequester
const_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. More...
 
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. More...
 
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. More...
 
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. More...
 
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 ChannelPutGet.

Definition at line 718 of file pvAccess.h.

Member Function Documentation

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.

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.
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.
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.
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.

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