OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Stop.h
Go to the documentation of this file.
1 #ifndef OPAL_Stop_HH
2 #define OPAL_Stop_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: Stop.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: Stop
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 Stop
25 // ------------------------------------------------------------------------
27 
28 class Stop: public Action {
29 
30 public:
31 
33  Stop();
34 
35  virtual ~Stop();
36 
38  virtual Stop *clone(const std::string &name);
39 
41  virtual void execute();
42 
43 private:
44 
45  // Not implemented.
46  Stop(const Stop &);
47  void operator=(const Stop &);
48 
49  // Clone constructor.
50  Stop(const std::string &name, Stop *parent);
51 };
52 
53 #endif // OPAL_Stop_HH
The STOP command.
Definition: Stop.h:28
The base class for all OPAL actions.
Definition: Action.h:30
Stop()
Exemplar constructor.
Definition: Stop.cpp:25
virtual Stop * clone(const std::string &name)
Make clone.
Definition: Stop.cpp:40
void operator=(const Stop &)
const std::string name
virtual ~Stop()
Definition: Stop.cpp:36
virtual void execute()
Execute the command.
Definition: Stop.cpp:45