Skip to content

Ticker

詳細情報

メンバー

Ticker()

Ticker::Ticker()

~Ticker()

Ticker::~Ticker()

attach()

void Ticker::attach(float seconds, callback_t callback)

引数

  • float seconds
  • callback_t callback

attach_ms()

void Ticker::attach_ms(uint32_t milliseconds, callback_t callback)

引数

  • uint32_t milliseconds
  • callback_t callback

attach()

void Ticker::attach(float seconds, void(*callback)(TArg), TArg arg)

引数

  • float seconds
  • void(*)(TArg) callback
  • TArg arg

attach_ms()

void Ticker::attach_ms(uint32_t milliseconds, void(*callback)(TArg), TArg arg)

引数

  • uint32_t milliseconds
  • void(*)(TArg) callback
  • TArg arg

once()

void Ticker::once(float seconds, callback_t callback)

引数

  • float seconds
  • callback_t callback

once_ms()

void Ticker::once_ms(uint32_t milliseconds, callback_t callback)

引数

  • uint32_t milliseconds
  • callback_t callback

once()

void Ticker::once(float seconds, void(*callback)(TArg), TArg arg)

引数

  • float seconds
  • void(*)(TArg) callback
  • TArg arg

once_ms()

void Ticker::once_ms(uint32_t milliseconds, void(*callback)(TArg), TArg arg)

引数

  • uint32_t milliseconds
  • void(*)(TArg) callback
  • TArg arg

detach()

void Ticker::detach()

active()

bool Ticker::active()

戻り値

bool