BOSS 7.0.5
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
 
virtual ~ScheduledEvent ()
 
virtual void execute ()=0
 
virtual std::string name () const
 

Protected Member Functions

 ScheduledEvent ()
 
 ScheduledEvent ()
 

Static Protected Member Functions

static void schedule (double t, ScheduledEvent *next)
 
static void schedule (double t, ScheduledEvent *next)
 

Friends

class Scheduler
 

Detailed Description

Constructor & Destructor Documentation

◆ ~ScheduledEvent() [1/2]

virtual ScheduledEvent::~ScheduledEvent ( )
inlinevirtual

◆ ScheduledEvent() [1/2]

ScheduledEvent::ScheduledEvent ( )
inlineprotected

◆ ~ScheduledEvent() [2/2]

virtual ScheduledEvent::~ScheduledEvent ( )
inlinevirtual

◆ ScheduledEvent() [2/2]

ScheduledEvent::ScheduledEvent ( )
inlineprotected

Member Function Documentation

◆ execute() [1/2]

virtual void ScheduledEvent::execute ( )
pure virtual

◆ execute() [2/2]

virtual void ScheduledEvent::execute ( )
pure virtual

◆ name() [1/2]

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

Reimplemented in SimpleEvent< Receiver >, and 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().

◆ name() [2/2]

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

◆ schedule() [1/2]

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

◆ schedule() [2/2]

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

Friends And Related Function Documentation

◆ Scheduler


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