OPAL (Object Oriented Parallel Accelerator Library)
2024.2
OPAL
Select.h
Go to the documentation of this file.
1
//
2
// Class Select
3
// The class for OPAL SELECT command.
4
//
5
// Copyright (c) 2000 - 2021, Paul Scherrer Institut, Villigen PSI, Switzerland
6
// All rights reserved
7
//
8
// This file is part of OPAL.
9
//
10
// OPAL is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17
//
18
#ifndef OPAL_Select_HH
19
#define OPAL_Select_HH 1
20
21
#include "
AbstractObjects/Action.h
"
22
23
class
Beamline
;
24
25
26
class
Select
:
public
Action
{
27
28
public
:
29
31
Select
();
32
33
virtual
~Select
();
34
36
virtual
Select
*
clone
(
const
std::string&
name
);
37
39
virtual
void
execute
();
40
41
private
:
42
43
// Not implemented.
44
Select
(
const
Select
&);
45
void
operator=
(
const
Select
&);
46
47
// Clone constructor.
48
Select
(
const
std::string&
name
,
Select
* parent);
49
50
// Do the selection.
51
void
select
(
const
Beamline
&);
52
};
53
54
#endif
// OPAL_Select_H
Action.h
name
const std::string name
Definition
MaxNormRadialPeak.cpp:32
Action::Action
Action(int size, const char *name, const char *help)
Constructor for exemplars.
Definition
Action.cpp:54
Select::Select
Select(const Select &)
Select::~Select
virtual ~Select()
Definition
Select.cpp:82
Select::operator=
void operator=(const Select &)
Select::execute
virtual void execute()
Execute the command.
Definition
Select.cpp:91
Select::select
void select(const Beamline &)
Definition
Select.cpp:112
Select::clone
virtual Select * clone(const std::string &name)
Make clone.
Definition
Select.cpp:86
Select::Select
Select()
Exemplar constructor.
Definition
Select.cpp:46
Beamline
An abstract sequence of beam line components.
Definition
Beamline.h:34