Bayeux
3.4.1
Core Foundation library for SuperNEMO
bayeux
datatools
ui
shell_exit_command.h
Go to the documentation of this file.
1
//
4
// Copyright (c) 2015 by François Mauger <mauger@lpccaen.in2p3.fr>
5
//
6
// This file is part of datatools.
7
//
8
// datatools is free software: you can redistribute it and/or modify
9
// it under the terms of the GNU General Public License as published by
10
// the Free Software Foundation, either version 3 of the License, or
11
// (at your option) any later version.
12
//
13
// datatools is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
// GNU General Public License for more details.
17
//
18
// You should have received a copy of the GNU General Public License
19
// along with datatools. If not, see <http://www.gnu.org/licenses/>.
20
21
#ifndef DATATOOLS_UI_SHELL_EXIT_COMMAND_H
22
#define DATATOOLS_UI_SHELL_EXIT_COMMAND_H
23
24
// This project:
25
#include <
datatools/command_utils.h
>
26
#include <
datatools/ui/target_command.h
>
27
#include <
datatools/ui/basic_shell.h
>
28
29
namespace
datatools
{
30
31
namespace
ui {
32
34
struct
shell_exit_command
35
:
public
target_command
<basic_shell>
36
{
37
shell_exit_command
(
basic_shell
&);
38
virtual
~shell_exit_command
();
39
protected
:
40
virtual
void
_run
(
datatools::command::returned_info
& cri_, uint32_t flags_ = 0);
41
};
42
43
}
// namespace ui
44
45
}
// namespace datatools
46
47
#endif // DATATOOLS_UI_SHELL_EXIT_COMMAND_H
48
49
// Local Variables: --
50
// mode: c++ --
51
// c-file-style: "gnu" --
52
// tab-width: 2 --
53
// End: --
datatools::ui::shell_exit_command::_run
virtual void _run(datatools::command::returned_info &cri_, uint32_t flags_=0)
datatools::command::returned_info
Command returned information.
Definition:
command_utils.h:78
basic_shell.h
A basic generic shell.
target_command.h
Base command for target objects.
command_utils.h
datatools
The Bayeux/datatools library top-level namespace.
Definition:
algo.h:13
datatools::ui::target_command
Base command for a target object.
Definition:
target_command.h:38
datatools::ui::shell_exit_command
Shell exit command.
Definition:
shell_exit_command.h:34
datatools::ui::shell_exit_command::~shell_exit_command
virtual ~shell_exit_command()
datatools::ui::shell_exit_command::shell_exit_command
shell_exit_command(basic_shell &)
datatools::ui::basic_shell
Command line shell interface.
Definition:
basic_shell.h:58
Generated by
1.8.15