![]() |
Gamedev Framework (gf)
0.19.0
A C++17 framework for 2D games
|
System abstractions. More...
Classes | |
class | gf::Clock |
Utility class that measures the elapsed time. More... | |
class | gf::Queue< T > |
A simple concurrent queue. More... | |
class | gf::Time |
Represents a time value. More... | |
Functions | |
GF_CORE_API void | gf::sleep (Time duration) |
Make the current thread sleep for a given duration. More... | |
constexpr gf::Time | gf::literals::operator"" _seconds (long double amount) |
User defined operator for creating times in seconds. More... | |
constexpr gf::Time | gf::literals::operator"" _milliseconds (unsigned long long int amount) |
User defined operator for creating times in milliseconds. More... | |
constexpr gf::Time | gf::literals::operator"" _microseconds (unsigned long long int amount) |
User defined operator for creating times in microseconds. More... | |
System abstractions.
constexpr gf::Time gf::literals::operator"" _microseconds | ( | unsigned long long int | amount | ) |
User defined operator for creating times in microseconds.
To use it, you have to use the gf::literals
namespace:
constexpr gf::Time gf::literals::operator"" _milliseconds | ( | unsigned long long int | amount | ) |
User defined operator for creating times in milliseconds.
To use it, you have to use the gf::literals
namespace:
constexpr gf::Time gf::literals::operator"" _seconds | ( | long double | amount | ) |
User defined operator for creating times in seconds.
To use it, you have to use the gf::literals
namespace: