Coverage Report

Created: 2025-08-29 06:15

/src/opendnp3/cpp/lib/src/gen/objects/Group42.h
Line
Count
Source (jump to first uncovered line)
1
//
2
//  _   _         ______    _ _ _   _             _ _ _
3
// | \ | |       |  ____|  | (_) | (_)           | | | |
4
// |  \| | ___   | |__   __| |_| |_ _ _ __   __ _| | | |
5
// | . ` |/ _ \  |  __| / _` | | __| | '_ \ / _` | | | |
6
// | |\  | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
7
// |_| \_|\___/  |______\__,_|_|\__|_|_| |_|\__, (_|_|_)
8
//                                           __/ |
9
//                                          |___/
10
// 
11
// This file is auto-generated. Do not edit manually
12
// 
13
// Copyright 2013-2022 Step Function I/O, LLC
14
// 
15
// Licensed to Green Energy Corp (www.greenenergycorp.com) and Step Function I/O
16
// LLC (https://stepfunc.io) under one or more contributor license agreements.
17
// See the NOTICE file distributed with this work for additional information
18
// regarding copyright ownership. Green Energy Corp and Step Function I/O LLC license
19
// this file to you under the Apache License, Version 2.0 (the "License"); you
20
// may not use this file except in compliance with the License. You may obtain
21
// a copy of the License at:
22
// 
23
//   http://www.apache.org/licenses/LICENSE-2.0
24
// 
25
// Unless required by applicable law or agreed to in writing, software
26
// distributed under the License is distributed on an "AS IS" BASIS,
27
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28
// See the License for the specific language governing permissions and
29
// limitations under the License.
30
//
31
32
#ifndef OPENDNP3_GROUP42_H
33
#define OPENDNP3_GROUP42_H
34
35
#include "opendnp3/app/GroupVariationID.h"
36
#include <ser4cpp/container/SequenceTypes.h>
37
#include "opendnp3/app/DNPTime.h"
38
#include "app/DNP3Serializer.h"
39
#include "app/MeasurementTypeSpecs.h"
40
41
namespace opendnp3 {
42
43
// Analog Output Event - Any Variation
44
struct Group42Var0
45
{
46
0
  static GroupVariationID ID() { return GroupVariationID(42,0); }
47
};
48
49
// Analog Output Event - 32-bit With Flag
50
struct Group42Var1
51
{
52
0
  static GroupVariationID ID() { return GroupVariationID(42,1); }
53
54
  Group42Var1();
55
56
1.30k
  static size_t Size() { return 5; }
57
  static bool Read(ser4cpp::rseq_t&, Group42Var1&);
58
  static bool Write(const Group42Var1&, ser4cpp::wseq_t&);
59
60
  typedef int32_t ValueType;
61
  uint8_t flags;
62
  int32_t value;
63
64
  typedef AnalogOutputStatus Target;
65
  typedef AnalogOutputStatusSpec Spec;
66
  static bool ReadTarget(ser4cpp::rseq_t&, AnalogOutputStatus&);
67
  static bool WriteTarget(const AnalogOutputStatus&, ser4cpp::wseq_t&);
68
0
  static DNP3Serializer<AnalogOutputStatus> Inst() { return DNP3Serializer<AnalogOutputStatus>(ID(), Size(), &ReadTarget, &WriteTarget); }
69
};
70
71
// Analog Output Event - 16-bit With Flag
72
struct Group42Var2
73
{
74
0
  static GroupVariationID ID() { return GroupVariationID(42,2); }
75
76
  Group42Var2();
77
78
2.28k
  static size_t Size() { return 3; }
79
  static bool Read(ser4cpp::rseq_t&, Group42Var2&);
80
  static bool Write(const Group42Var2&, ser4cpp::wseq_t&);
81
82
  typedef int16_t ValueType;
83
  uint8_t flags;
84
  int16_t value;
85
86
  typedef AnalogOutputStatus Target;
87
  typedef AnalogOutputStatusSpec Spec;
88
  static bool ReadTarget(ser4cpp::rseq_t&, AnalogOutputStatus&);
89
  static bool WriteTarget(const AnalogOutputStatus&, ser4cpp::wseq_t&);
90
0
  static DNP3Serializer<AnalogOutputStatus> Inst() { return DNP3Serializer<AnalogOutputStatus>(ID(), Size(), &ReadTarget, &WriteTarget); }
91
};
92
93
// Analog Output Event - 32-bit With Flag and Time
94
struct Group42Var3
95
{
96
0
  static GroupVariationID ID() { return GroupVariationID(42,3); }
97
98
  Group42Var3();
99
100
1.87k
  static size_t Size() { return 11; }
101
  static bool Read(ser4cpp::rseq_t&, Group42Var3&);
102
  static bool Write(const Group42Var3&, ser4cpp::wseq_t&);
103
104
  typedef int32_t ValueType;
105
  uint8_t flags;
106
  int32_t value;
107
  DNPTime time;
108
109
  typedef AnalogOutputStatus Target;
110
  typedef AnalogOutputStatusSpec Spec;
111
  static bool ReadTarget(ser4cpp::rseq_t&, AnalogOutputStatus&);
112
  static bool WriteTarget(const AnalogOutputStatus&, ser4cpp::wseq_t&);
113
0
  static DNP3Serializer<AnalogOutputStatus> Inst() { return DNP3Serializer<AnalogOutputStatus>(ID(), Size(), &ReadTarget, &WriteTarget); }
114
};
115
116
// Analog Output Event - 16-bit With Flag and Time
117
struct Group42Var4
118
{
119
0
  static GroupVariationID ID() { return GroupVariationID(42,4); }
120
121
  Group42Var4();
122
123
1.85k
  static size_t Size() { return 9; }
124
  static bool Read(ser4cpp::rseq_t&, Group42Var4&);
125
  static bool Write(const Group42Var4&, ser4cpp::wseq_t&);
126
127
  typedef int16_t ValueType;
128
  uint8_t flags;
129
  int16_t value;
130
  DNPTime time;
131
132
  typedef AnalogOutputStatus Target;
133
  typedef AnalogOutputStatusSpec Spec;
134
  static bool ReadTarget(ser4cpp::rseq_t&, AnalogOutputStatus&);
135
  static bool WriteTarget(const AnalogOutputStatus&, ser4cpp::wseq_t&);
136
0
  static DNP3Serializer<AnalogOutputStatus> Inst() { return DNP3Serializer<AnalogOutputStatus>(ID(), Size(), &ReadTarget, &WriteTarget); }
137
};
138
139
// Analog Output Event - Single-precision With Flag
140
struct Group42Var5
141
{
142
0
  static GroupVariationID ID() { return GroupVariationID(42,5); }
143
144
  Group42Var5();
145
146
1.55k
  static size_t Size() { return 5; }
147
  static bool Read(ser4cpp::rseq_t&, Group42Var5&);
148
  static bool Write(const Group42Var5&, ser4cpp::wseq_t&);
149
150
  typedef float ValueType;
151
  uint8_t flags;
152
  float value;
153
154
  typedef AnalogOutputStatus Target;
155
  typedef AnalogOutputStatusSpec Spec;
156
  static bool ReadTarget(ser4cpp::rseq_t&, AnalogOutputStatus&);
157
  static bool WriteTarget(const AnalogOutputStatus&, ser4cpp::wseq_t&);
158
0
  static DNP3Serializer<AnalogOutputStatus> Inst() { return DNP3Serializer<AnalogOutputStatus>(ID(), Size(), &ReadTarget, &WriteTarget); }
159
};
160
161
// Analog Output Event - Double-precision With Flag
162
struct Group42Var6
163
{
164
0
  static GroupVariationID ID() { return GroupVariationID(42,6); }
165
166
  Group42Var6();
167
168
1.81k
  static size_t Size() { return 9; }
169
  static bool Read(ser4cpp::rseq_t&, Group42Var6&);
170
  static bool Write(const Group42Var6&, ser4cpp::wseq_t&);
171
172
  typedef double ValueType;
173
  uint8_t flags;
174
  double value;
175
176
  typedef AnalogOutputStatus Target;
177
  typedef AnalogOutputStatusSpec Spec;
178
  static bool ReadTarget(ser4cpp::rseq_t&, AnalogOutputStatus&);
179
  static bool WriteTarget(const AnalogOutputStatus&, ser4cpp::wseq_t&);
180
0
  static DNP3Serializer<AnalogOutputStatus> Inst() { return DNP3Serializer<AnalogOutputStatus>(ID(), Size(), &ReadTarget, &WriteTarget); }
181
};
182
183
// Analog Output Event - Single-precision With Flag and Time
184
struct Group42Var7
185
{
186
0
  static GroupVariationID ID() { return GroupVariationID(42,7); }
187
188
  Group42Var7();
189
190
1.61k
  static size_t Size() { return 11; }
191
  static bool Read(ser4cpp::rseq_t&, Group42Var7&);
192
  static bool Write(const Group42Var7&, ser4cpp::wseq_t&);
193
194
  typedef float ValueType;
195
  uint8_t flags;
196
  float value;
197
  DNPTime time;
198
199
  typedef AnalogOutputStatus Target;
200
  typedef AnalogOutputStatusSpec Spec;
201
  static bool ReadTarget(ser4cpp::rseq_t&, AnalogOutputStatus&);
202
  static bool WriteTarget(const AnalogOutputStatus&, ser4cpp::wseq_t&);
203
0
  static DNP3Serializer<AnalogOutputStatus> Inst() { return DNP3Serializer<AnalogOutputStatus>(ID(), Size(), &ReadTarget, &WriteTarget); }
204
};
205
206
// Analog Output Event - Double-precision With Flag and Time
207
struct Group42Var8
208
{
209
0
  static GroupVariationID ID() { return GroupVariationID(42,8); }
210
211
  Group42Var8();
212
213
1.54k
  static size_t Size() { return 15; }
214
  static bool Read(ser4cpp::rseq_t&, Group42Var8&);
215
  static bool Write(const Group42Var8&, ser4cpp::wseq_t&);
216
217
  typedef double ValueType;
218
  uint8_t flags;
219
  double value;
220
  DNPTime time;
221
222
  typedef AnalogOutputStatus Target;
223
  typedef AnalogOutputStatusSpec Spec;
224
  static bool ReadTarget(ser4cpp::rseq_t&, AnalogOutputStatus&);
225
  static bool WriteTarget(const AnalogOutputStatus&, ser4cpp::wseq_t&);
226
0
  static DNP3Serializer<AnalogOutputStatus> Inst() { return DNP3Serializer<AnalogOutputStatus>(ID(), Size(), &ReadTarget, &WriteTarget); }
227
};
228
229
230
}
231
232
#endif