Unravel Engine C++ Reference
Loading...
Searching...
No Matches
threader.h
Go to the documentation of this file.
1#pragma once
2#include <engine/engine_export.h>
3
4#include <base/basetypes.hpp>
5#include <context/context.hpp>
6#include <threadpp/thread_pool.h>
7#include <threadpp/when_all_any.hpp>
8#include <memory>
9
10namespace unravel
11{
12
14{
15 threader();
16
17 auto init(rtti::context& ctx) -> bool;
18 auto deinit(rtti::context& ctx) -> bool;
19
20 void process();
21
22 std::unique_ptr<tpp::thread_pool> pool{};
23};
24} // namespace unravel
auto init(rtti::context &ctx) -> bool
Definition threader.cpp:30
auto deinit(rtti::context &ctx) -> bool
Definition threader.cpp:37
std::unique_ptr< tpp::thread_pool > pool
Definition threader.h:22