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

Notifications associated with Channel::createChannelRPC() More...

#include <client/pv/pvAccess.h>

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

Public Types

typedef std::tr1::shared_ptr
< ChannelRPCRequester
shared_pointer
 
typedef std::tr1::shared_ptr
< const ChannelRPCRequester
const_shared_pointer
 
typedef std::tr1::weak_ptr
< ChannelRPCRequester
weak_pointer
 
typedef std::tr1::weak_ptr
< const ChannelRPCRequester
const_weak_pointer
 
typedef ChannelRPC operation_type
 

Public Member Functions

virtual void channelRPCConnect (const epics::pvData::Status &status, ChannelRPC::shared_pointer const &operation)=0
 RPC creation request satisfied. More...
 
virtual void requestDone (const epics::pvData::Status &status, ChannelRPC::shared_pointer const &operation, epics::pvData::PVStructure::shared_pointer const &pvResponse)=0
 RPC request (execution) completed. 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

Notifications associated with Channel::createChannelRPC()

No locks may be held while calling these methods.

Definition at line 813 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::ChannelRPCRequester::channelRPCConnect ( const epics::pvData::Status &  status,
ChannelRPC::shared_pointer const &  operation 
)
pure virtual

RPC creation request satisfied.

Must check status.isOk().

On Success, a non-NULL 'operation' is provided. This is the same pointer which was, or will be, returned from Channel::createChannelRPC().

It is allowed to call ChannelRPC::request() from within this method.

virtual void epics::pvAccess::ChannelRPCRequester::requestDone ( const epics::pvData::Status &  status,
ChannelRPC::shared_pointer const &  operation,
epics::pvData::PVStructure::shared_pointer const &  pvResponse 
)
pure virtual

RPC request (execution) completed.

Must check status.isOk().

On Success, a non-NULL 'pvResponse' is provided.

It is allowed to call ChannelRPC::request() from within this method.


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