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