LibrePCB Developers Documentation
BoardPlaneFragmentsBuilder::Result Struct Reference

#include <boardplanefragmentsbuilder.h>

+ Collaboration diagram for BoardPlaneFragmentsBuilder::Result:

Public Member Functions

void throwOnError () const
 Convenience error handling. More...
 
bool applyToBoard () noexcept
 

Public Attributes

QPointer< Boardboard
 The board of the calculated planes. More...
 
QSet< const Layer * > layers
 All processed layers. More...
 
QHash< Uuid, QVector< Path > > planes
 The calculated plane fragments. More...
 
QStringList errors
 Any occurred errors (empty on success) More...
 
bool finished = false
 Whether the run completed or was aborted. More...
 

Member Function Documentation

◆ throwOnError()

void throwOnError ( ) const

Convenience error handling.

+ Here is the caller graph for this function:

◆ applyToBoard()

bool applyToBoard ( )
noexcept

Apply the results to the board

Returns
Whether any plane has been modified or not
+ Here is the caller graph for this function:

Member Data Documentation

◆ board

QPointer<Board> board

The board of the calculated planes.

◆ layers

QSet<const Layer*> layers

All processed layers.

◆ planes

QHash<Uuid, QVector<Path> > planes

The calculated plane fragments.

◆ errors

QStringList errors

Any occurred errors (empty on success)

◆ finished

bool finished = false

Whether the run completed or was aborted.


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