Declaration
class simaai::neat::graph::strict_sync::ReleasePacer { ... }
Public Member Typedefs Index
| using | OnSendResult = std::function< void(size_t, bool)> |
|
|
|
| using | OnDrop = std::function< void(size_t, int64_t)> |
|
|
|
Public Constructors Index
| ReleasePacer (const std::vector< std::shared_ptr< simaai::neat::Run >> &runs, int target_fps, size_t max_queue, OnSendResult on_send_result={}, OnDrop on_drop={}) |
|
|
|
Public Destructor Index
Public Member Functions Index
Private Member Functions Index
Private Member Attributes Index
Private Static Functions Index
Definition at line 108 of file StrictSync.h.
Public Member Typedefs
OnDrop
| using simaai::neat::graph::strict_sync::ReleasePacer::OnDrop = std::function<void(size_t , int64_t )> |
|
OnSendResult
| using simaai::neat::graph::strict_sync::ReleasePacer::OnSendResult = std::function<void(size_t , bool )> |
|
Public Constructors
ReleasePacer()
| simaai::neat::graph::strict_sync::ReleasePacer::ReleasePacer (const std::vector< std::shared_ptr< simaai::neat::Run >> & runs, int target_fps, size_t max_queue, OnSendResult on_send_result={}, OnDrop on_drop={}) |
|
Public Destructor
~ReleasePacer()
| simaai::neat::graph::strict_sync::ReleasePacer::~ReleasePacer () |
|
Public Member Functions
enabled()
| bool simaai::neat::graph::strict_sync::ReleasePacer::enabled () |
|
inline
|
Definition at line 125 of file StrictSync.h.
126 return interval_ms_ > 0;
127 }
enqueue()
| bool simaai::neat::graph::strict_sync::ReleasePacer::enqueue (size_t idx, simaai::neat::Sample && sample) |
|
interval_ms()
| int64_t simaai::neat::graph::strict_sync::ReleasePacer::interval_ms () |
|
inline
|
Definition at line 128 of file StrictSync.h.
129 return interval_ms_;
130 }
max_queue()
| size_t simaai::neat::graph::strict_sync::ReleasePacer::max_queue () |
|
inline
|
stats()
| Stats simaai::neat::graph::strict_sync::ReleasePacer::stats (size_t idx) |
|
stop()
| void simaai::neat::graph::strict_sync::ReleasePacer::stop () |
|
Private Member Functions
worker_loop()
| void simaai::neat::graph::strict_sync::ReleasePacer::worker_loop (size_t idx) |
|
Private Member Attributes
interval_ms_
| int64_t simaai::neat::graph::strict_sync::ReleasePacer::interval_ms_ = 0 |
|
max_queue_
| size_t simaai::neat::graph::strict_sync::ReleasePacer::max_queue_ = 0 |
|
on_drop_
| OnDrop simaai::neat::graph::strict_sync::ReleasePacer::on_drop_ |
|
on_send_result_
| OnSendResult simaai::neat::graph::strict_sync::ReleasePacer::on_send_result_ |
|
runs_
| std::vector<std::shared_ptr<simaai::neat::Run> > simaai::neat::graph::strict_sync::ReleasePacer::runs_ |
|
Definition at line 158 of file StrictSync.h.
158 std::vector<std::shared_ptr<simaai::neat::Run>> runs_;
states_
| std::vector<std::unique_ptr<State> > simaai::neat::graph::strict_sync::ReleasePacer::states_ |
|
Definition at line 159 of file StrictSync.h.
159 std::vector<std::unique_ptr<State>> states_;
stopped_
| std::atomic<bool> simaai::neat::graph::strict_sync::ReleasePacer::stopped_ {false} |
|
Definition at line 165 of file StrictSync.h.
165 std::atomic<bool> stopped_{false};
Private Static Functions
now_ms_i64()
| int64_t simaai::neat::graph::strict_sync::ReleasePacer::now_ms_i64 () |
|
static
|
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.