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