|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef ExportImagesWorkOrder_H
2 #define ExportImagesWorkOrder_H
61 class ProjectImageExportFunctor :
public std::unary_function<Image * const &, void *> {
63 ProjectImageExportFunctor(QString destination);
64 ProjectImageExportFunctor(
const ProjectImageExportFunctor &other);
65 ~ProjectImageExportFunctor();
67 void *operator()(
Image *
const &imageToExport);
73 ProjectImageExportFunctor &operator=(
const ProjectImageExportFunctor &rhs);
75 QString m_destination;
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
ExportImagesWorkOrder(Project *project)
Definition: ExportImagesWorkOrder.cpp:42
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
ImageList * imageList()
Returns a pointer to the ImageList for this WorkOrder.
Definition: WorkOrder.cpp:631
void postExecution()
Display any warnings that occurred during the asynchronous computations.
Definition: ExportImagesWorkOrder.cpp:167
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1318
~ExportImagesWorkOrder()
Definition: ExportImagesWorkOrder.cpp:58
Definition: JigsawWorkOrder.h:28
Write project images to a user-specified location.
Definition: ExportImagesWorkOrder.h:33
bool m_isSynchronous
This is defaulted to true.
Definition: WorkOrder.h:530
The main project for ipce.
Definition: Project.h:289
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:55
bool m_isUndoable
Set the workorder to be undoable/redoable This is defaulted to true - his will allow the workorder to...
Definition: WorkOrder.h:523
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
void warn(QString text, Data relevantData)
Definition: Project.cpp:2643
QString name() const
Get the human-readable name of this image list.
Definition: ImageList.cpp:724
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
This represents a cube in a project-based GUI interface.
Definition: Image.h:107
Isis exception class.
Definition: IException.h:91
void setProgressRange(int, int)
Sets the progress range of the WorkOrder.
Definition: WorkOrder.cpp:1358
void execute()
Use internalData() and write the images into the output directory.
Definition: ExportImagesWorkOrder.cpp:134
bool isExecutable(ImageList *images)
Currently, this work order only works with either no data (file menu) or with any number of images.
Definition: ExportImagesWorkOrder.cpp:76
void setProgressValue(int)
Sets the current progress value for the WorkOrder.
Definition: WorkOrder.cpp:1368
QStringList internalData() const
Gets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1377
virtual ExportImagesWorkOrder * clone() const
Definition: ExportImagesWorkOrder.cpp:63
ImageList * imageList(QString name)
Return an imagelist given its name.
Definition: Project.cpp:1520
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
bool setupExecution()
Prompts the user for input.
Definition: ExportImagesWorkOrder.cpp:91