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