OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
context_functions.hpp
1#pragma once
2#include <ossia/detail/config.hpp>
3#include <ossia/detail/thread.hpp>
4
5#include <memory>
6#include <thread>
7
8namespace ossia::net
9{
10struct network_context;
11using network_context_ptr = std::shared_ptr<network_context>;
12
13OSSIA_EXPORT
14std::shared_ptr<ossia::net::network_context> create_network_context();
15
16OSSIA_EXPORT
17void run_network_context(ossia::net::network_context&);
18
19OSSIA_EXPORT
20void poll_network_context(ossia::net::network_context&);
21
22OSSIA_EXPORT
23ossia::thread run_threaded_network_context(ossia::net::network_context&);
24
25OSSIA_EXPORT
26void stop_network_context(ossia::net::network_context&);
27}
Definition thread.hpp:27