Class TimerCounter::TimerHook

Nested Relationships

This class is a nested type of Class TimerCounter.

Inheritance Relationships

Base Type

Class Documentation

class TimerHook : public SignalHook

Public Functions

inline TimerHook(TimerCounter &timer)
inline virtual void raised(const signal_data_t &sigdata, int) override

Pure virtual callback called during signal raises.

Parameters:
  • sigdata – Data structure passed on when raising a signal

  • hooktag – integer passed on when connecting a hook to a signal. For hooks connected to several signals, it provides a mean to identify the caller.