BlankMat 0.1.0
Free open-source 3D texture creation application
Loading...
Searching...
No Matches
RedoCommand Class Reference
Inheritance diagram for RedoCommand:
Collaboration diagram for RedoCommand:

Public Member Functions

void Execute () override
 Executes this command.
 
void Undo () override
 Redo cannot be undone.
 
bool Combine (ICommand *&other) override
 Redo cannot be combined.
 
std::string GetName () const override
 Returns the name of this command.
 
 RedoCommand ()
 
- Public Member Functions inherited from ICommand
bool Undoable () const
 Returns whether the command is undoable.
 
bool Trackable () const
 Returns whether the command is trackable (ie. should be stored in ActionStack)
 

Additional Inherited Members

- Protected Attributes inherited from ICommand
bool mCanBeUndone = true
 
bool mTrackable = true
 

Constructor & Destructor Documentation

◆ RedoCommand()

RedoCommand::RedoCommand ( )
inlineexplicit

Member Function Documentation

◆ Combine()

bool RedoCommand::Combine ( ICommand *&  other)
inlineoverridevirtual

Redo cannot be combined.

Parameters
otherOther command
Returns
False

Implements ICommand.

◆ Execute()

void RedoCommand::Execute ( )
inlineoverridevirtual

Executes this command.

Implements ICommand.

◆ GetName()

std::string RedoCommand::GetName ( ) const
inlineoverridevirtual

Returns the name of this command.

Returns

Implements ICommand.

◆ Undo()

void RedoCommand::Undo ( )
inlineoverridevirtual

Redo cannot be undone.

Implements ICommand.