dxd - dynax driver framework 2.1.0d58
cross platform open source driver development framework
|
#include <dx_clock.h>
Public Member Functions | |
catch (...) | |
catch (const dx::exception &__dx_exception) | |
catch (const std::exception &__std_exception) | |
clock ()=default | |
clock (const typename clock_t::duration &duration) noexcept | |
virtual void | halt () noexcept |
stop and remove clock thread | |
void | initialize (const typename clock_t::duration &duration) |
virtual void | run () |
create and start clock thread | |
void | wait () try |
virtual | ~clock () noexcept |
Protected Member Functions | |
realtime & | initialize (const std::chrono::high_resolution_clock::duration &resolution) |
virtual void | notify () noexcept |
notify change from device requiring streaming reset | |
virtual void | sync (const typename clock_t::time_point &now) |
virtual void | tick ()=0 |
Protected Attributes | |
clock_t::duration | duration = clock_t::duration::zero() |
std::mutex | mutex |
clock_t::time_point | objective |
volatile bool | running = false |
os_result | status = not_initialized |
|
inline |
stop and remove clock thread
Reimplemented in dx::stream::engine< device_t, pin_t, io_t, circular_t >, and dx::stream::engine< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t >, audio_pin_t, int32_t >.
|
inlineinherited |
|
inline |
notify change from device requiring streaming reset
Reimplemented in dx::stream::engine< device_t, pin_t, io_t, circular_t >, dx::stream::engine< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t >, audio_pin_t, int32_t >, and dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, engine_t >.
create and start clock thread
Reimplemented in dx::stream::engine< device_t, pin_t, io_t, circular_t >, and dx::stream::engine< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t >, audio_pin_t, int32_t >.
|
inlineprotectedvirtual |
|
protected |
|
protected |
(c) copyright 2009 dynamic acoustics e.U. | generated on Wed Apr 24 2024 |