lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Pds::Routine Class Referenceabstract

Job that can be queued to a Task with Task::call() (a queue Entry); the task thread calls routine(). More...

#include <Routine.hh>

Inherits Pds::Entry.

Inherited by Pds::TaskDelete, Pds::TaskWait [private], Pds::Timer, and Pds::TimerServiceRoutine [private].

Public Member Functions

virtual ~Routine ()
 Does nothing; empty virtual destructor.
 
virtual void routine (void)=0
 Pure virtual: the work to run on the task thread.
 
- Public Member Functions inherited from Pds::Entry
 Entry ()
 Construct an entry whose links point to itself.
 
Entry * insert (Entry *after)
 Insert this entry after after and return after.
 
Entry * insertList (Entry *after)
 Splice the list that this entry belongs to (from this entry to its predecessor) in after after; returns after.
 
Entry * remove ()
 Unlink this entry from its list, relink it to itself and return it.
 
Entry * next () const
 Return the next entry.
 
Entry * previous () const
 Return the previous entry.
 

Detailed Description

Job that can be queued to a Task with Task::call() (a queue Entry); the task thread calls routine().

Constructor & Destructor Documentation

◆ ~Routine()

virtual Pds::Routine::~Routine ( )
inlinevirtual

Does nothing; empty virtual destructor.

Member Function Documentation

◆ routine()

virtual void Pds::Routine::routine ( void  )
pure virtual

Pure virtual: the work to run on the task thread.

Implemented in Pds::TaskDelete.


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