MRPT
2.0.1
mrpt
apps
BaseAppInitializableCLI.h
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| https://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2020, Individual contributors, see AUTHORS file |
6
| See: https://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See: https://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
#pragma once
10
11
#include <string>
12
13
namespace
mrpt::apps
14
{
15
/** Virtual interface for applications that initialize from CLI parameters.
16
*
17
* \ingroup mrpt_apps_grp
18
*/
19
class
BaseAppInitializableCLI
20
{
21
public
:
22
BaseAppInitializableCLI
() =
default
;
23
virtual
~BaseAppInitializableCLI
() =
default
;
24
25
protected
:
26
virtual
void
impl_initialize
(
int
argc
,
const
char
**
argv
) = 0;
27
virtual
std::string
impl_get_usage
()
const
= 0;
28
};
29
30
}
// namespace mrpt::apps
mrpt::apps::BaseAppInitializableCLI
Virtual interface for applications that initialize from CLI parameters.
Definition:
BaseAppInitializableCLI.h:19
mrpt::apps::BaseAppInitializableCLI::impl_get_usage
virtual std::string impl_get_usage() const =0
mrpt::apps::BaseAppInitializableCLI::~BaseAppInitializableCLI
virtual ~BaseAppInitializableCLI()=default
mrpt::apps
Definition:
BaseAppDataSource.h:15
mrpt::apps::BaseAppInitializableCLI::BaseAppInitializableCLI
BaseAppInitializableCLI()=default
argv
const char * argv[]
Definition:
RawlogGrabberApp_unittest.cpp:38
argc
const int argc
Definition:
RawlogGrabberApp_unittest.cpp:39
mrpt::apps::BaseAppInitializableCLI::impl_initialize
virtual void impl_initialize(int argc, const char **argv)=0
Page generated by
Doxygen 1.8.14
for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020