OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
src
src
BasicActions
Quit.h
Go to the documentation of this file.
1
//
2
// Class Quit
3
// The class for OPAL QUIT command.
4
//
5
// Copyright (c) 2000 - 2021, Paul Scherrer Institut, Villigen PSI, Switzerland
6
// All rights reserved
7
//
8
// This file is part of OPAL.
9
//
10
// OPAL is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17
//
18
#ifndef OPAL_Quit_HH
19
#define OPAL_Quit_HH
20
21
#include "
AbstractObjects/Action.h
"
22
23
24
class
Quit
:
public
Action
{
25
26
public
:
27
29
Quit
();
30
31
virtual
~Quit
();
32
34
virtual
Quit
*
clone
(
const
std::string&
name
);
35
37
virtual
void
execute
();
38
39
private
:
40
41
// Not implemented.
42
Quit
(
const
Quit
&);
43
void
operator=
(
const
Quit
&);
44
45
// Clone constructor.
46
Quit
(
const
std::string&
name
,
Quit
* parent);
47
};
48
49
#endif
// OPAL_Quit_HH
Action.h
name
const std::string name
Definition:
MaxNormRadialPeak.cpp:32
Action
The base class for all OPAL actions.
Definition:
Action.h:30
Quit
Definition:
Quit.h:24
Quit::Quit
Quit(const Quit &)
Quit::~Quit
virtual ~Quit()
Definition:
Quit.cpp:32
Quit::Quit
Quit()
Exemplar constructor.
Definition:
Quit.cpp:21
Quit::clone
virtual Quit * clone(const std::string &name)
Make clone.
Definition:
Quit.cpp:36
Quit::execute
virtual void execute()
Execute the command.
Definition:
Quit.cpp:41
Quit::operator=
void operator=(const Quit &)
Generated on Wed Aug 25 2021 16:41:01 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.1