neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
flicks.h File Reference
#include <chrono>
#include <cstdint>
#include <functional>

Go to the source code of this file.

Classes

struct  facebook::util::flicks_hash
 

Namespaces

namespace  facebook
 
namespace  facebook::util
 

Typedefs

using facebook::util::flicks = std::chrono::duration< std::chrono::nanoseconds::rep, std::ratio< 1, 705600000 > >
 

Functions

constexpr double facebook::util::to_seconds (const flicks ns)
 
constexpr flicks facebook::util::to_flicks (const double s)
 
template<class Rep , class Period >
constexpr flicks facebook::util::flicks_cast (const std::chrono::duration< Rep, Period > in_duration)
 

Variables

constexpr flicks facebook::util::k_flicks_zero_seconds
 Useful constants.
 
constexpr flicks facebook::util::k_flicks_one_second
 
constexpr flicks facebook::util::k_flicks_one_twenty_fourth_of_second
 
constexpr flicks facebook::util::k_flicks_one_ninetieth_of_second
 
constexpr flicks facebook::util::k_flicks_min_time { std::numeric_limits<flicks::rep>::min() }