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

Requester for ChannelPut. More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::ChannelPutRequester:
Collaboration diagram for epics::pvAccess::ChannelPutRequester:

Public Types

typedef std::tr1::shared_ptr< ChannelPutRequestershared_pointer
 
typedef std::tr1::shared_ptr< const ChannelPutRequesterconst_shared_pointer
 
typedef std::tr1::weak_ptr< ChannelPutRequesterweak_pointer
 
typedef std::tr1::weak_ptr< const ChannelPutRequesterconst_weak_pointer
 
typedef ChannelPut operation_type
 

Public Member Functions

virtual void channelPutConnect (const epics::pvData::Status &status, ChannelPut::shared_pointer const &channelPut, epics::pvData::Structure::const_shared_pointer const &structure)=0
 The client and server have both processed the createChannelPut request.
 
virtual void putDone (const epics::pvData::Status &status, ChannelPut::shared_pointer const &channelPut)=0
 The request is done.
 
virtual void getDone (const epics::pvData::Status &status, ChannelPut::shared_pointer const &channelPut, epics::pvData::PVStructure::shared_pointer const &pvStructure, epics::pvData::BitSet::shared_pointer const &bitSet)=0
 The get 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 ChannelPut.

Definition at line 635 of file pvAccess.h.

Member Typedef Documentation

◆ const_shared_pointer

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

Definition at line 637 of file pvAccess.h.

◆ const_weak_pointer

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

Definition at line 637 of file pvAccess.h.

◆ operation_type

◆ shared_pointer

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

Definition at line 637 of file pvAccess.h.

◆ weak_pointer

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

Definition at line 637 of file pvAccess.h.

Constructor & Destructor Documentation

◆ ~ChannelPutRequester()

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

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

◆ channelPutConnect()

virtual void epics::pvAccess::ChannelPutRequester::channelPutConnect ( const epics::pvData::Status & status,
ChannelPut::shared_pointer const & channelPut,
epics::pvData::Structure::const_shared_pointer const & structure )
pure virtual

The client and server have both processed the createChannelPut request.

Parameters
statusCompletion status.
channelPutThe channelPut interface or null if the request failed.
structureThe introspection interface of requested put/get structure or nullptr if the request failed.

◆ getDone()

virtual void epics::pvAccess::ChannelPutRequester::getDone ( const epics::pvData::Status & status,
ChannelPut::shared_pointer const & channelPut,
epics::pvData::PVStructure::shared_pointer const & pvStructure,
epics::pvData::BitSet::shared_pointer const & bitSet )
pure virtual

The get request is done.

This is always called with no locks held.

Ownership transfer as with ChannelGetRequester::getDone()

Parameters
statusCompletion status.
channelPutThe channelPut 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.

◆ putDone()

virtual void epics::pvAccess::ChannelPutRequester::putDone ( const epics::pvData::Status & status,
ChannelPut::shared_pointer const & channelPut )
pure virtual

The request is done.

This is always called with no locks held.

Parameters
statusCompletion status.
channelPutThe channelPut interface.

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: