![]() |
LibrePCB Developers Documentation
|
Asynchronously generates an assembly STEP file of a PCB. More...
#include <stepexport.h>
Inherits QObject.
Collaboration diagram for StepExport:Public Types | |
| typedef std::tuple< qreal, qreal, qreal > | Color |
| typedef QMap< Color, QVector< QVector3D > > | StepModel |
Signals | |
| void | started () |
| void | progressStatus (QString status) |
| void | progressPercent (int percent) |
| void | succeeded () |
| void | failed (QString errorMsg) |
| void | finished () |
Public Member Functions | |
| StepExport (QObject *parent=nullptr) noexcept | |
| StepExport (const StepExport &other)=delete | |
| ~StepExport () noexcept | |
| void | start (std::shared_ptr< SceneData3D > data, const FilePath &fp, int finishDelayMs=0) noexcept |
| Start building scene asynchronously. | |
| bool | isBusy () const noexcept |
| Check if there is currently a build in progress. | |
| QString | waitForFinished () noexcept |
| Wait (block) until the build is finished. | |
| void | cancel () noexcept |
| Cancel the build. | |
| StepExport & | operator= (const StepExport &rhs)=delete |
Private Member Functions | |
| QString | run (std::shared_ptr< SceneData3D > data, FilePath fp, int finishDelayMs) noexcept |
Private Attributes | |
| QFuture< QString > | mFuture |
| bool | mAbort |
Asynchronously generates an assembly STEP file of a PCB.
| typedef std::tuple<qreal, qreal, qreal> Color |
|
noexcept |
|
delete |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Start building scene asynchronously.
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Check if there is currently a build in progress.
| true | Build in progress. |
| false | Idle. |
|
noexcept |
Wait (block) until the build is finished.
Here is the caller graph for this function:
|
noexcept |
Cancel the build.
Here is the caller graph for this function:
|
delete |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |