OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
TrackParser.h
Go to the documentation of this file.
1//
2// Class TrackParser
3// The parser class used by the OPAL tracking module.
4// As long as control remains in this class, OPAL recognizes only the
5// commands allowed in tracking mode. Thus this parser has its own
6// command directory with a find() method which is used to find commands.
7//
8// Copyright (c) 200x - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
9// All rights reserved
10//
11// This file is part of OPAL.
12//
13// OPAL is free software: you can redistribute it and/or modify
14// it under the terms of the GNU General Public License as published by
15// the Free Software Foundation, either version 3 of the License, or
16// (at your option) any later version.
17//
18// You should have received a copy of the GNU General Public License
19// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
20//
21#ifndef OPAL_TrackParser_HH
22#define OPAL_TrackParser_HH
23
26
27class TrackParser : public OpalParser {
28public:
30 virtual ~TrackParser();
31
32protected:
34 virtual Object* find(const std::string&) const;
35
36private:
37 // Not implemented.
39 void operator=(const TrackParser&);
40
41 // The sub-command directory.
43};
44
45#endif // OPAL_TrackParser_HH
A map of string versus pointer to Object.
Definition Directory.h:36
The base class for all OPAL objects.
Definition Object.h:45
The default parser for OPAL-9.
Definition OpalParser.h:43
virtual ~TrackParser()
Directory trackDirectory
Definition TrackParser.h:42
virtual Object * find(const std::string &) const
Find object by name in the track command directory.
void operator=(const TrackParser &)
TrackParser(const TrackParser &)