Class Event

Class Documentation

class core::event::Event

Public Functions

Event(unsigned long id, std::function<int()> functionint timeout, )
~Event()
unsigned long GetId()
bool DecrementTimeout(unsigned int elapsed)
bool Execute()

Will execute this event and refresh the invocation time.

void Cancel()

Will cancel this event manually.