Kanzi 4.1.0
kanzi::MainLoopScheduler::Timer::Runtime Struct Reference

#include <kanzi/core.ui/main_loop/main_loop_scheduler.hpp>

Public Member Functions

Runtimeoperator= (const Runtime &)=delete
 
Runtimeoperator= (Runtime &&)=delete
 
 Runtime (const Runtime &)=delete
 
 Runtime (ConstCharArrayUniquePtr name, bool isNameFixedString, TimerTask task, TimerRecurrence recurrence, chrono::nanoseconds interval, TimePoint lastTimestamp)
 Constructor.
 
 Runtime (Runtime &&)=delete
 
 ~Runtime ()
 Destructor.
 

Public Attributes

chrono::nanoseconds interval
 Sets the amount of time after which to execute the task.
 
bool isNameFixedString
 Marks whether the name uses a FixedString.
 
TimePoint lastTimestamp
 Timestamp from the last execution of the task.
 
ConstCharArrayUniquePtr name
 The name of the task.
 
MainLoopProfilingScopeToken profilerToken
 Token used to profile the task.
 
TimerRecurrence recurrence
 Recurrence option of the task.
 
TimerTask task
 The task.
 
ConcreteTaskToken token
 Unique identifier of the task.
 

Constructor & Destructor Documentation

◆ Runtime() [1/3]

kanzi::MainLoopScheduler::Timer::Runtime::Runtime ( ConstCharArrayUniquePtr name,
bool isNameFixedString,
TimerTask task,
TimerRecurrence recurrence,
chrono::nanoseconds interval,
TimePoint lastTimestamp )
explicit

Constructor.

◆ ~Runtime()

kanzi::MainLoopScheduler::Timer::Runtime::~Runtime ( )

Destructor.

◆ Runtime() [2/3]

kanzi::MainLoopScheduler::Timer::Runtime::Runtime ( const Runtime & )
delete

◆ Runtime() [3/3]

kanzi::MainLoopScheduler::Timer::Runtime::Runtime ( Runtime && )
delete

Member Function Documentation

◆ operator=() [1/2]

Runtime & kanzi::MainLoopScheduler::Timer::Runtime::operator= ( const Runtime & )
delete

◆ operator=() [2/2]

Runtime & kanzi::MainLoopScheduler::Timer::Runtime::operator= ( Runtime && )
delete

Member Data Documentation

◆ name

ConstCharArrayUniquePtr kanzi::MainLoopScheduler::Timer::Runtime::name

The name of the task.

◆ isNameFixedString

bool kanzi::MainLoopScheduler::Timer::Runtime::isNameFixedString

Marks whether the name uses a FixedString.

◆ task

TimerTask kanzi::MainLoopScheduler::Timer::Runtime::task

The task.

◆ recurrence

TimerRecurrence kanzi::MainLoopScheduler::Timer::Runtime::recurrence

Recurrence option of the task.

◆ interval

chrono::nanoseconds kanzi::MainLoopScheduler::Timer::Runtime::interval

Sets the amount of time after which to execute the task.

◆ lastTimestamp

TimePoint kanzi::MainLoopScheduler::Timer::Runtime::lastTimestamp

Timestamp from the last execution of the task.

◆ token

ConcreteTaskToken kanzi::MainLoopScheduler::Timer::Runtime::token

Unique identifier of the task.

◆ profilerToken

MainLoopProfilingScopeToken kanzi::MainLoopScheduler::Timer::Runtime::profilerToken

Token used to profile the task.


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