MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
mxl::lib::Timepoint Struct Reference

#include <Timing.hpp>

Public Types

using value_type = std::int64_t

Public Member Functions

constexpr operator bool () const noexcept
constexpr Timepoint () noexcept
constexpr Timepoint (value_type value) noexcept

Public Attributes

value_type value

Detailed Description

Definition at line 174 of file Timing.hpp.

Member Typedef Documentation

◆ value_type

using mxl::lib::Timepoint::value_type = std::int64_t

Definition at line 176 of file Timing.hpp.

Constructor & Destructor Documentation

◆ Timepoint() [1/2]

mxl::lib::Timepoint::Timepoint ( )
constexprnoexcept

Definition at line 186 of file Timing.hpp.

187 : value{}
188 {}
value_type value
Definition Timing.hpp:178

◆ Timepoint() [2/2]

mxl::lib::Timepoint::Timepoint ( value_type value)
explicitconstexprnoexcept

Definition at line 190 of file Timing.hpp.

191 : value{value}
192 {}

Member Function Documentation

◆ operator bool()

mxl::lib::Timepoint::operator bool ( ) const
explicitconstexprnoexcept

Definition at line 194 of file Timing.hpp.

195 {
196 return (value != 0);
197 }

Member Data Documentation

◆ value

value_type mxl::lib::Timepoint::value

Definition at line 178 of file Timing.hpp.


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