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 ()
 
virtual GraphicsLayergetLayer (const QString &name) const noexcept=0
 
virtual QList< GraphicsLayer * > getAllLayers () const noexcept=0
 
GraphicsLayergetGrabAreaLayer (const QString outlineLayerName) const noexcept
 
QList< GraphicsLayer * > getSchematicGeometryElementLayers () const noexcept
 
QList< GraphicsLayer * > getBoardGeometryElementLayers () const noexcept
 
QList< GraphicsLayer * > getLayers (const QStringList &layerNames) const noexcept
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~IF_GraphicsLayerProvider()

virtual ~IF_GraphicsLayerProvider ( )
inlinevirtual

Member Function Documentation

◆ getLayer()

virtual GraphicsLayer* getLayer ( const QString &  name) const
pure virtualnoexcept

Implemented in LibraryEditor, BoardLayerStack, SchematicLayerProvider, and DefaultGraphicsLayerProvider.

+ Here is the caller graph for this function:

◆ getAllLayers()

virtual QList<GraphicsLayer*> getAllLayers ( ) const
pure virtualnoexcept

Implemented in LibraryEditor, SchematicLayerProvider, BoardLayerStack, and DefaultGraphicsLayerProvider.

+ Here is the caller graph for this function:

◆ getGrabAreaLayer()

GraphicsLayer* getGrabAreaLayer ( const QString  outlineLayerName) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSchematicGeometryElementLayers()

QList<GraphicsLayer*> getSchematicGeometryElementLayers ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getBoardGeometryElementLayers()

QList<GraphicsLayer*> getBoardGeometryElementLayers ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLayers()

QList<GraphicsLayer*> getLayers ( const QStringList &  layerNames) const
inlinenoexcept
+ Here is the caller graph for this function:

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