SDFormat Editor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FileEditorRunner Class Reference

Class to manage overall program operation. More...

#include <file_editor_runner.h>

Collaboration diagram for FileEditorRunner:
Collaboration graph

Public Member Functions

 FileEditorRunner (bool data_dir_created=false)
 Constructor that calls the top level method.
 
int RunProgram ()
 Top level method that starts the program.
 

Public Attributes

bool gui_initalization_successful
 Variable for checking if the gui was initilized successfully.
 
bool model_viewer_initalization_successful
 Variable for checking if the model viewer was initilized successfully.
 
std::shared_ptr< SDFormatParserIsdformatParser
 Pointer to SDFormatParser which will be null until the user opens a file.
 
std::shared_ptr< GUIIgui
 Pointer to the GUI class instance.
 
std::shared_ptr< CommandFactoryIcommand_factory
 Pointer to the CommandFactory class instance.
 
std::shared_ptr< ModelViewerImodel_viewer
 Pointer to the model viewer object.
 

Detailed Description

Class to manage overall program operation.

Constructor & Destructor Documentation

◆ FileEditorRunner()

FileEditorRunner::FileEditorRunner ( bool  data_dir_created = false)

Constructor that calls the top level method.

Parameters
[in]data_dir_createdboolean that communicates if the file to contain the previously opened model exists

Member Function Documentation

◆ RunProgram()

int FileEditorRunner::RunProgram ( )

Top level method that starts the program.

Returns
The program's exit state

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