Documentation for OpenFLUID 2.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GeneratorSignature.hpp
Go to the documentation of this file.
1 /*
2 
3  This file is part of OpenFLUID software
4  Copyright(c) 2007, INRA - Montpellier SupAgro
5 
6 
7  == GNU General Public License Usage ==
8 
9  OpenFLUID is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  (at your option) any later version.
13 
14  OpenFLUID is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with OpenFLUID. If not, see <http://www.gnu.org/licenses/>.
21 
22 
23  == Other Usage ==
24 
25  Other Usage means a use of OpenFLUID that is inconsistent with the GPL
26  license, and requires a written agreement between You and INRA.
27  Licensees for Other Usage of OpenFLUID may use this file in accordance
28  with the terms contained in the written agreement between You and INRA.
29 
30 */
31 
32 /**
33  @file GeneratorSignature.hpp
34 
35  @author Jean-Christophe FABRE <jean-christophe.fabre@inrae.fr>
36  @author Aline LIBRES <libres@supagro.inra.fr>
37  @author Armel THÖNI <armel.thoni@inrae.fr>
38  */
39 
40 #ifndef __OPENFLUID_MACHINE_GENERATORSIGNATURE_HPP__
41 #define __OPENFLUID_MACHINE_GENERATORSIGNATURE_HPP__
42 
43 
44 #include <openfluid/dllexport.hpp>
45 #include <openfluid/ware/TypeDefs.hpp>
49 
50 
51 namespace openfluid { namespace machine {
52 
53 
55 {
56  private:
57 
58  void setFixedInfo();
59 
60  void setRandomInfo();
61 
62  void setInterpolationInfo();
63 
64  void setInjectionInfo();
65 
66  void setInjectionMulticolInfo();
67 
68 
69  public:
70 
72 
74 
76 
78 
83 
84  virtual ~GeneratorSignature() = default;
85 
87  {
89  }
90 
91 };
92 
93 
94 } } //namespaces
95 
96 
97 #endif /* __OPENFLUID_MACHINE_GENERATORSIGNATURE_HPP__ */
Definition: Dimensions.hpp:53
Type
Definition: Value.hpp:66
@ NONE
Definition: Value.hpp:66
GeneratorMethod
Definition: GeneratorDescriptor.hpp:58
Definition: GeneratorSignature.hpp:55
openfluid::ware::WareType getType() const
Definition: GeneratorSignature.hpp:86
const openfluid::core::Dimensions VariableDimensions
Definition: GeneratorSignature.hpp:77
GeneratorSignature(openfluid::fluidx::GeneratorDescriptor::GeneratorMethod M, const openfluid::tools::UnitVarTriplets_t &V, const openfluid::core::Value::Type VT=openfluid::core::Value::NONE, const openfluid::core::Dimensions &VD=openfluid::core::Dimensions())
const openfluid::tools::UnitVarTriplets_t VariableTriplets
Definition: GeneratorSignature.hpp:73
const openfluid::fluidx::GeneratorDescriptor::GeneratorMethod Method
Definition: GeneratorSignature.hpp:71
const openfluid::core::Value::Type VariableType
Definition: GeneratorSignature.hpp:75
Definition: SimulatorSignature.hpp:237
#define OPENFLUID_API
Definition: dllexport.hpp:86
std::vector< ClassIDVar > UnitVarTriplets_t
Definition: VarHelpers.hpp:169
WareType
Definition: TypeDefs.hpp:61
Definition: ApplicationException.hpp:47