![]() |
Isis Developer Reference
|
Instantiate work orders from QString versions of the class name. More...
#include <WorkOrderFactory.h>
Static Public Member Functions | |
static WorkOrder * | create (Project *project, QString type) |
This instantiates a work order given a project and a type name (class name in a string). More... | |
Instantiate work orders from QString versions of the class name.
This factory creates work orders. To create a work order, you need a Project and the name of the work order. Names of work orders are strings, such as "Isis::ImportImagesWorkOrder"
This instantiates a work order given a project and a type name (class name in a string).
Ownership is passed to the caller. The work orders are QObject's so please be mindful of which thread they are in.
project | The project to give to the work order constructor |
type | The work order type (class name) - for example "Isis::ImportImagesWorkOrder" |
IException::Unknown | "Could not create the work order through WorkOrderFactory" |
References _FILEINFO_, and Isis::IException::Unknown.
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 03/21/2022 06:54:10 |