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

Callback implemented by monitor clients. More...

#include <client/pv/pvAccess.h>

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

Public Types

typedef std::tr1::shared_ptr
< MonitorRequester
shared_pointer
 
typedef std::tr1::shared_ptr
< const MonitorRequester
const_shared_pointer
 
typedef std::tr1::weak_ptr
< MonitorRequester
weak_pointer
 
typedef std::tr1::weak_ptr
< const MonitorRequester
const_weak_pointer
 
typedef Monitor operation_type
 

Public Member Functions

virtual void monitorConnect (epics::pvData::Status const &status, MonitorPtr const &monitor, epics::pvData::StructureConstPtr const &structure)=0
 Underlying Channel is connected and operation setup is complete. More...
 
virtual void monitorEvent (MonitorPtr const &monitor)=0
 Monitor queue is not empty. More...
 
virtual void unlisten (MonitorPtr const &monitor)=0
 No more subscription update will be sent. 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

Callback implemented by monitor clients.

Requester for ChannelMonitor.

Author
mrk

Definition at line 249 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::MonitorRequester::monitorConnect ( epics::pvData::Status const &  status,
MonitorPtr const &  monitor,
epics::pvData::StructureConstPtr const &  structure 
)
pure virtual

Underlying Channel is connected and operation setup is complete.

Call start() to begin subscription updates.

Parameters
statusCompletion status.
monitorThe monitor
structureThe structure defining the data.
virtual void epics::pvAccess::MonitorRequester::monitorEvent ( MonitorPtr const &  monitor)
pure virtual

Monitor queue is not empty.

The requester must call Monitor.poll to get data.

Parameters
monitorThe monitor.
virtual void epics::pvAccess::MonitorRequester::unlisten ( MonitorPtr const &  monitor)
pure virtual

No more subscription update will be sent.

Parameters
monitorThe monitor.

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