1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
4 * ModuleBase_OperationAction.h
6 * Created on: Apr 2, 2014
10 #ifndef ModuleBase_OperationAction_H
11 #define ModuleBase_OperationAction_H
13 #include <ModuleBase.h>
15 #include <ModuleBase_Operation.h>
18 * \class ModuleBase_OperationAction
20 * \brief Base class for all operations
22 * Base class for all operations. If you perform an action it is reasonable to create
23 * operation intended for this. This is a base class for all operations which provides
24 * mechanism for correct starting operations, starting operations above already started
25 * ones, committing operations and so on. To create own operation it is reasonable to
26 * inherit it from this class and redefines virtual methods to provide own behavior
29 class MODULEBASE_EXPORT ModuleBase_OperationAction : public ModuleBase_Operation
36 /// \param theId the operation identifier
37 /// \param theParent the QObject parent
38 ModuleBase_OperationAction(const QString& theId = "", QObject* theParent = 0);
40 virtual ~ModuleBase_OperationAction();