Privacy
An open-source, flexible 3D physical simulation framework
mars::app::MARS Class Reference

#include <MARS.h>

Public Member Functions

 MARS ()
 
 MARS (lib_manager::LibManager *theManager)
 
 ~MARS ()
 
void readArguments (int argc, char **argv)
 
void init ()
 
void start (int argc, char **argv, bool startThread=true, bool handleLibraryLoading=true)
 
int runWoQApp ()
 
lib_manager::LibManagergetLibManager ()
 

Public Attributes

std::string configDir
 
std::string coreConfigFile
 
bool needQApp
 
bool noGUI
 

Static Public Attributes

static interfaces::ControlCentercontrol = NULL
 
static bool quit = false
 

Private Attributes

lib_manager::LibManagerlibManager
 
app::GraphicsTimergraphicsTimer
 
interfaces::MarsGuiInterfacemarsGui
 
bool ownLibManager
 
bool argConfDir
 
bool initialized
 

Detailed Description

Definition at line 63 of file MARS.h.

Constructor & Destructor Documentation

◆ MARS() [1/2]

mars::app::MARS::MARS ( )

Definition at line 82 of file MARS.cpp.

◆ MARS() [2/2]

mars::app::MARS::MARS ( lib_manager::LibManager theManager)

Definition at line 96 of file MARS.cpp.

◆ ~MARS()

mars::app::MARS::~MARS ( )

close simulation

Definition at line 110 of file MARS.cpp.

Member Function Documentation

◆ getLibManager()

lib_manager::LibManager* mars::app::MARS::getLibManager ( )
inline

Definition at line 74 of file MARS.h.

◆ init()

void mars::app::MARS::init ( )

Definition at line 131 of file MARS.cpp.

◆ readArguments()

void mars::app::MARS::readArguments ( int  argc,
char **  argv 
)

Definition at line 285 of file MARS.cpp.

◆ runWoQApp()

int mars::app::MARS::runWoQApp ( )

Definition at line 362 of file MARS.cpp.

◆ start()

void mars::app::MARS::start ( int  argc,
char **  argv,
bool  startThread = true,
bool  handleLibraryLoading = true 
)

Definition at line 177 of file MARS.cpp.

Member Data Documentation

◆ argConfDir

bool mars::app::MARS::argConfDir
private

Definition at line 87 of file MARS.h.

◆ configDir

std::string mars::app::MARS::configDir

Definition at line 78 of file MARS.h.

◆ control

mars::interfaces::ControlCenter * mars::app::MARS::control = NULL
static

Definition at line 76 of file MARS.h.

◆ coreConfigFile

std::string mars::app::MARS::coreConfigFile

Definition at line 79 of file MARS.h.

◆ graphicsTimer

app::GraphicsTimer* mars::app::MARS::graphicsTimer
private

Definition at line 84 of file MARS.h.

◆ initialized

bool mars::app::MARS::initialized
private

Definition at line 88 of file MARS.h.

◆ libManager

lib_manager::LibManager* mars::app::MARS::libManager
private

Definition at line 83 of file MARS.h.

◆ marsGui

interfaces::MarsGuiInterface* mars::app::MARS::marsGui
private

Definition at line 85 of file MARS.h.

◆ needQApp

bool mars::app::MARS::needQApp

Definition at line 80 of file MARS.h.

◆ noGUI

bool mars::app::MARS::noGUI

Definition at line 80 of file MARS.h.

◆ ownLibManager

bool mars::app::MARS::ownLibManager
private

Definition at line 86 of file MARS.h.

◆ quit

bool mars::app::MARS::quit = false
static

Definition at line 77 of file MARS.h.


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