OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
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 class TrackParser;
25 
26 
27 // Class TrackEnd
28 // ------------------------------------------------------------------------
30 
31 class TrackEnd: public Action {
32 
33 public:
34 
36  TrackEnd();
37 
38  virtual ~TrackEnd();
39 
41  virtual TrackEnd *clone(const std::string &name);
42 
44  virtual void execute();
45 
46 private:
47 
48  // Not implemented.
49  TrackEnd(const TrackEnd &);
50  void operator=(const TrackEnd &);
51 
52  // Clone constructor.
53  TrackEnd(const std::string &name, TrackEnd *parent);
54 };
55 
56 #endif // OPAL_TrackEnd_HH
void operator=(const TrackEnd &)
The base class for all OPAL actions.
Definition: Action.h:30
The parser class used by the OPAL tracking module.
Definition: TrackParser.h:32
The ENDTRACK command.
Definition: TrackEnd.h:31
TrackEnd()
Exemplar constructor.
Definition: TrackEnd.cpp:27
The SEQUENCE definition.
Definition: Sequence.h:38
virtual void execute()
Execute the command.
Definition: TrackEnd.cpp:47
const std::string name
virtual TrackEnd * clone(const std::string &name)
Make clone.
Definition: TrackEnd.cpp:42
virtual ~TrackEnd()
Definition: TrackEnd.cpp:38