fw4spl
fwCommand::ICommand Class Referenceabstract

The base class for commands. More...

#include <ICommand.hpp>

+ Inheritance diagram for fwCommand::ICommand:

Public Types

typedef std::shared_ptr< ICommandsptr
 

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.
 

Detailed Description

The base class for commands.

Definition at line 21 of file ICommand.hpp.


The documentation for this class was generated from the following file: