MeVisLab Toolbox Reference
ml::CSOCmdCSOModifyVisualAttributes Class Reference

Class for undo/redo of modifying attributes of a CSO. More...

#include <CSOUndoRedoCommands.h>

Inheritance diagram for ml::CSOCmdCSOModifyVisualAttributes:
ml::CSOCommand

Public Member Functions

 CSOCmdCSOModifyVisualAttributes (const CSOListPtr &csoList, CSO *cso)
 Constructor. More...
 
 ~CSOCmdCSOModifyVisualAttributes () override
 Destructor. More...
 
int execute () override
 Method is executed on undo/redo. More...
 
std::string description () const override
 Undo descriptions are the inverse of the performed operation. More...
 
- Public Member Functions inherited from ml::CSOCommand
 CSOCommand (const CSOListPtr &csoList)
 Constructor. More...
 
 ~CSOCommand () override
 Destructor. More...
 
void undo () override
 calls execute More...
 

Additional Inherited Members

- Public Attributes inherited from ml::CSOCommand
std::string commandName
 The command as a string (for debugging purposes). More...
 
- Protected Member Functions inherited from ml::CSOCommand
bool checkRedoBehavior () const override
 Not every undo step generates a redo step (a previous step might generate two instead), so... More...
 
- Protected Attributes inherited from ml::CSOCommand
CSOList_csoList
 Pointer to the csoList. More...
 

Detailed Description

Class for undo/redo of modifying attributes of a CSO.

Definition at line 412 of file CSOUndoRedoCommands.h.

Constructor & Destructor Documentation

◆ CSOCmdCSOModifyVisualAttributes()

ml::CSOCmdCSOModifyVisualAttributes::CSOCmdCSOModifyVisualAttributes ( const CSOListPtr &  csoList,
CSO cso 
)

Constructor.

◆ ~CSOCmdCSOModifyVisualAttributes()

ml::CSOCmdCSOModifyVisualAttributes::~CSOCmdCSOModifyVisualAttributes ( )
override

Destructor.

Member Function Documentation

◆ description()

std::string ml::CSOCmdCSOModifyVisualAttributes::description ( ) const
inlineoverride

Undo descriptions are the inverse of the performed operation.

Definition at line 425 of file CSOUndoRedoCommands.h.

◆ execute()

int ml::CSOCmdCSOModifyVisualAttributes::execute ( )
overridevirtual

Method is executed on undo/redo.

Implements ml::CSOCommand.


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