cesium-native 0.43.0
Loading...
Searching...
No Matches
AsyncSystemSchedulers.h
1#pragma once
2
3#include "QueuedScheduler.h"
4#include "TaskScheduler.h"
5#include "cesium-async++.h"
6
7namespace CesiumAsync {
8
9class ITaskProcessor;
10
11namespace CesiumImpl {
12// Begin omitting doxygen warnings for Impl namespace
14
15class AsyncSystemSchedulers {
16public:
17 AsyncSystemSchedulers(const std::shared_ptr<ITaskProcessor>& pTaskProcessor)
18 : mainThread(), workerThread(pTaskProcessor) {}
19
20 QueuedScheduler mainThread;
21 TaskScheduler workerThread;
22};
23
25// End omitting doxygen warnings for Impl namespace
26} // namespace CesiumImpl
27} // namespace CesiumAsync
Classes that support asynchronous operations.