#pragma once #include "../ITaskProcessor.h" #include "ImmediateScheduler.h" #include namespace CesiumAsync { namespace CesiumImpl { // Begin omitting doxygen warnings for Impl namespace //! @cond Doxygen_Suppress class TaskScheduler { public: TaskScheduler(const std::shared_ptr& pTaskProcessor); void schedule(async::task_run_handle t); ImmediateScheduler immediate{this}; private: std::shared_ptr _pTaskProcessor; }; //! @endcond // End omitting doxygen warnings for Impl namespace } // namespace CesiumImpl } // namespace CesiumAsync