20#ifndef SDFORMAT_EDITOR_SAVE_FILE_COMMAND_HH_
21#define SDFORMAT_EDITOR_SAVE_FILE_COMMAND_HH_
24#include <interfaces/command_interface.h>
25#include <interfaces/sdformat_parser_interface.h>
26#include <interfaces/gui_interface.h>
63 private:
bool IsThreaded(
bool& prevent_user_input)
override;
70 private: std::shared_ptr<GUII>
gui;
The command class encapsulates the interactions between the various interfaces of the SDFormat Editor...
Definition command_interface.h:29
Save model command implementation of CommandI.
Definition SaveFileCommand.h:31
bool IsThreaded(bool &prevent_user_input) override
Implementation of interface method.
Definition SaveFileCommand.cpp:102
bool IsRedoable() override
Implementation of interface method.
Definition SaveFileCommand.cpp:113
bool Execute()
Implementation of interface method.
Definition SaveFileCommand.cpp:30
bool ExecuteRedo() override
Implementation of interface method.
Definition SaveFileCommand.cpp:97
bool IsUndoable() override
Implementation of interface method.
Definition SaveFileCommand.cpp:108
bool ExecuteUndo() override
Implementation of interface method.
Definition SaveFileCommand.cpp:92
bool ChangesProgramStateIrreversibly() override
Implementation of interface method.
Definition SaveFileCommand.cpp:118
std::shared_ptr< SDFormatParserI > sdformatParser
Pointer to the sdformat parser interface.
Definition SaveFileCommand.h:73
std::shared_ptr< GUII > gui
Pointer to the gui interface.
Definition SaveFileCommand.h:70