#include <dx_clock.h>
|
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 |
|
◆ clock() [1/2]
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
◆ clock() [2/2]
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
dx::clock< scope_t, clock_t >::clock |
( |
const typename clock_t::duration & | duration | ) |
|
|
inlinenoexcept |
◆ ~clock()
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
◆ catch() [1/3]
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
◆ catch() [2/3]
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
◆ catch() [3/3]
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
dx::clock< scope_t, clock_t >::catch |
( |
const std::exception & | __std_exception | ) |
|
|
inline |
◆ halt()
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
virtual void dx::clock< scope_t, clock_t >::halt |
( |
| ) |
|
|
inlinevirtualnoexcept |
stop and remove clock thread
Reimplemented in dx::stream::engine< device_t, pin_t, io_t, circular_t, driver_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, typename audio_pin_t::circular_t, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > > >.
◆ initialize() [1/2]
realtime & dx::thread::prio::realtime::initialize |
( |
const std::chrono::high_resolution_clock::duration & | resolution | ) |
|
|
inlineinherited |
- Todo
- dx::thread::prio: replace experimental hardcoded preemption limit with real limit obtained from machine
◆ initialize() [2/2]
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
void dx::clock< scope_t, clock_t >::initialize |
( |
const typename clock_t::duration & | duration | ) |
|
|
inline |
◆ notify()
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
virtual void dx::clock< scope_t, clock_t >::notify |
( |
| ) |
|
|
inlineprotectedvirtualnoexcept |
notify change from device requiring streaming reset
Reimplemented in dx::stream::engine< device_t, pin_t, io_t, circular_t, driver_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, typename audio_pin_t::circular_t, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > > >, dx::test::driver< super_device_t, audio_pin_t, midi_pin_t, io_t, device_t, driver_t, engine_t >, and dx::asio< device_t, pin_t >.
◆ run()
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
virtual void dx::clock< scope_t, clock_t >::run |
( |
| ) |
|
|
inlinevirtual |
create and start clock thread
Reimplemented in dx::stream::engine< device_t, pin_t, io_t, circular_t, driver_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, typename audio_pin_t::circular_t, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > > >.
◆ sync()
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
virtual void dx::clock< scope_t, clock_t >::sync |
( |
const typename clock_t::time_point & | now | ) |
|
|
inlineprotectedvirtual |
◆ tick()
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
virtual void dx::clock< scope_t, clock_t >::tick |
( |
| ) |
|
|
protectedpure virtual |
Implemented in dx::stream::engine< device_t, pin_t, io_t, circular_t, driver_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, typename audio_pin_t::circular_t, dx::driver< device< typename audio_pin_t::circular_t, super_device_t, typename midi_pin_t::circular_t > > >.
◆ wait()
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
◆ duration
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
clock_t::duration dx::clock< scope_t, clock_t >::duration = clock_t::duration::zero() |
|
protected |
◆ mutex
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
std::mutex dx::clock< scope_t, clock_t >::mutex |
|
protected |
◆ objective
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
clock_t::time_point dx::clock< scope_t, clock_t >::objective |
|
protected |
◆ running
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
std::atomic<bool> dx::clock< scope_t, clock_t >::running |
|
protected |
◆ status
template<enum
scope scope_t = user, typename clock_t = std::chrono::high_resolution_clock>
The documentation for this class was generated from the following file: