pvAccessCPP  7.1.2
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 Monitor operation_type
 

Public Member Functions

 POINTER_DEFINITIONS (MonitorRequester)
 
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...
 
 POINTER_DEFINITIONS (ChannelBaseRequester)
 
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

◆ 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.

◆ monitorConnect()

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.

◆ monitorEvent()

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.

◆ unlisten()

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: