24 #include <aspect/inifins/clock.h> 25 #include <aspect/clock.h> 26 #include <utils/time/clock.h> 53 if (clock_thread == 0) {
55 "ClockAspect, but RTTI says it " 56 "has not. ", thread->
name());
void init_ClockAspect(Clock *clock)
Set the clock.
Thread aspect that allows to obtain the current time from the clock.
virtual void finalize(Thread *thread)
Finalize thread.
Fawkes library namespace.
This is supposed to be the central clock in Fawkes.
Thread class encapsulation of pthreads.
Thread cannot be initialized.
ClockAspectIniFin(Clock *clock)
Constructor.
const char * name() const
Get name of thread.
virtual void init(Thread *thread)
Initialize thread.
Aspect initializer/finalizer base class.