Isis 3 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.