Isis Developer Reference
WorkOrder.h
Go to the documentation of this file.
1 #ifndef WorkOrder_H
2 #define WorkOrder_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 
13 #include <QAction>
14 #include <QDateTime>
15 // This is needed for the QVariant macro
16 #include <QMetaType>
17 #include <QPointer>
18 #include <QUndoCommand>
19 
20 
21 
22 #include "CorrelationMatrix.h"
23 #include "FileItem.h"
24 #include "GuiCamera.h"
25 #include "TargetBody.h"
26 #include "XmlStackedHandler.h"
27 
28 template<typename T> class QFutureWatcher;
29 class QMutex;
30 class QXmlStreamWriter;
31 
32 namespace Isis {
33  class Control;
34  class ControlList;
35  class Directory;
36  class ImageList;
37  class ProgressBar;
38  class Project;
39  class ProjectItem;
40  class ShapeList;
41  class Template;
42  class XmlStackedHandlerReader;
43 
311  class WorkOrder : public QAction, public QUndoCommand {
312  Q_OBJECT
313  public:
314 
315 
316 
333  };
334 
339  enum Context {
342  };
343 
345  virtual ~WorkOrder();
346 
347  virtual WorkOrder *clone() const = 0;
348 
349  virtual bool isExecutable(Context);
350  virtual bool isExecutable(ImageList *images);
351  virtual bool isExecutable(ShapeList *shapes);
352  virtual bool isExecutable(ControlList *controls);
353  virtual bool isExecutable(CorrelationMatrix);
354  virtual bool isExecutable(TargetBodyQsp targetBody);
355  virtual bool isExecutable(Template *currentTemplate);
356  virtual bool isExecutable(GuiCameraQsp guiCamera);
357  virtual bool isExecutable(FileItemQsp fileItem);
358  virtual bool isExecutable(ProjectItem *item);
359 
360  void read(XmlStackedHandlerReader *xmlReader);
361  void save(QXmlStreamWriter &stream) const;
362 
363  virtual void setData(Context);
364  virtual void setData(QString data);
365  virtual void setData(ImageList *images);
366  virtual void setData(ShapeList *shapes);
367  virtual void setData(ControlList *controls);
368  virtual void setData(Template *currentTemplate);
369  virtual void setData(CorrelationMatrix);
370  virtual void setData(TargetBodyQsp targetBody);
371  virtual void setData(GuiCameraQsp guiCamera);
372  virtual void setData(FileItemQsp fileItem);
373  virtual void setData(ProjectItem *item);
374 
375 
376 
377  void setNext(WorkOrder *nextWorkOrder);
378  void setPrevious(WorkOrder *previousWorkOrder);
379 
380  QString bestText() const;
381  bool isUndoable() const;
382  bool isSavedToHistory() const;
383  bool isSynchronous() const;
384  bool createsCleanState() const;
385  QDateTime executionTime() const;
386  bool isFinished() const;
387  bool isRedoing() const;
388  bool isRedone() const;
389  bool isUndoing() const;
390  bool isUndone() const;
391  bool modifiesDiskState() const;
392  WorkOrder *next() const;
393  WorkOrder *previous() const;
394  QString statusText() const;
395 
397 
398  static WorkOrderStatus fromStatusString(QString);
399  static QString toString(WorkOrderStatus);
400 
401  signals:
403  // This is necessary because QTreeWidget doesn't support us just deleting the progress bar..
404  // HistoryWidget relies on this signal.
408 
409  public slots:
410  void enableWorkOrder();
411  void disableWorkOrder();
412 
413  virtual bool setupExecution();
414 
415  virtual void execute();
416 
417  virtual void redo();
418  virtual void undo();
419 
420  protected:
421  WorkOrder(const WorkOrder &other);
422 
423  ImageList *imageList();
424  const ImageList *imageList() const;
425 
426  ShapeList *shapeList();
427  const ShapeList *shapeList() const;
428 
430 
431  QPointer<ControlList> controlList();
432 
434 
436 
438 
440 
441  virtual bool dependsOn(WorkOrder *other) const;
442 
443  Directory *directory() const;
444  Project *project() const;
445 
447  void setModifiesDiskState(bool changesProjectOnDisk);
448  void setInternalData(QStringList data);
449 
450  int progressMin() const;
451  int progressMax() const;
452  int progressValue() const;
453  void setProgressRange(int, int);
454  void setProgressValue(int);
455 
456  QStringList internalData() const;
457  virtual void postExecution();
458  virtual void undoExecution();
459  virtual void postUndoExecution();
460 
461  protected slots:
462  void addCloneToProject();
463 
464  private:
465  bool isInStableState() const;
466  void listenForImageDestruction();
467  void listenForShapeDestruction();
468  void resetProgressBar();
469  void setProgressToFinalText();
470 
471  private slots:
472  void attemptQueuedAction();
473  void executionFinished();
474  void clearImageList();
475  void clearShapeList();
476  void updateProgress();
477  void startRedo();
478 
479  private:
483  enum QueuedWorkOrderAction {
484  NoQueuedAction,
485  RedoQueuedAction,
486  UndoQueuedAction
487  };
488 
497  class XmlHandler : public XmlStackedHandler {
498  public:
499  XmlHandler(WorkOrder *workOrder);
500 
501  virtual bool startElement(const QString &namespaceURI, const QString &localName,
502  const QString &qName, const QXmlAttributes &atts);
503 
504  private:
505  Q_DISABLE_COPY(XmlHandler);
506 
511  WorkOrder *m_workOrder;
512  };
513 
514  protected:
524 
531 
538 
540 
541  private:
542  WorkOrder &operator=(const WorkOrder &rhs);
543 
549  bool m_createsCleanState;
550 
556  bool m_modifiesDiskState;
557 
558  QueuedWorkOrderAction m_queuedAction;
559 
563  int m_progressRangeMinValue;
567  int m_progressRangeMaxValue;
571  int m_progressValue;
572 
573  Context m_context;
574  QString m_data;
575  QPointer<ImageList> m_imageList;
576  QPointer<ShapeList> m_shapeList;
577  QPointer<ControlList> m_controlList;
578  CorrelationMatrix m_correlationMatrix;
583  GuiCameraQsp m_guiCamera;
584 
585 
590  Template *m_template;
591 
592 
597  TargetBodyQsp m_targetBody;
598 
599 
603  FileItemQsp m_fileItem;
604 
605 
610  QStringList m_imageIds;
611 
616  QStringList m_shapeIds;
617 
621  QStringList m_internalData;
622 
626  QPointer<WorkOrder> m_nextWorkOrder;
627 
631  QPointer<WorkOrder> m_previousWorkOrder;
632 
636  QPointer<Project> m_project;
637 
642  QMutex *m_transparentConstMutex;
643 
647  QDateTime m_executionTime;
648 
654  QPointer< QFutureWatcher<void> > m_futureWatcher;
655 
656 
657 
661  QPointer<ProgressBar> m_progressBar;
662 
666  QPointer<QTimer> m_progressBarUpdateTimer;
667 
671  QPointer<QTimer> m_progressBarDeletionTimer;
672 
673 
677  QTime *m_elapsedTimer;
678 
682  double m_secondsElapsed;
683  };
684 }
685 
688 
689 #endif
Isis::WorkOrder::WorkOrderRedoing
@ WorkOrderRedoing
Definition: WorkOrder.h:324
ProjectItem.h
Isis::WorkOrder::isSynchronous
bool isSynchronous() const
Returns true if this work order is run synchronously, otherwise false.
Definition: WorkOrder.cpp:841
Isis::WorkOrder::isUndoable
bool isUndoable() const
Returns true if this work order is undoable, otherwise false.
Definition: WorkOrder.cpp:819
Isis::WorkOrder::dependsOn
virtual bool dependsOn(WorkOrder *other) const
Indicate workorder dependency This is a virtual function whose role in child classes is to determine ...
Definition: WorkOrder.cpp:781
Isis::WorkOrder::setupExecution
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
Isis::WorkOrder::isRedone
bool isRedone() const
Returns the WorkOrder redone status.
Definition: WorkOrder.cpp:893
Isis::WorkOrder::addCloneToProject
void addCloneToProject()
Runs a copy of the current WorkOrder and stores it in the project.
Definition: WorkOrder.cpp:1452
Isis::Directory
Definition: Directory.h:271
Isis::ProjectItem::isGuiCamera
bool isGuiCamera() const
Returns true if a GuiCameraQsp is stored in the data of the item.
Definition: ProjectItem.cpp:735
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Isis::ProgressBar
Definition: ProgressBar.h:15
Project.h
Isis::Project::shape
Shape * shape(QString id)
Return a shape given its id.
Definition: Project.cpp:1539
Isis::ProjectItem::isControl
bool isControl() const
Returns true if a Control is stored in the data of the item.
Definition: ProjectItem.cpp:690
Isis::WorkOrder::finished
void finished(WorkOrder *)
Isis::ProjectItem::image
Image * image() const
Returns the Image stored in the data of the item.
Definition: ProjectItem.cpp:476
Isis::WorkOrder::progressMax
int progressMax() const
Gets the maximum value of the progress range of the WorkOrder.
Definition: WorkOrder.cpp:1337
Isis::WorkOrder::isRedoing
bool isRedoing() const
Returns the redoing status of this WorkOrder.
Definition: WorkOrder.cpp:883
Isis::WorkOrder::redo
virtual void redo()
Starts (or enqueues) a redo.
Definition: WorkOrder.cpp:1043
Isis::WorkOrder::controlList
QPointer< ControlList > controlList()
Returns the Control List for this WorkOrder (a list of control networks).
Definition: WorkOrder.cpp:706
Isis::WorkOrder::isExecutable
virtual bool isExecutable(Context)
Re-implement this method if your work order utilizes controls for data in order to operate.
Definition: WorkOrder.cpp:182
Isis::WorkOrder::imageList
ImageList * imageList()
Returns a pointer to the ImageList for this WorkOrder.
Definition: WorkOrder.cpp:631
Isis::ProjectItem::correlationMatrix
CorrelationMatrix correlationMatrix() const
Returns the CorrelationMatrix stored the item.
Definition: ProjectItem.cpp:556
Isis::WorkOrder::m_isSavedToHistory
bool m_isSavedToHistory
Set the work order to be shown in the HistoryTreeWidget.
Definition: WorkOrder.h:537
Isis::ControlList
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition: ControlList.h:44
Isis::IException::Unknown
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
Isis::WorkOrder::postExecution
virtual void postExecution()
Perform any necessary actions after execution of a workorder.
Definition: WorkOrder.cpp:1414
Isis::XmlStackedHandlerReader::pushContentHandler
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
CorrelationMatrix.h
Isis::WorkOrder::setInternalData
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1318
Isis::ProjectItem::isTargetBody
bool isTargetBody() const
Returns true if a TargetBodyQsp is stored in the data of the item.
Definition: ProjectItem.cpp:746
Isis::ProjectItem::shape
Shape * shape() const
Returns the Shape stored in the data of the item.
Definition: ProjectItem.cpp:496
Isis::WorkOrder::progressMin
int progressMin() const
Gets the minimum value of the progress range of the WorkOrder.
Definition: WorkOrder.cpp:1327
Isis::WorkOrder::toString
static QString toString(WorkOrderStatus)
Gets the current status of the WorkOrder.
Definition: WorkOrder.cpp:1009
Isis::WorkOrder::save
void save(QXmlStreamWriter &stream) const
: Saves a WorkOrder to a data stream.
Definition: WorkOrder.cpp:544
Isis::WorkOrder::directory
Directory * directory() const
return the workorder project directory Returns the Directory object of the Project this WorkOrder is ...
Definition: WorkOrder.cpp:1290
Isis::WorkOrder::next
WorkOrder * next() const
Gets the next WorkOrder.
Definition: WorkOrder.cpp:934
Isis::ImageList::append
void append(Image *const &value)
Appends an image to the image list.
Definition: ImageList.cpp:153
Isis::WorkOrder::WorkOrderUnknownStatus
@ WorkOrderUnknownStatus
Definition: WorkOrder.h:322
Isis::ProjectItem::isCorrelationMatrix
bool isCorrelationMatrix() const
Returns true if a CorrelationMatrix is stored in the data of the item.
Definition: ProjectItem.cpp:713
Isis::XmlStackedHandler::startElement
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
Isis::WorkOrder::createsCleanState
bool createsCleanState() const
Returns the CleanState status (whether the Project has been saved to disk or not).
Definition: WorkOrder.cpp:854
Isis::TargetBodyQsp
QSharedPointer< TargetBody > TargetBodyQsp
Defines A smart pointer to a TargetBody obj.
Definition: TargetBody.h:216
Isis::ProjectItem::isControlList
bool isControlList() const
Returns true if a ControlList is stored in the data of the item.
Definition: ProjectItem.cpp:702
Isis::WorkOrder::modifiesDiskState
bool modifiesDiskState() const
Returns the modified disk state.
Definition: WorkOrder.cpp:924
Isis::ProjectItem::control
Control * control() const
Returns the Control stored in the data of the item.
Definition: ProjectItem.cpp:536
Isis::WorkOrder::read
void read(XmlStackedHandlerReader *xmlReader)
Read this work order's data from disk.
Definition: WorkOrder.cpp:520
Isis::WorkOrder::deletingProgress
void deletingProgress(WorkOrder *)
QSharedPointer< TargetBody >
Isis::WorkOrder::m_isSynchronous
bool m_isSynchronous
This is defaulted to true.
Definition: WorkOrder.h:530
Isis::ProjectItem::isShape
bool isShape() const
Returns true if an Shape is stored in the data of the item.
Definition: ProjectItem.cpp:668
QStringList
Isis::WorkOrder::creatingProgress
void creatingProgress(WorkOrder *)
Isis::XmlStackedHandlerReader
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
Isis::CorrelationMatrix
This is a container for the correlation matrix that comes from a bundle adjust.
Definition: CorrelationMatrix.h:61
IString.h
ControlList.h
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::Project::directory
Directory * directory() const
Returns the directory associated with this Project.
Definition: Project.cpp:1229
Isis::WorkOrder::isFinished
bool isFinished() const
Returns the finished state of this WorkOrder.
Definition: WorkOrder.cpp:874
Isis::ImageList
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:55
Isis::WorkOrder::shapeList
ShapeList * shapeList()
@briefReturns a pointer to the ShapeList for this WorkOrder.
Definition: WorkOrder.cpp:663
WorkOrder.h
Isis::Project::addToProject
void addToProject(WorkOrder *)
This executes the WorkOrder and stores it in the project.
Definition: Project.cpp:2598
Isis::WorkOrder::disableWorkOrder
void disableWorkOrder()
Disables the work order.
Definition: WorkOrder.cpp:1230
ShapeList.h
Isis::ProjectItem::isImageList
bool isImageList() const
Returns true if an ImageList is stored in the data of the item.
Definition: ProjectItem.cpp:657
Isis::WorkOrder::WorkOrder
WorkOrder(Project *project)
Create a work order that will work with the given project.
Definition: WorkOrder.cpp:41
Isis::Shape::id
QString id() const
Get a unique, identifying string associated with this shape.
Definition: Shape.cpp:459
Isis::WorkOrder::m_isUndoable
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
Isis::WorkOrder::isSavedToHistory
bool isSavedToHistory() const
Returns true if this work order is to be shown in History, otherwise false.
Definition: WorkOrder.cpp:830
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::ProjectItem::isShapeList
bool isShapeList() const
Returns true if an ShapeList is stored in the data of the item.
Definition: ProjectItem.cpp:679
QUndoCommand
Isis::WorkOrder::setData
virtual void setData(Context)
Sets the context data for this WorkOrder.
Definition: WorkOrder.cpp:248
Isis::ProjectItem::guiCamera
GuiCameraQsp guiCamera() const
Returns the GuiCameraQsp stored in the data of the item.
Definition: ProjectItem.cpp:576
Isis::ProjectItem::isImage
bool isImage() const
Returns true if an Image is stored in the data of the item.
Definition: ProjectItem.cpp:646
Isis::WorkOrder::statusText
QString statusText() const
WorkOrder::statusText.
Definition: WorkOrder.cpp:954
TargetBody.h
Isis::WorkOrder::isUndone
bool isUndone() const
Returns the WorkOrder undo status.
Definition: WorkOrder.cpp:913
Isis::WorkOrder::targetBody
TargetBodyQsp targetBody()
WorkOrder::targetBody.
Definition: WorkOrder.cpp:746
Isis::ProjectItem::shapeList
ShapeList * shapeList() const
Returns the ShapeList stored in the data of the item.
Definition: ProjectItem.cpp:506
Isis::ProjectItem::isFileItem
bool isFileItem() const
Returns true if a FileItemQsp is stored in the data of the item.
Definition: ProjectItem.cpp:757
Isis::WorkOrder::postUndoExecution
virtual void postUndoExecution()
Perform any steps necessary after an undo of a workorder.
Definition: WorkOrder.cpp:1445
Isis::Template
Definition: Template.h:30
Isis::WorkOrder::undo
virtual void undo()
Starts (or enqueues) an undo.
Definition: WorkOrder.cpp:1146
Isis::Shape
This represents a shape in a project-based GUI interface.
Definition: Shape.h:68
Isis::WorkOrder::getTemplate
Template * getTemplate()
WorkOrder::getTemplate.
Definition: WorkOrder.cpp:736
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::ProjectItem::fileItem
FileItemQsp fileItem() const
Returns the FileItemQsp stored in the data of the item.
Definition: ProjectItem.cpp:597
Isis::WorkOrder::statusChanged
void statusChanged(WorkOrder *)
Isis::WorkOrder::WorkOrderUndoing
@ WorkOrderUndoing
Definition: WorkOrder.h:326
Isis::WorkOrder::undoExecution
virtual void undoExecution()
Execute the steps necessary to undo this workorder.
Definition: WorkOrder.cpp:1434
Isis::WorkOrder::progressValue
int progressValue() const
Gets the current progress value of the WorkOrder.
Definition: WorkOrder.cpp:1347
Isis::WorkOrder::previous
WorkOrder * previous() const
Gets the previous WorkOrder.
Definition: WorkOrder.cpp:944
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(Isis::WorkOrder *)
This allows WorkOrder *'s to be stored in a QVariant.
ImageList.h
GuiCamera.h
Isis::ShapeList
Internalizes a list of shapes and allows for operations on the entire list.
Definition: ShapeList.h:33
Isis::Image
This represents a cube in a project-based GUI interface.
Definition: Image.h:107
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::WorkOrder::fromStatusString
static WorkOrderStatus fromStatusString(QString)
Attempts to query the current status of the WorkOrder.
Definition: WorkOrder.cpp:988
Isis::WorkOrder::~WorkOrder
virtual ~WorkOrder()
The Destructor.
Definition: WorkOrder.cpp:157
Isis::WorkOrder::fileItem
FileItemQsp fileItem()
WorkOrder::fileItem.
Definition: WorkOrder.cpp:766
Isis::WorkOrder::setNext
void setNext(WorkOrder *nextWorkOrder)
Sets the next WorkOrder in the sequence.
Definition: WorkOrder.cpp:613
Isis::ProjectItem::controlList
ControlList * controlList() const
Returns the ControlList stored in the data of the item.
Definition: ProjectItem.cpp:546
Isis::ProjectItem::isProject
bool isProject() const
Returns true if a Project is stored in the data of the item.
Definition: ProjectItem.cpp:724
Isis::WorkOrder::setProgressRange
void setProgressRange(int, int)
Sets the progress range of the WorkOrder.
Definition: WorkOrder.cpp:1358
Isis::Project::image
Image * image(QString id)
Return an image given its id.
Definition: Project.cpp:1509
ProgressBar.h
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::WorkOrder::bestText
QString bestText() const
Generate unique action names We don't use action text anymore because Directory likes to rename our a...
Definition: WorkOrder.cpp:795
Isis::WorkOrder::guiCamera
GuiCameraQsp guiCamera()
WorkOrder::guiCamera.
Definition: WorkOrder.cpp:756
Isis::WorkOrder::NoContext
@ NoContext
Definition: WorkOrder.h:340
Isis::FileItemQsp
QSharedPointer< FileItem > FileItemQsp
A FileItem smart pointer.
Definition: FileItem.h:36
Isis::WorkOrder::WorkOrderFinished
@ WorkOrderFinished
This is used for work orders that will not undo or redo (See createsCleanState())
Definition: WorkOrder.h:331
Isis::Image::id
QString id() const
Get a unique, identifying string associated with this image.
Definition: Image.cpp:445
Isis::WorkOrder::setProgressValue
void setProgressValue(int)
Sets the current progress value for the WorkOrder.
Definition: WorkOrder.cpp:1368
Isis::WorkOrder::progressBar
ProgressBar * progressBar()
Returns the ProgressBar.
Definition: WorkOrder.cpp:975
Isis::ProjectItem::imageList
ImageList * imageList() const
Returns the ImageList stored in the data of the item.
Definition: ProjectItem.cpp:486
Isis::XmlStackedHandler
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
Isis::WorkOrder::WorkOrderStatus
WorkOrderStatus
This enumeration is used by other functions to set and retrieve the current state of the WorkOrder.
Definition: WorkOrder.h:321
QFutureWatcher
This is free and unencumbered software released into the public domain.
Definition: AbstractTableModel.h:24
Isis::WorkOrder::internalData
QStringList internalData() const
Gets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1377
Isis::ShapeList::append
void append(Shape *const &value)
Appends an shape to the shape list.
Definition: ShapeList.cpp:133
Template.h
Isis::WorkOrder::execute
virtual void execute()
Execute the workorder.
Definition: WorkOrder.cpp:1403
Isis::WorkOrder::setModifiesDiskState
void setModifiesDiskState(bool changesProjectOnDisk)
Definition: WorkOrder.cpp:1674
FileItem.h
Isis::WorkOrder::correlationMatrix
CorrelationMatrix correlationMatrix()
Returns the CorrleationMatrix for this WorkOrder.
Definition: WorkOrder.cpp:696
Isis::WorkOrder::setPrevious
void setPrevious(WorkOrder *previousWorkOrder)
Sets the previous WorkOrder in the sequence.
Definition: WorkOrder.cpp:622
Isis::WorkOrder::setCreatesCleanState
void setCreatesCleanState(bool createsCleanState)
Declare that this work order is saving the project.
Definition: WorkOrder.cpp:1663
QObject
Isis::WorkOrder::clone
virtual WorkOrder * clone() const =0
Isis::WorkOrder::Context
Context
This enumeration is for recording the context of the current Workorder (whether it is part of a proje...
Definition: WorkOrder.h:339
Isis::GuiCameraQsp
QSharedPointer< GuiCamera > GuiCameraQsp
GuiCameraQsp Represents a smart pointer to a GuiCamera object.
Definition: GuiCamera.h:186
IsisDebug.h
QAction
Isis::ProjectItem::getTemplate
Template * getTemplate() const
Returns the Template stored in the data of the item.
Definition: ProjectItem.cpp:516
XmlStackedHandlerReader.h
XmlStackedHandler.h
Isis::WorkOrder::WorkOrderNotStarted
@ WorkOrderNotStarted
Definition: WorkOrder.h:323
Isis::WorkOrder::isUndoing
bool isUndoing() const
Returns the WorkOrderUndoing state.
Definition: WorkOrder.cpp:903
Isis::WorkOrder::WorkOrderUndone
@ WorkOrderUndone
Definition: WorkOrder.h:327
Isis::WorkOrder::enableWorkOrder
void enableWorkOrder()
Enables the work order.
Definition: WorkOrder.cpp:1218
Isis::WorkOrder::WorkOrderLastStatus
@ WorkOrderLastStatus
Definition: WorkOrder.h:332
Isis::WorkOrder::executionTime
QDateTime executionTime() const
Gets the execution time of this WorkOrder.
Definition: WorkOrder.cpp:864
Isis::WorkOrder::ProjectContext
@ ProjectContext
Definition: WorkOrder.h:341
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::WorkOrder::WorkOrderRedone
@ WorkOrderRedone
Definition: WorkOrder.h:325
Isis::ProjectItem::targetBody
TargetBodyQsp targetBody() const
Returns the TargetBodyQsp stored in the data of the item.
Definition: ProjectItem.cpp:587
Isis::WorkOrder::m_status
WorkOrderStatus m_status
Definition: WorkOrder.h:539
Isis::ProjectItem
Represents an item of a ProjectItemModel in Qt's model-view framework.
Definition: ProjectItem.h:134
Isis::ProjectItem::isTemplate
bool isTemplate() const
Definition: ProjectItem.cpp:602