CGMES_3_0_0
Loading...
Searching...
No Matches
MechLoad1.hpp
1#ifndef MechLoad1_H
2#define MechLoad1_H
3/*
4Generated from the CGMES files via cimgen: https://github.com/sogno-platform/cimgen
5*/
6
7#include <list>
8#include <map>
9#include <string>
10#include <unordered_map>
11
12#include "MechanicalLoadDynamics.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "Float.hpp"
18
19namespace CIMPP
20{
21
23 class MechLoad1 : public MechanicalLoadDynamics
24 {
25 public:
26 /* constructor initialising all attributes to null */
27 MechLoad1();
28 ~MechLoad1() override;
29
32
35
38
41
42 static const char debugName[];
43 const char* debugString() const override;
44
45 const std::list<std::string>& getAttributeNames() const override;
46
47 const std::string& getClassNamespaceUrl() const override;
48 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
49
50 const std::list<CGMESProfile>& getPossibleProfiles() const override;
51 const CGMESProfile& getRecommendedProfile() const override;
52 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
53 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
54
55 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
56 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
57 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
58 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
59 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
60 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
61
62 bool isAssignableFrom(BaseClass* otherObject) const override;
63 static const BaseClassDefiner declare();
64
65 protected:
66 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
67 };
68
69 BaseClass* MechLoad1_factory();
70}
71#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
A floating point number. The range is unspecified and not limited.
Definition Float.hpp:14
CIMPP::Float d
Speed to the exponent coefficient (d). Default: 0.0.
Definition MechLoad1.hpp:37
CIMPP::Float e
Exponent (e). Default: 0.0.
Definition MechLoad1.hpp:40
CIMPP::Float a
Speed squared coefficient (a). Default: 0.0.
Definition MechLoad1.hpp:31
CIMPP::Float b
Speed coefficient (b). Default: 0.0.
Definition MechLoad1.hpp:34