CommRaT 2.0.0
C++20 Real-Time Messaging Framework
Loading...
Searching...
No Matches
loop_executor.hpp File Reference

Data processing loop implementations for different input modes. More...

#include <commrat/platform/timestamp.hpp>
#include <iostream>
#include <thread>
#include <atomic>

Go to the source code of this file.

Classes

class  commrat::LoopExecutor< ModuleType >
 Loop execution logic for Module data threads. More...
 

Namespaces

namespace  commrat
 CommRaT - Modern C++ Real-Time Communication Framework.
 

Detailed Description

Data processing loop implementations for different input modes.

Provides loop functions for:

  • PeriodicInput: periodic_loop (time-driven)
  • LoopInput: free_loop (maximum throughput)
  • Input<T>: continuous_loop (event-driven, single input)
  • Inputs<T, U, V>: multi_input_loop (synchronized multi-input)

Phase 6.10: All loops use TimsMessage.header.timestamp as single source of truth

Definition in file loop_executor.hpp.