Continually signaled event. More...
#include <senf/PPI/IdleEvent.hh>
Public Member Functions | |
IdleEvent (std::string const &name="") | |
Public Member Functions inherited from senf::ppi::EventImplementation<> | |
module::Module & | module () const |
Module in which the event is registered. More... | |
EventManager & | manager () const |
EventManager of the event. More... | |
Public Member Functions inherited from senf::ppi::EventDescriptor | |
virtual | ~EventDescriptor () |
bool | enabled () const |
Check, whether the event is currently enabled. More... | |
void | enabled (bool v) |
Enable or disable the event. More... | |
Additional Inherited Members | |
Public Types inherited from senf::ppi::EventImplementation<> | |
typedef EventType | Event |
typedef detail::EventArgType< EventType >::type | EventArg |
Protected Types inherited from senf::ppi::EventImplementationHelper< EventType, Self > | |
typedef detail::EventArgType< EventType >::type | EventArg |
Protected Member Functions inherited from senf::ppi::EventImplementation<> | |
EventImplementation () | |
Protected Member Functions inherited from senf::ppi::EventDescriptor | |
EventDescriptor () | |
Protected Member Functions inherited from senf::ppi::EventImplementationHelper< EventType, Self > | |
void | callback (EventArg event, ClockService::clock_type time) |
Forward event to user callback. More... | |
void | callback (EventArg event) |
Forward event to user callback. More... | |
Continually signaled event.
An IdleEvent is signaled continually and repeatedly while enabled. It will consume 100% of available CPU resources. The resource usage is controlled by adequate event throttling.
Definition at line 37 of file IdleEvent.hh.
senf::ppi::IdleEvent::IdleEvent | ( | std::string const & | name = "" | ) |