24 #include <aspect/clock.h> 25 #include <aspect/inifins/clock.h> 26 #include <utils/time/clock.h> 47 clock_thread = dynamic_cast<ClockAspect *>(thread);
48 if (clock_thread == 0) {
50 "ClockAspect, but RTTI says it " 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.