LibrePCB Developers Documentation
GraphicsOutputJob Class Referencefinal

PDF/Image output job. More...

#include <graphicsoutputjob.h>

+ Inheritance diagram for GraphicsOutputJob:
+ Collaboration diagram for GraphicsOutputJob:

Classes

struct  Content
 

Public Types

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

Public Member Functions

 GraphicsOutputJob (const GraphicsOutputJob &other) noexcept
 
 GraphicsOutputJob (const SExpression &node)
 
virtual ~GraphicsOutputJob () noexcept
 
virtual QString getTypeTr () const noexcept override
 
virtual QIcon getTypeIcon () const noexcept override
 
const SimpleStringgetDocumentTitle () const noexcept
 
const QList< ContentgetContent () const noexcept
 
const QString & getOutputPath () const noexcept
 
void setDocumentTitle (const SimpleString &title) noexcept
 
void setContent (const QList< Content > &content) noexcept
 
void setOutputPath (const QString &path) noexcept
 
virtual std::shared_ptr< OutputJobcloneShared () const noexcept override
 
GraphicsOutputJoboperator= (const GraphicsOutputJob &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
 
static std::shared_ptr< GraphicsOutputJobschematicPdf () noexcept
 
static std::shared_ptr< GraphicsOutputJobboardAssemblyPdf () noexcept
 

Private Member Functions

 GraphicsOutputJob () noexcept
 
virtual void serializeDerived (SExpression &root) const override
 
virtual bool equals (const OutputJob &rhs) const noexcept override
 

Private Attributes

SimpleString mDocumentTitle
 
QList< ContentmContent
 
QString mOutputPath
 

Additional Inherited Members

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

Detailed Description

PDF/Image output job.

Member Typedef Documentation

◆ BoardSet

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

◆ AssemblyVariantSet

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

Constructor & Destructor Documentation

◆ GraphicsOutputJob() [1/3]

GraphicsOutputJob ( const GraphicsOutputJob other)
noexcept

◆ GraphicsOutputJob() [2/3]

GraphicsOutputJob ( const SExpression node)
explicit

◆ ~GraphicsOutputJob()

~GraphicsOutputJob ( )
virtualnoexcept

◆ GraphicsOutputJob() [3/3]

GraphicsOutputJob ( )
privatenoexcept

Member Function Documentation

◆ getTypeTr()

QString getTypeTr ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ getTypeIcon()

QIcon getTypeIcon ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ getDocumentTitle()

const SimpleString & getDocumentTitle ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getContent()

const QList< Content > getContent ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getOutputPath()

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

◆ setDocumentTitle()

void setDocumentTitle ( const SimpleString title)
noexcept

◆ setContent()

void setContent ( const QList< Content > &  content)
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=()

GraphicsOutputJob & operator= ( const GraphicsOutputJob rhs)
delete

◆ schematicPdf()

std::shared_ptr< GraphicsOutputJob > schematicPdf ( )
staticnoexcept
+ Here is the caller graph for this function:

◆ boardAssemblyPdf()

std::shared_ptr< GraphicsOutputJob > boardAssemblyPdf ( )
staticnoexcept
+ Here is the caller graph for this function:

◆ serializeDerived()

void serializeDerived ( SExpression root) const
overrideprivatevirtual

Implements OutputJob.

◆ equals()

bool equals ( const OutputJob rhs) const
overrideprivatevirtualnoexcept

Implements OutputJob.

Member Data Documentation

◆ mDocumentTitle

SimpleString mDocumentTitle
private

◆ mContent

QList<Content> mContent
private

◆ mOutputPath

QString mOutputPath
private

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