Base class for timer handler. More...
#include <timer_handler.hpp>
Public Member Functions | |
timer_handler_base_t (actor_base_t *owner_, request_id_t request_id_) noexcept | |
constructs timer handler from non-owning pointer to timer and timer request id | |
virtual void | trigger (bool cancelled) noexcept=0 |
an action when timer was triggered or cancelled | |
Public Attributes | |
actor_base_t * | owner |
actor, which "owns" timer, i.e. where "start_timer" was invoked" | |
request_id_t | request_id |
timer identity (aka timer request id) | |
Base class for timer handler.
|
pure virtualnoexcept |
an action when timer was triggered or cancelled
Implemented in rotor::timer_handler_t< Object, Method >.