#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<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
◆ clock() [2/2]
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| dx::clock< event_t, clock_t >::clock |
( |
const typename clock_t::duration & | duration | ) |
|
|
inlinenoexcept |
◆ dx_catchall_rethrow()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| dx::clock< event_t, clock_t >::dx_catchall_rethrow |
( |
| ) |
|
|
inline |
◆ halt()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| virtual void dx::clock< event_t, clock_t >::halt |
( |
| ) |
|
|
inlinevirtualnoexcept |
stop and remove clock thread
◆ initialize() [1/2]
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| void dx::clock< event_t, clock_t >::initialize |
( |
const typename clock_t::duration & | duration | ) |
|
|
inline |
◆ initialize() [2/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
◆ notify()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| virtual void dx::clock< event_t, clock_t >::notify |
( |
| ) |
|
|
inlineprotectedvirtualnoexcept |
notify change from device requiring streaming reset
Reimplemented in dx::asio::driver< device_t, pin_t, driver_t >, dx::stream::engine< device_t, pin_t, driver_t, io_t, circular_t >, and dx::stream::engine< device_t, pin_t, driver_t >.
◆ operator event_t &()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| dx::clock< event_t, clock_t >::operator event_t & |
( |
| ) |
|
|
inlinenoexcept |
◆ operator event_t *()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| dx::clock< event_t, clock_t >::operator event_t * |
( |
| ) |
|
|
inlinenoexcept |
◆ run()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| virtual void dx::clock< event_t, clock_t >::run |
( |
| ) |
|
|
inlinevirtual |
◆ sync()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| virtual void dx::clock< event_t, clock_t >::sync |
( |
const typename clock_t::time_point & | now | ) |
|
|
inlineprotectedvirtual |
◆ tick()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| virtual void dx::clock< event_t, clock_t >::tick |
( |
| ) |
|
|
protectedpure virtual |
◆ wait()
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| virtual clock & dx::clock< event_t, clock_t >::wait |
( |
bool | reset = false | ) |
|
|
inlinevirtual |
◆ duration
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| clock_t::duration dx::clock< event_t, clock_t >::duration = clock_t::duration::zero() |
|
protected |
◆ event
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
◆ mutex
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| std::mutex dx::clock< event_t, clock_t >::mutex |
|
protected |
◆ objective
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| clock_t::time_point dx::clock< event_t, clock_t >::objective |
|
protected |
◆ running
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
| std::atomic<bool> dx::clock< event_t, clock_t >::running |
|
protected |
◆ status
template<typename event_t = event<user>, typename clock_t = std::chrono::high_resolution_clock>
The documentation for this class was generated from the following file: