CGMES_3_0_0
Loading...
Searching...
No Matches
ActivePowerLimit.hpp
1#ifndef ActivePowerLimit_H
2#define ActivePowerLimit_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 "OperationalLimit.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "ActivePower.hpp"
18
19namespace CIMPP
20{
21
23 class ActivePowerLimit : public OperationalLimit
24 {
25 public:
26 /* constructor initialising all attributes to null */
27 ActivePowerLimit();
28 ~ActivePowerLimit() override;
29
32
35
36 static const char debugName[];
37 const char* debugString() const override;
38
39 const std::list<std::string>& getAttributeNames() const override;
40
41 const std::string& getClassNamespaceUrl() const override;
42 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
43
44 const std::list<CGMESProfile>& getPossibleProfiles() const override;
45 const CGMESProfile& getRecommendedProfile() const override;
46 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
47 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
48
49 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
50 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
51 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
52 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
53 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
54 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
55
56 bool isAssignableFrom(BaseClass* otherObject) const override;
57 static const BaseClassDefiner declare();
58
59 protected:
60 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
61 };
62
63 BaseClass* ActivePowerLimit_factory();
64}
65#endif
Definition BaseClass.hpp:22
CIMPP::ActivePower value
Value of active power limit. The attribute shall be a positive value or zero. Default: 0....
Definition ActivePowerLimit.hpp:34
CIMPP::ActivePower normalValue
The normal value of active power limit. The attribute shall be a positive value or zero....
Definition ActivePowerLimit.hpp:31
Product of RMS value of the voltage and the RMS value of the in-phase component of the current.
Definition ActivePower.hpp:14
Definition BaseClassDefiner.hpp:12