pvAccessCPP 7.1.9
Loading...
Searching...
No Matches
epics::pvAccess::ChannelBaseRequester Struct Referenceabstract

Base for all Requesters (callbacks to client). More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::ChannelBaseRequester:
Collaboration diagram for epics::pvAccess::ChannelBaseRequester:

Public Types

typedef std::tr1::shared_ptr< ChannelBaseRequester > shared_pointer
typedef std::tr1::shared_ptr< const ChannelBaseRequester > const_shared_pointer
typedef std::tr1::weak_ptr< ChannelBaseRequester > weak_pointer
typedef std::tr1::weak_ptr< const ChannelBaseRequester > const_weak_pointer

Public Member Functions

virtual void channelDisconnect (bool destroy)
 Notification when underlying Channel becomes DISCONNECTED or DESTORYED.
virtual std::string getRequesterName ()=0
 The requester must have a name.
virtual void message (std::string const &message, MessageType messageType=errorMessage)
 Push notification.

Static Public Attributes

static size_t num_instances

Detailed Description

Base for all Requesters (callbacks to client).

Definition at line 177 of file pvAccess.h.

Member Typedef Documentation

◆ const_shared_pointer

typedef std::tr1::shared_ptr<const ChannelBaseRequester> epics::pvAccess::ChannelBaseRequester::const_shared_pointer

Definition at line 179 of file pvAccess.h.

◆ const_weak_pointer

typedef std::tr1::weak_ptr<const ChannelBaseRequester> epics::pvAccess::ChannelBaseRequester::const_weak_pointer

Definition at line 179 of file pvAccess.h.

◆ shared_pointer

typedef std::tr1::shared_ptr<ChannelBaseRequester> epics::pvAccess::ChannelBaseRequester::shared_pointer

Definition at line 179 of file pvAccess.h.

◆ weak_pointer

typedef std::tr1::weak_ptr<ChannelBaseRequester> epics::pvAccess::ChannelBaseRequester::weak_pointer

Definition at line 179 of file pvAccess.h.

Member Function Documentation

◆ channelDisconnect()

virtual void epics::pvAccess::ChannelBaseRequester::channelDisconnect ( bool destroy)
inlinevirtual

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.

◆ getRequesterName()

virtual std::string epics::pvAccess::Requester::getRequesterName ( )
pure virtualinherited

The requester must have a name.

Returns
The requester's name.

Implemented in epics::pvAccess::Channel, and epics::pvAccess::DefaultChannelRequester.

◆ message()

virtual void epics::pvAccess::Requester::message ( std::string const & message,
MessageType messageType = errorMessage )
virtualinherited

Push notification.

Reimplemented in epics::pvAccess::Channel.

Member Data Documentation

◆ num_instances

size_t epics::pvAccess::ChannelBaseRequester::num_instances
static

Definition at line 181 of file pvAccess.h.


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