This command is used to delete an operationplan. More...
#include <model.h>

Public Member Functions | |
CommandDeleteOperationPlan (OperationPlan *o) | |
virtual void | commit () |
virtual void | redo () |
virtual void | rollback () |
virtual void | undo () |
virtual | ~CommandDeleteOperationPlan () |
Detailed Description
Constructor & Destructor Documentation
frepple::CommandDeleteOperationPlan::CommandDeleteOperationPlan | ( | OperationPlan * | o | ) |
Constructor.
Definition at line 375 of file model/actions.cpp.
virtual frepple::CommandDeleteOperationPlan::~CommandDeleteOperationPlan | ( | ) | [inline, virtual] |
Member Function Documentation
virtual void frepple::CommandDeleteOperationPlan::commit | ( | ) | [inline, virtual] |
This method makes the change permanent.
A couple of notes on how this method should be implemented by the subclasses:
- Calling the method multiple times is harmless. Only the first call is expected to do something.
Reimplemented from frepple::utils::Command.
virtual void frepple::CommandDeleteOperationPlan::redo | ( | ) | [inline, virtual] |
This method reproduces a previously undone change.
A couple of notes on how this method should be implemented by the subclasses:
- Calling the method multiple times is harmless and results in the same state change as calling it only once.
Reimplemented from frepple::utils::Command.
virtual void frepple::CommandDeleteOperationPlan::rollback | ( | ) | [inline, virtual] |
This method permanently undoes the change.
A couple of notes on how this method should be implemented by the subclasses:
- Calling the rollback() method multiple times is harmless. Only the first call is expected to do something.
Reimplemented from frepple::utils::Command.
virtual void frepple::CommandDeleteOperationPlan::undo | ( | ) | [inline, virtual] |
This method temporarily undoes the change. The concrete subclasses most maintain information that enables redoing the changes efficiently.
A couple of notes on how this method should be implemented by the subclasses:
- Calling the method multiple times is harmless and results in the same state change as calling it only once.
Reimplemented from frepple::utils::Command.
The documentation for this class was generated from the following files:
Documentation generated for frePPLe by
