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::ChannelPutRequester Class Referenceabstract

Requester for ChannelPut. More...

#include <client/pv/pvAccess.h>

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

Public Types

typedef std::tr1::shared_ptr
< ChannelPutRequester
shared_pointer
 
typedef std::tr1::shared_ptr
< const ChannelPutRequester
const_shared_pointer
 
typedef std::tr1::weak_ptr
< ChannelPutRequester
weak_pointer
 
typedef std::tr1::weak_ptr
< const ChannelPutRequester
const_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. More...
 
virtual void putDone (const epics::pvData::Status &status, ChannelPut::shared_pointer const &channelPut)=0
 The request is done. More...
 
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. 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 ChannelPut.

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

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