LibrePCB Developers Documentation
IF_GraphicsLayerProvider Class Referenceabstract

The IF_GraphicsLayerProvider class defines an interface for classes which provide layers. More...

#include <graphicslayer.h>

+ Inheritance diagram for IF_GraphicsLayerProvider:
+ Collaboration diagram for IF_GraphicsLayerProvider:

Public Member Functions

virtual ~IF_GraphicsLayerProvider () noexcept
 
virtual QList< std::shared_ptr< GraphicsLayer > > getAllLayers () const noexcept=0
 
virtual std::shared_ptr< GraphicsLayergetLayer (const QString &name) const noexcept=0
 
std::shared_ptr< GraphicsLayergetLayer (const Layer &layer) const noexcept
 
std::shared_ptr< GraphicsLayergetGrabAreaLayer (const Layer &outlineLayer) const noexcept
 

Detailed Description

The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.

Constructor & Destructor Documentation

◆ ~IF_GraphicsLayerProvider()

virtual ~IF_GraphicsLayerProvider ( )
inlinevirtualnoexcept

Member Function Documentation

◆ getAllLayers()

virtual QList< std::shared_ptr< GraphicsLayer > > getAllLayers ( ) const
pure virtualnoexcept

Implemented in DefaultGraphicsLayerProvider, LibraryEditor, BoardEditor, and SchematicEditor.

+ Here is the caller graph for this function:

◆ getLayer() [1/2]

virtual std::shared_ptr< GraphicsLayer > getLayer ( const QString &  name) const
pure virtualnoexcept

Implemented in DefaultGraphicsLayerProvider, LibraryEditor, BoardEditor, and SchematicEditor.

+ Here is the caller graph for this function:

◆ getLayer() [2/2]

std::shared_ptr< GraphicsLayer > getLayer ( const Layer layer) const
noexcept

◆ getGrabAreaLayer()

std::shared_ptr< GraphicsLayer > getGrabAreaLayer ( const Layer outlineLayer) const
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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