MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mbgl::LineLayerFactory Class Reference

#include <line_layer_factory.hpp>

Inheritance diagram for mbgl::LineLayerFactory:
mbgl::LayerFactory

Protected Member Functions

const style::LayerTypeInfo * getTypeInfo () const noexcept final
 Returns the layer type data. More...
 
std::unique_ptr< style::Layer > createLayer (const std::string &id, const style::conversion::Convertible &value) noexcept final
 Returns a new Layer instance on success call; returns nullptr otherwise. More...
 
std::unique_ptr< Layout > createLayout (const LayoutParameters &parameters, std::unique_ptr< GeometryTileLayer > tileLayer, const std::vector< Immutable< style::LayerProperties >> &group) noexcept final
 Returns a new Layout instance on success call; returns nullptr otherwise. More...
 
std::unique_ptr< RenderLayer > createRenderLayer (Immutable< style::Layer::Impl >) noexcept final
 Returns a new RenderLayer instance. More...
 
- Protected Member Functions inherited from mbgl::LayerFactory
std::optional< std::string > getSource (const style::conversion::Convertible &value) const noexcept
 

Additional Inherited Members

- Public Member Functions inherited from mbgl::LayerFactory
virtual ~LayerFactory ()=default
 
virtual std::unique_ptr< Bucket > createBucket (const BucketParameters &, const std::vector< Immutable< style::LayerProperties >> &) noexcept
 Returns a new Bucket instance on success call; returns nullptr otherwise. More...
 

Detailed Description

Definition at line 7 of file line_layer_factory.hpp.

Member Function Documentation

◆ createLayer()

std::unique_ptr<style::Layer> mbgl::LineLayerFactory::createLayer ( const std::string &  id,
const style::conversion::Convertible value 
)
finalprotectedvirtualnoexcept

Returns a new Layer instance on success call; returns nullptr otherwise.

Implements mbgl::LayerFactory.

◆ createLayout()

std::unique_ptr<Layout> mbgl::LineLayerFactory::createLayout ( const LayoutParameters &  ,
std::unique_ptr< GeometryTileLayer >  ,
const std::vector< Immutable< style::LayerProperties >> &   
)
finalprotectedvirtualnoexcept

Returns a new Layout instance on success call; returns nullptr otherwise.

Reimplemented from mbgl::LayerFactory.

◆ createRenderLayer()

std::unique_ptr<RenderLayer> mbgl::LineLayerFactory::createRenderLayer ( Immutable< style::Layer::Impl >  )
finalprotectedvirtualnoexcept

Returns a new RenderLayer instance.

Implements mbgl::LayerFactory.

◆ getTypeInfo()

const style::LayerTypeInfo* mbgl::LineLayerFactory::getTypeInfo ( ) const
finalprotectedvirtualnoexcept

Returns the layer type data.

Implements mbgl::LayerFactory.


The documentation for this class was generated from the following file: