|
fw4spl
|
The base class for commands. More...
#include <ICommand.hpp>
Inheritance diagram for fwCommand::ICommand:Public Types | |
| typedef std::shared_ptr< ICommand > | sptr |
Public Member Functions | |
| virtual FWCOMMAND_API | ~ICommand () |
| Virtual destructor. | |
| virtual FWCOMMAND_API size_t | getSize () const =0 |
| Retrieves the memory footprint of the command. | |
| virtual FWCOMMAND_API bool | redo ()=0 |
| Used to implement the redo operation. | |
| virtual FWCOMMAND_API bool | undo ()=0 |
| Used to implement the undo operation. | |
| virtual FWCOMMAND_API const std::string | getDescription () const |
| Return an optionnal description of the command. | |
The base class for commands.
Definition at line 21 of file ICommand.hpp.