#pragma once #include #include #include #include #include #include #include namespace mbgl { class Scheduler; class FileSource; class AnnotationManager; class UpdateParameters { public: UpdateParameters(const MapMode mode_, const float pixelRatio_, const MapDebugOptions debugOptions_, const TimePoint timePoint_, const TransformState TransformState_, const std::string glyphURL_, const bool spriteLoaded_, const style::TransitionOptions transitionOptions_, const Immutable light_, const Immutable>> images_, const Immutable>> sources_, const Immutable>> layers_, Scheduler& scheduler_, FileSource& fileSource_, AnnotationManager& annotationManager_, const uint8_t prefetchZoomDelta_) : mode(mode_), pixelRatio(pixelRatio_), debugOptions(debugOptions_), timePoint(std::move(timePoint_)), transformState(std::move(TransformState_)), glyphURL(std::move(glyphURL_)), spriteLoaded(spriteLoaded_), transitionOptions(std::move(transitionOptions_)), light(std::move(light_)), images(std::move(images_)), sources(std::move(sources_)), layers(std::move(layers_)), scheduler(scheduler_), fileSource(fileSource_), annotationManager(annotationManager_), prefetchZoomDelta(prefetchZoomDelta_) {} const MapMode mode; const float pixelRatio; const MapDebugOptions debugOptions; const TimePoint timePoint; const TransformState transformState; const std::string glyphURL; const bool spriteLoaded; const style::TransitionOptions transitionOptions; const Immutable light; const Immutable>> images; const Immutable>> sources; const Immutable>> layers; Scheduler& scheduler; FileSource& fileSource; AnnotationManager& annotationManager; const uint8_t prefetchZoomDelta; }; } // namespace mbgl