LibrePCB Developers Documentation
Loading...
Searching...
No Matches
UnknownOutputJob Class Referencefinal

Fallback output job for unknown types. More...

#include <unknownoutputjob.h>

+ Inheritance diagram for UnknownOutputJob:
+ Collaboration diagram for UnknownOutputJob:

Public Member Functions

 UnknownOutputJob ()=delete
 
 UnknownOutputJob (const UnknownOutputJob &other) noexcept
 
 UnknownOutputJob (const SExpression &node)
 
virtual ~UnknownOutputJob () noexcept
 
virtual QString getTypeTr () const noexcept override
 
virtual QIcon getTypeIcon () const noexcept override
 
virtual std::shared_ptr< OutputJobcloneShared () const noexcept override
 
virtual void serialize (SExpression &root) const override
 Serialize into librepcb::SExpression node.
 
UnknownOutputJoboperator= (const UnknownOutputJob &rhs)=delete
 
- Public Member Functions inherited from OutputJob
 OutputJob ()=delete
 
virtual ~OutputJob () noexcept
 
const QString & getType () const noexcept
 
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)
 
bool operator== (const OutputJob &rhs) const noexcept
 
bool operator!= (const OutputJob &rhs) const noexcept
 
OutputJoboperator= (const OutputJob &rhs)=delete
 

Private Member Functions

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

Private Attributes

SExpression mNode
 

Additional Inherited Members

- Public Types inherited from OutputJob
enum class  Event
 
typedef Slot< OutputJob, EventOnEditedSlot
 
- 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
 
- Protected Attributes inherited from OutputJob
const QString mType
 
Uuid mUuid
 
ElementName mName
 
QMap< QString, QList< SExpression > > mOptions
 

Detailed Description

Fallback output job for unknown types.

Intended to provide kind of forward compatibility with output jobs implemented in a later LibrePCB release.

Constructor & Destructor Documentation

◆ UnknownOutputJob() [1/3]

UnknownOutputJob ( )
delete

◆ UnknownOutputJob() [2/3]

UnknownOutputJob ( const UnknownOutputJob other)
noexcept

◆ UnknownOutputJob() [3/3]

UnknownOutputJob ( const SExpression node)
explicit

◆ ~UnknownOutputJob()

~UnknownOutputJob ( )
virtualnoexcept

Member Function Documentation

◆ getTypeTr()

QString getTypeTr ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ getTypeIcon()

QIcon getTypeIcon ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ cloneShared()

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

Implements OutputJob.

◆ serialize()

void serialize ( SExpression root) const
overridevirtual

Serialize into librepcb::SExpression node.

Parameters
rootRoot node to serialize into.

Reimplemented from OutputJob.

◆ operator=()

UnknownOutputJob & operator= ( const UnknownOutputJob rhs)
delete

◆ serializeDerived()

void serializeDerived ( SExpression root) const
overrideprivatevirtual

Implements OutputJob.

◆ equals()

bool equals ( const OutputJob rhs) const
overrideprivatevirtualnoexcept

Implements OutputJob.

Member Data Documentation

◆ mNode

SExpression mNode
private

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