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

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

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::ChannelRPCRequester:
Collaboration diagram for epics::pvAccess::ChannelRPCRequester:

Public Types

typedef std::tr1::shared_ptr< ChannelRPCRequestershared_pointer
 
typedef std::tr1::shared_ptr< const ChannelRPCRequesterconst_shared_pointer
 
typedef std::tr1::weak_ptr< ChannelRPCRequesterweak_pointer
 
typedef std::tr1::weak_ptr< const ChannelRPCRequesterconst_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.
 
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.
 
virtual void channelDisconnect (bool destroy)
 Notification when underlying Channel becomes DISCONNECTED or DESTORYED.
 

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 Typedef Documentation

◆ const_shared_pointer

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

Definition at line 815 of file pvAccess.h.

◆ const_weak_pointer

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

Definition at line 815 of file pvAccess.h.

◆ operation_type

◆ shared_pointer

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

Definition at line 815 of file pvAccess.h.

◆ weak_pointer

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

Definition at line 815 of file pvAccess.h.

Constructor & Destructor Documentation

◆ ~ChannelRPCRequester()

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

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

◆ channelRPCConnect()

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.

◆ requestDone()

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.

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: