22 #include <boost/functional/value_factory.hpp>
27 using namespace Modes;
32 static const std::string default_mode;
33 static const std::string application_name;
38 make_pair(
"gui", boost::value_factory<simPTGUIMode>()),
39 make_pair(
"cli", boost::value_factory<simPTCLIMode>())
42 const std::string sim::default_mode =
"gui";
43 const std::string sim::application_name =
"simPT_sim";
45 int main(
int argc,
char** argv)
Implementation for the mode manager.
Namespace for startup modes for simPT tools.
Factory produces functions that start the different modes of the various executables.