|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef WorkOrderFactory_H
2 #define WorkOrderFactory_H
58 template<
typename ClassType>
60 if (ClassType::staticMetaObject.className() == type) {
61 result =
new ClassType(project);
78 #endif // WorkOrderFactory_H
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
The main project for ipce.
Definition: Project.h:289
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
static WorkOrder * create(Project *project, QString type)
This instantiates a work order given a project and a type name (class name in a string).
Definition: WorkOrderFactory.cpp:50
Isis exception class.
Definition: IException.h:91
Instantiate work orders from QString versions of the class name.
Definition: WorkOrderFactory.h:53
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Unless noted otherwise, the portions of Isis written by the USGS are public domain.