Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
API::Timer::TimerFunc Struct Reference

Public Member Functions

 TimerFunc (const std::chrono::time_point< std::chrono::system_clock > &next_time, std::function< void()> callback, bool exec_once, int execution_counter, int execution_interval)
 

Public Attributes

std::chrono::time_point< std::chrono::system_clock > next_time
 
std::function< void()> callback
 
bool exec_once
 
int execution_counter
 
int execution_interval
 

Detailed Description

Definition at line 53 of file Timer.h.

Constructor & Destructor Documentation

◆ TimerFunc()

API::Timer::TimerFunc::TimerFunc ( const std::chrono::time_point< std::chrono::system_clock > & next_time,
std::function< void()> callback,
bool exec_once,
int execution_counter,
int execution_interval )
inline

Definition at line 55 of file Timer.h.

Member Data Documentation

◆ callback

std::function<void()> API::Timer::TimerFunc::callback

Definition at line 67 of file Timer.h.

◆ exec_once

bool API::Timer::TimerFunc::exec_once

Definition at line 68 of file Timer.h.

◆ execution_counter

int API::Timer::TimerFunc::execution_counter

Definition at line 69 of file Timer.h.

◆ execution_interval

int API::Timer::TimerFunc::execution_interval

Definition at line 70 of file Timer.h.

◆ next_time

std::chrono::time_point<std::chrono::system_clock> API::Timer::TimerFunc::next_time

Definition at line 66 of file Timer.h.


The documentation for this struct was generated from the following file: