mvsim-cli.h
Go to the documentation of this file.
1 /*+-------------------------------------------------------------------------+
2  | MultiVehicle simulator (libmvsim) |
3  | |
4  | Copyright (C) 2014-2020 Jose Luis Blanco Claraco |
5  | Copyright (C) 2017 Borys Tymchenko (Odessa Polytechnic University) |
6  | Distributed under 3-clause BSD License |
7  | See COPYING |
8  +-------------------------------------------------------------------------+ */
9 
10 #pragma once
11 
12 #include <mrpt/3rdparty/tclap/CmdLine.h>
13 
14 #include <functional>
15 
16 extern TCLAP::CmdLine cmd;
22 
23 using cmd_t = std::function<int(void)>;
24 
25 int printListCommands(); // "help"
26 int launchStandAloneServer(); // "server"
27 int launchSimulation(); // "launch"
28 int commandNode(); // "node"
29 int commandTopic(); // "topic"
30 
31 void commonLaunchServer();
int launchSimulation()
int commandTopic()
std::function< int(void)> cmd_t
Definition: mvsim-cli.h:23
TCLAP::SwitchArg argHelp
int printListCommands()
TCLAP::UnlabeledMultiArg< std::string > argCmd
TCLAP::ValueArg< int > argPort
TCLAP::ValueArg< std::string > argVerbosity
TCLAP::CmdLine cmd
int commandNode()
TCLAP::SwitchArg argDetails
void commonLaunchServer()
int launchStandAloneServer()


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:51