24 #ifndef PPL_Handler_defs_hh
25 #define PPL_Handler_defs_hh 1
33 virtual void act()
const = 0;
60 template <
typename Flag_Base,
typename Flag>
65 Handler_Flag(
const Flag_Base*
volatile& holder, Flag& flag);
71 virtual void act()
const;
75 const Flag_Base*
volatile&
h;
87 virtual void act()
const;
96 #endif // !defined(PPL_Handler_defs_hh)
virtual void act() const =0
Does the job.
Handler_Function(void(*const function)())
Constructor with a given function.
Abstract base class for handlers of the watchdog events.
Handler_Flag(const Flag_Base *volatile &holder, Flag &flag)
Constructor with a given function.
A kind of Handler that installs a flag onto a flag-holder.
void(*const f)()
Pointer to the embedded function.
virtual void act() const
Does its job: calls the embedded function.
virtual void act() const
Does its job: installs the flag onto the holder, if a flag with an higher priority has not already be...
const Flag_Base *volatile & h
virtual ~Handler()
Virtual destructor.
A kind of Handler calling a given function.