Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Debug
Commands
Command.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include <vector>
6
#include <string>
7
#include "Commands.h"
8
#include "Types.h"
9
10
namespace
Eegeo
11
{
12
namespace
Debug
13
{
14
namespace
Commands
15
{
16
class
Command
:
protected
Eegeo::NonCopyable
17
{
18
public
:
19
Command
(
const
std::string& name,
const
std::string& help,
const
std::string& usage);
20
virtual
~
Command
() {};
21
22
const
std::string& Name()
const
{
return
m_name; };
23
const
std::string& Help()
const
{
return
m_help; };
24
const
std::string& Usage()
const
{
return
m_usage; };
25
26
virtual
bool
TryExecute(
27
const
std::vector<std::string>& arguments,
28
const
ICommandTerminalOutput
& commandTerminal)
const
= 0;
29
30
private
:
31
std::string m_name;
32
std::string m_help;
33
std::string m_usage;
34
};
35
36
}
37
}
38
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1