Leviathan  0.8.0.0
Leviathan game engine
Leviathan::QueuedTaskCheckValues Struct Reference

Object passed to tasks which has common values. More...

#include <QueuedTask.h>

Public Member Functions

 QueuedTaskCheckValues ()
 Constructs a new value holder and automatically fetches the CurrentTime value. More...
 

Public Attributes

WantedClockType::time_point CurrentTime
 Time the task set iteration started (may be slightly off, but it doesn't matter) //. More...
 

Detailed Description

Object passed to tasks which has common values.

This is passed to improve performance since querying the system clock multiple times by every task can be quite slow

Definition at line 21 of file QueuedTask.h.

Constructor & Destructor Documentation

◆ QueuedTaskCheckValues()

Leviathan::QueuedTaskCheckValues::QueuedTaskCheckValues ( )

Constructs a new value holder and automatically fetches the CurrentTime value.

Definition at line 45 of file QueuedTask.cpp.

45  :
47 {
48 
49 }
static DLLEXPORT WantedClockType::time_point GetThreadSafeSteadyTimePoint()
WantedClockType::time_point CurrentTime
Time the task set iteration started (may be slightly off, but it doesn&#39;t matter) //.
Definition: QueuedTask.h:27

Member Data Documentation

◆ CurrentTime

WantedClockType::time_point Leviathan::QueuedTaskCheckValues::CurrentTime

Time the task set iteration started (may be slightly off, but it doesn't matter) //.

Definition at line 27 of file QueuedTask.h.


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