dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::usb::clock::frame Struct Reference

chrono conforming bus frame clock: frames since bus start; now() maps the OS timestamp onto the frame counter via the tick thread's correlation More...

#include <dx_usb_clock.h>

Collaboration diagram for dx::usb::clock::frame:

Classes

struct  correlation

Public Types

typedef std::chrono::duration< rep, periodduration
typedef std::milli period
 the 1ms USB bus frame
typedef uint64_t rep
typedef std::chrono::time_point< frame, durationtime_point

Static Public Member Functions

static time_point now ()

Static Public Attributes

static correlation correlated {}
 per tick thread: refreshed by its source every sync()
static constexpr bool is_steady = true

Detailed Description

chrono conforming bus frame clock: frames since bus start; now() maps the OS timestamp onto the frame counter via the tick thread's correlation

Member Typedef Documentation

◆ duration

typedef std::chrono::duration<rep, period> dx::usb::clock::frame::duration

◆ period

typedef std::milli dx::usb::clock::frame::period

the 1ms USB bus frame

◆ rep

◆ time_point

typedef std::chrono::time_point<frame, duration> dx::usb::clock::frame::time_point

Member Function Documentation

◆ now()

time_point dx::usb::clock::frame::now ( )
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ correlated

correlation dx::usb::clock::frame::correlated {}
inlinethread_localstatic

per tick thread: refreshed by its source every sync()

◆ is_steady

bool dx::usb::clock::frame::is_steady = true
staticconstexpr

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

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.