/* osgEarth - Geospatial SDK for OpenSceneGraph
* Copyright 2008-2012 Pelican Mapping
* MIT License
*/
#ifndef OSGEARTH_CESIUM_TASKPROCESSOR_H
#define OSGEARTH_CESIUM_TASKPROCESSOR_H

#include <CesiumAsync/IAssetAccessor.h>
#include <CesiumAsync/IAssetResponse.h>

namespace osgEarth {
    namespace Cesium
    {
        using namespace osgEarth;

        class TaskProcessor : public CesiumAsync::ITaskProcessor
        {
        public:
            TaskProcessor();

            ~TaskProcessor();


            void shutdown();

            virtual void startTask(std::function<void()> f) override;
        };
    }
}


#endif // OSGEARTH_CESIUM_TILESETNODE_H
