22 #ifndef _ASPECT_SYNCPOINT_H_ 23 #define _ASPECT_SYNCPOINT_H_ 25 #include <aspect/aspect.h> 26 #include <core/threading/thread_loop_listener.h> 27 #include <syncpoint/syncpoint.h> 28 #include <syncpoint/syncpoint_manager.h> 38 std::string identifier_in,
39 std::string identifier_out =
"");
51 std::string identifier_in_;
52 std::string identifier_out_;
53 bool has_input_syncpoint_;
54 bool has_output_syncpoint_;
virtual ~SyncPointAspect()
Destructor.
Fawkes aspect base class.
Fawkes library namespace.
void init_SyncPointAspect(Thread *thread, SyncPointManager *syncpoint_manager)
Init SyncPoint aspect.
Thread class encapsulation of pthreads.
void post_loop(Thread *thread)
Emit the output syncpoint after loop()
Thread aspect to acces to SyncPoints Give this aspect to your thread to manage SyncPoints,...
WakeupType
Type to define when a thread wakes up after waiting for a SyncPoint.
This class gives access to SyncPoints.
void finalize_SyncPointAspect(Thread *thread, SyncPointManager *syncpoint_manager)
Finalize SyncPoint aspect.
void pre_loop(Thread *thread)
Wait for the input syncpoint before loop()
Thread loop listener interface.
SyncPointAspect(SyncPoint::WakeupType type_in, std::string identifier_in, std::string identifier_out="")
Constructor.