BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
ScheduledEvent Class Referenceabstract

#include <ScheduledEvent.h>

+ Inheritance diagram for ScheduledEvent:

Public Member Functions

virtual ~ScheduledEvent ()
 
virtual void execute ()=0
 
virtual std::string name () const
 

Protected Member Functions

 ScheduledEvent ()
 

Static Protected Member Functions

static void schedule (double t, ScheduledEvent *next)
 

Friends

class Scheduler
 

Detailed Description

Definition at line 10 of file ScheduledEvent.h.

Constructor & Destructor Documentation

◆ ~ScheduledEvent()

virtual ScheduledEvent::~ScheduledEvent ( )
inlinevirtual

Definition at line 14 of file ScheduledEvent.h.

14{}

◆ ScheduledEvent()

ScheduledEvent::ScheduledEvent ( )
inlineprotected

Definition at line 23 of file ScheduledEvent.h.

23{};

Member Function Documentation

◆ execute()

virtual void ScheduledEvent::execute ( )
pure virtual

Implemented in SimpleEvent< Receiver >.

◆ name()

std::string ScheduledEvent::name ( ) const
virtual

Reimplemented in SimpleEvent< Receiver >.

Definition at line 13 of file ScheduledEvent.cxx.

14{
15 const std::type_info& t = typeid(*this);
16 return t.name();
17}
TTree * t
Definition: binning.cxx:23

Referenced by SimpleEvent< Receiver >::name().

◆ schedule()

void ScheduledEvent::schedule ( double  t,
ScheduledEvent next 
)
staticprotected

Definition at line 8 of file ScheduledEvent.cxx.

9{
11}
static Scheduler * instance()
Definition: Scheduler.cxx:9
void schedule(double deltaT, ScheduledEvent *event)
Definition: Scheduler.cxx:35

Friends And Related Function Documentation

◆ Scheduler

friend class Scheduler
friend

Definition at line 29 of file ScheduledEvent.h.


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