17 #ifndef IOX_UTILS_CONCURRENT_ACTIVE_OBJECT_HPP
18 #define IOX_UTILS_CONCURRENT_ACTIVE_OBJECT_HPP
23 #include "iceoryx_utils/internal/concurrent/fifo.hpp"
24 #include "iceoryx_utils/internal/concurrent/trigger_queue.hpp"
35 void addTask(
const std::function<
void()> f) noexcept;
36 void mainLoop() noexcept;
37 void stopRunning() noexcept;
42 static constexpr uint32_t taskQueueSize = 128;
47 bool m_keepRunning{
true};
48 std::thread m_mainLoopThread;
Definition: active_object.hpp:31
single pusher single pop'er thread safe fifo
Definition: fifo.hpp:31
Optional implementation from the C++17 standard with C++11. The interface is analog to the C++17 stan...
Definition: optional.hpp:63
building block to easily create free function for logging in a library context
Definition: lockfree_queue.hpp:28