|
Isis 3 Programmer Reference
|
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
Provide Undo/redo abilities, serialization, and history for an operation.
The main project for ipce.
static WorkOrder * create(Project *project, QString type)
This instantiates a work order given a project and a type name (class name in a string).
~WorkOrderFactory()
Since this class cannot be instantiated, it also cannot be destroyed.
Instantiate work orders from QString versions of the class name.
WorkOrderFactory()
This class cannot be instantiated.
This is free and unencumbered software released into the public domain.