OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Quit.h
Go to the documentation of this file.
1 #ifndef OPAL_Quit_HH
2 #define OPAL_Quit_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: Quit.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: Quit
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:37 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "AbstractObjects/Action.h"
22 
23 
24 // Class Quit
25 // ------------------------------------------------------------------------
27 
28 class Quit: public Action {
29 
30 public:
31 
33  Quit();
34 
35  virtual ~Quit();
36 
38  virtual Quit *clone(const std::string &name);
39 
41  virtual void execute();
42 
43 private:
44 
45  // Not implemented.
46  Quit(const Quit &);
47  void operator=(const Quit &);
48 
49  // Clone constructor.
50  Quit(const std::string &name, Quit *parent);
51 };
52 
53 #endif // OPAL_Quit_HH
virtual ~Quit()
Definition: Quit.cpp:36
Quit()
Exemplar constructor.
Definition: Quit.cpp:25
The base class for all OPAL actions.
Definition: Action.h:30
virtual Quit * clone(const std::string &name)
Make clone.
Definition: Quit.cpp:40
void operator=(const Quit &)
The QUIT command.
Definition: Quit.h:28
const std::string name
virtual void execute()
Execute the command.
Definition: Quit.cpp:45