0.9.8.10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
home
doug
src
hypertable
src
cc
Tools
client
master
MasterCommandInterpreter.h
Go to the documentation of this file.
1
/* -*- c++ -*-
2
* Copyright (C) 2007-2015 Hypertable, Inc.
3
*
4
* This file is part of Hypertable.
5
*
6
* Hypertable is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; version 3 of the
9
* License, or any later version.
10
*
11
* Hypertable is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
* 02110-1301, USA.
20
*/
21
22
#ifndef Tools_client_master_MasterCommandInterpreter_h
23
#define Tools_client_master_MasterCommandInterpreter_h
24
25
#include <
Tools/Lib/CommandInterpreter.h
>
26
27
#include <
Hypertable/Lib/Master/Client.h
>
28
29
#include <
AsyncComm/Comm.h
>
30
31
#include <
Common/String.h
>
32
33
namespace
Tools
{
34
namespace
client {
35
namespace
master {
36
37
class
MasterCommandInterpreter
:
public
CommandInterpreter
{
38
public
:
39
MasterCommandInterpreter
(
Lib::Master::ClientPtr
&master);
40
41
int
execute_line
(
const
String
&line)
override
;
42
43
private
:
44
Lib::Master::ClientPtr
m_master
;
45
};
46
47
}}}
48
49
#endif // Tools_client_master_MasterCommandInterpreter_h
Tools::client::master::MasterCommandInterpreter::MasterCommandInterpreter
MasterCommandInterpreter(Lib::Master::ClientPtr &master)
Definition:
MasterCommandInterpreter.cc:34
Hypertable::String
std::string String
A String is simply a typedef to std::string.
Definition:
String.h:44
Tools::client::master::MasterCommandInterpreter::m_master
Lib::Master::ClientPtr m_master
Definition:
MasterCommandInterpreter.h:44
Tools::client::master::MasterCommandInterpreter::execute_line
int execute_line(const String &line) override
Definition:
MasterCommandInterpreter.cc:40
Hypertable::Lib::Master::ClientPtr
std::shared_ptr< Client > ClientPtr
Smart pointer to Client.
Definition:
Client.h:201
Comm.h
Declarations for Comm.
Tools::client::master::MasterCommandInterpreter
Definition:
MasterCommandInterpreter.h:37
Client.h
Declarations for MasterClient This file contains declarations for MasterClient, a client interface cl...
String.h
A String class based on std::string.
Tools
Forward declarations.
Definition:
CommandInterpreter.h:42
CommandInterpreter.h
Hypertable::CommandInterpreter
Definition:
CommandInterpreter.h:31
Generated on Tue Dec 22 2015 18:43:18 for Hypertable by
1.8.8