24 #ifndef _ASPECT_BLOCKED_TIMING_H_ 25 #define _ASPECT_BLOCKED_TIMING_H_ 27 #include <aspect/aspect.h> 28 #include <aspect/syncpoint.h> 29 #include <core/threading/thread_loop_listener.h> act thread (motor module etc.)
void finalize_BlockedTimingAspect(Thread *thread)
Finalize BlockedTiming aspect.
static const std::map< const WakeupHook, const std::string > hook_to_syncpoint
Translation from WakeupHooks to SyncPoints.
sensor data preparation thread, convert acquired data to usable format
Fawkes library namespace.
void init_BlockedTimingAspect(Thread *thread)
Init BlockedTiming aspect.
Thread class encapsulation of pthreads.
skill thread (skill module)
static std::string blocked_timing_hook_to_start_syncpoint(WakeupHook hook)
Get the syncpoint identifier corresponding to the start of a wakeup hook.
sensor data processing thread
Thread aspect to acces to SyncPoints Give this aspect to your thread to manage SyncPoints,...
Thread aspect to use blocked timing.
static std::string blocked_timing_hook_to_end_syncpoint(WakeupHook hook)
Get the syncpoint identifier corresponding to the end of a wakeup hook.
WakeupHook
Type to define at which hook the thread is woken up.
void post_loop(Thread *thread)
The post loop function of the BlockedTimingAspect This function is called right after the loop of the...
static const char * blocked_timing_hook_to_string(WakeupHook hook)
Get string for wakeup hook.
Loop Listener of the BlockedTimingAspect.
Thread loop listener interface.
virtual ~BlockedTimingAspect()
Virtual empty destructor.
BlockedTimingAspect(WakeupHook wakeup_hook)
Constructor.
WakeupHook blockedTimingAspectHook() const
Get the wakeup hook.
sensor acquisition thread, acquire data from sensor