Create file command implementation of CommandI.
More...
#include <CreateFileCommand.h>
|
| bool | Execute () override |
| | Implementation of interface method.
|
| |
| bool | ExecuteUndo () override |
| | Implementation of interface method.
|
| |
| bool | ExecuteRedo () override |
| | Implementation of interface method.
|
| |
| bool | IsUndoable () override |
| | Implementation of interface method.
|
| |
| bool | IsRedoable () override |
| | Implementation of interface method.
|
| |
| bool | IsThreaded (bool &prevent_user_input) override |
| | Implementation of interface method.
|
| |
| bool | ChangesProgramStateIrreversibly () override |
| | Implementation of interface method.
|
| |
|
|
std::shared_ptr< GUII > | gui |
| | Pointer to the gui interface.
|
| |
|
std::shared_ptr< SDFormatParserI > | sdformatParser |
| | Pointer to the sdformat parser interface.
|
| |
Create file command implementation of CommandI.
◆ CreateFileCommand()
| CreateFileCommand::CreateFileCommand |
( |
std::shared_ptr< GUII > |
gui, |
|
|
std::shared_ptr< SDFormatParserI > |
sdformatParser |
|
) |
| |
Constructor for create fuke command objects.
- Parameters
-
◆ ChangesProgramStateIrreversibly()
| bool CreateFileCommand::ChangesProgramStateIrreversibly |
( |
| ) |
|
|
overrideprivatevirtual |
Implementation of interface method.
- Returns
- Always true
Implements CommandI.
◆ Execute()
| bool CreateFileCommand::Execute |
( |
| ) |
|
|
overrideprivatevirtual |
Implementation of interface method.
- Returns
- True if the file has been successfully created in the specified directory
Implements CommandI.
◆ ExecuteRedo()
| bool CreateFileCommand::ExecuteRedo |
( |
| ) |
|
|
overrideprivatevirtual |
Implementation of interface method.
- Returns
- Always false
Implements CommandI.
◆ ExecuteUndo()
| bool CreateFileCommand::ExecuteUndo |
( |
| ) |
|
|
overrideprivatevirtual |
Implementation of interface method.
- Returns
- Always false
Implements CommandI.
◆ IsRedoable()
| bool CreateFileCommand::IsRedoable |
( |
| ) |
|
|
overrideprivatevirtual |
Implementation of interface method.
- Returns
- Always false
Implements CommandI.
◆ IsThreaded()
| bool CreateFileCommand::IsThreaded |
( |
bool & |
prevent_user_input | ) |
|
|
overrideprivatevirtual |
Implementation of interface method.
- Parameters
-
| [out] | prevent_user_input | indicates if user input should be prevented if this happens to be a threaded command |
- Returns
- Always true
Implements CommandI.
◆ IsUndoable()
| bool CreateFileCommand::IsUndoable |
( |
| ) |
|
|
overrideprivatevirtual |
Implementation of interface method.
- Returns
- Always False
Implements CommandI.
The documentation for this class was generated from the following files: