|
dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
|
high resolution timer source: an OS timer wait toward the objective, optionally handing over to yield/spin polling covering the last lead; self pacing by duration like free_run, or paced by an override's sync() More...
#include <dx_clock.h>
Public Types | |
| typedef _clock_t | clock_t |
| typedef _event_t | event_t |
Public Member Functions | |
| dx_catchall_rethrow () virtual ~source()=default | |
| virtual void | sync (const typename clock_t::time_point &now) |
Protected Member Functions | |
| dx_catchall_rethrow() public super & | wait (bool reset=false) override try |
| < switchable at runtime: the poll modes run only what the timer left | |
| void | wait (int64_t remaining) try |
| the timer covers the remaining ns up to the strategy's lead, the strategy polls the rest toward the objective | |
Protected Attributes | |
| std::condition_variable | condition_variable |
| clock_t::duration | duration = clock_t::duration::zero() |
| _event_t | event |
| std::mutex | mutex |
| _clock_t::time_point | objective |
| std::atomic< bool > | running {false} |
| os_result | status = not_initialized |
high resolution timer source: an OS timer wait toward the objective, optionally handing over to yield/spin polling covering the last lead; self pacing by duration like free_run, or paced by an override's sync()
|
inherited |
|
inherited |
|
defaultinherited |
|
inlinevirtualinherited |
|
inlineoverrideprotectedvirtual |
< switchable at runtime: the poll modes run only what the timer left
Reimplemented from dx::source< _event_t, _clock_t >.
Reimplemented in dx::usb::clock::source< device_t >.
the timer covers the remaining ns up to the strategy's lead, the strategy polls the rest toward the objective
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
| (c) copyright 2009 dynamic acoustics e.U. | generated on |