EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Member Functions | List of all members
Scannable Class Referenceabstract

Interface for something that can be placed on a ScanList. More...

#include <ScanList.h>

Inheritance diagram for Scannable:
Named SampleMechanismGetEA3 SampleMechanismMonitoredGetEA3

Public Member Functions

virtual void scan (const epicsTime &now)=0
 Invoked whenever a scan is due. More...
 
- Public Member Functions inherited from Named
virtual const std::string & getName () const =0
 

Detailed Description

Interface for something that can be placed on a ScanList.

Uses 'virtual Named' so that the user can implement this interface together with other 'Named' interfaces and still only get one 'Named' base.

See Also
ScanList

Member Function Documentation

virtual void Scannable::scan ( const epicsTime &  now)
pure virtual

Invoked whenever a scan is due.

The passed 'now' is the deadline time that was used to decide if this item is due 'now', so it should be very close to the current time, and might be cheaper to use than asking for the exact current time.

Implemented in SampleMechanismMonitoredGetEA3, and SampleMechanismGetEA3.


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