LibrePCB Developers Documentation
Board3DOutputJob Class Referencefinal

3D board model output job More...

#include <board3doutputjob.h>

+ Inheritance diagram for Board3DOutputJob:
+ Collaboration diagram for Board3DOutputJob:

Public Types

using BoardSet = ObjectSet< Uuid >
 
using AssemblyVariantSet = ObjectSet< tl::optional< Uuid > >
 
- Public Types inherited from OutputJob
enum class  Event
 
typedef Slot< OutputJob, EventOnEditedSlot
 

Public Member Functions

 Board3DOutputJob () noexcept
 
 Board3DOutputJob (const Board3DOutputJob &other) noexcept
 
 Board3DOutputJob (const SExpression &node)
 
virtual ~Board3DOutputJob () noexcept
 
virtual QString getTypeTr () const noexcept override
 
virtual QIcon getTypeIcon () const noexcept override
 
const BoardSetgetBoards () const noexcept
 
const AssemblyVariantSetgetAssemblyVariants () const noexcept
 
const QString & getOutputPath () const noexcept
 
void setBoards (const BoardSet &boards) noexcept
 
void setAssemblyVariants (const AssemblyVariantSet &avs) noexcept
 
void setOutputPath (const QString &path) noexcept
 
virtual std::shared_ptr< OutputJobcloneShared () const noexcept override
 
Board3DOutputJoboperator= (const Board3DOutputJob &rhs)=delete
 
- Public Member Functions inherited from OutputJob
 OutputJob ()=delete
 
virtual ~OutputJob () noexcept
 
const QString & getType () const noexcept
 
virtual QString getTypeTr () const noexcept=0
 
virtual QIcon getTypeIcon () const noexcept=0
 
const UuidgetUuid () const noexcept
 
const ElementNamegetName () const noexcept
 
virtual QSet< UuidgetDependencies () const noexcept
 
void setUuid (const Uuid &uuid) noexcept
 
void setName (const ElementName &name) noexcept
 
virtual void removeDependency (const Uuid &jobUuid)
 
virtual std::shared_ptr< OutputJobcloneShared () const noexcept=0
 
virtual void serialize (SExpression &root) const
 Serialize into librepcb::SExpression node. More...
 
bool operator== (const OutputJob &rhs) const noexcept
 
bool operator!= (const OutputJob &rhs) const noexcept
 
OutputJoboperator= (const OutputJob &rhs)=delete
 

Static Public Member Functions

static QString getTypeName () noexcept
 
static QString getTypeTrStatic () noexcept
 

Protected Member Functions

virtual void serializeDerived (SExpression &root) const override
 
virtual bool equals (const OutputJob &rhs) const noexcept override
 
- Protected Member Functions inherited from OutputJob
 OutputJob (const OutputJob &other) noexcept
 
 OutputJob (const SExpression &node)
 
 OutputJob (const QString &type, const Uuid &uuid, const ElementName &name) noexcept
 
virtual void serializeDerived (SExpression &root) const =0
 
virtual bool equals (const OutputJob &rhs) const noexcept=0
 

Private Attributes

BoardSet mBoards
 
AssemblyVariantSet mAssemblyVariants
 
QString mOutputPath
 

Additional Inherited Members

- Public Attributes inherited from OutputJob
Signal< OutputJob, EventonEdited
 
- Protected Attributes inherited from OutputJob
const QString mType
 
Uuid mUuid
 
ElementName mName
 
QMap< QString, QList< SExpression > > mOptions
 

Detailed Description

3D board model output job

Member Typedef Documentation

◆ BoardSet

◆ AssemblyVariantSet

using AssemblyVariantSet = ObjectSet<tl::optional<Uuid> >

Constructor & Destructor Documentation

◆ Board3DOutputJob() [1/3]

Board3DOutputJob ( )
noexcept

◆ Board3DOutputJob() [2/3]

Board3DOutputJob ( const Board3DOutputJob other)
noexcept

◆ Board3DOutputJob() [3/3]

Board3DOutputJob ( const SExpression node)
explicit

◆ ~Board3DOutputJob()

~Board3DOutputJob ( )
virtualnoexcept

Member Function Documentation

◆ getTypeTr()

QString getTypeTr ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ getTypeIcon()

QIcon getTypeIcon ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ getBoards()

const BoardSet & getBoards ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getAssemblyVariants()

const AssemblyVariantSet & getAssemblyVariants ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getOutputPath()

const QString & getOutputPath ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ setBoards()

void setBoards ( const BoardSet boards)
noexcept

◆ setAssemblyVariants()

void setAssemblyVariants ( const AssemblyVariantSet avs)
noexcept

◆ setOutputPath()

void setOutputPath ( const QString &  path)
noexcept

◆ getTypeName()

static QString getTypeName ( )
inlinestaticnoexcept
+ Here is the caller graph for this function:

◆ getTypeTrStatic()

static QString getTypeTrStatic ( )
inlinestaticnoexcept

◆ cloneShared()

std::shared_ptr< OutputJob > cloneShared ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ operator=()

Board3DOutputJob & operator= ( const Board3DOutputJob rhs)
delete

◆ serializeDerived()

void serializeDerived ( SExpression root) const
overrideprotectedvirtual

Implements OutputJob.

◆ equals()

bool equals ( const OutputJob rhs) const
overrideprotectedvirtualnoexcept

Implements OutputJob.

Member Data Documentation

◆ mBoards

BoardSet mBoards
private

◆ mAssemblyVariants

AssemblyVariantSet mAssemblyVariants
private

◆ mOutputPath

QString mOutputPath
private

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