Skip to content
Snippets Groups Projects
Commit 8789f94c authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

REFAC: Remove the launchSimulation from public API

launchSimulation and startSimulation have similar meaninn to be included in public API.
Moved the launch simulation to be a private member.
parent 32a354e7
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ VTKInteractorStyle::OnChar()
if (status == SimulationStatus::INACTIVE)
{
m_fpsActor->SetVisibility(m_displayFps);
m_simManager->launchSimulation();
m_simManager->startSimulation(false);
}
}
else if (status != SimulationStatus::INACTIVE &&
......
......@@ -155,13 +155,6 @@ public:
///
void printUserControlsInfo();
///
/// \brief Launch simulation for the first time.
/// 1. Initialize the active scene if not initialized already.
/// 2. Launches separate threads for each module.
///
void launchSimulation();
///
/// \brief Start the simulation by initializing the active scene
///
......@@ -190,6 +183,13 @@ public:
private:
///
/// \brief Launch simulation for the first time.
/// 1. Initialize the active scene if not initialized already.
/// 2. Launches separate threads for each module.
///
void launchSimulation();
void startModuleInNewThread(std::shared_ptr<Module> module);
SimulationStatus m_status = SimulationStatus::INACTIVE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment