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