Coverage Report

Created: 2025-08-28 06:31

/src/connectedhomeip/zzz_generated/app-common/clusters/CameraAvSettingsUserLevelManagement/Attributes.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 *
3
 *    Copyright (c) 2022 Project CHIP Authors
4
 *
5
 *    Licensed under the Apache License, Version 2.0 (the "License");
6
 *    you may not use this file except in compliance with the License.
7
 *    You may obtain a copy of the License at
8
 *
9
 *        http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 *    Unless required by applicable law or agreed to in writing, software
12
 *    distributed under the License is distributed on an "AS IS" BASIS,
13
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 *    See the License for the specific language governing permissions and
15
 *    limitations under the License.
16
 */
17
18
// THIS FILE IS GENERATED BY ZAP
19
// This file is generated from clusters-Attributes.h.zapt
20
21
#pragma once
22
23
#include <app/ConcreteAttributePath.h>
24
#include <app/data-model/DecodableList.h>
25
#include <app/data-model/List.h>
26
#include <app/data-model/Nullable.h>
27
#include <app/util/basic-types.h>
28
#include <lib/core/TLV.h>
29
#include <lib/support/BitMask.h>
30
31
#include <clusters/shared/Attributes.h>
32
#include <clusters/shared/Enums.h>
33
#include <clusters/shared/Structs.h>
34
35
#include <clusters/CameraAvSettingsUserLevelManagement/AttributeIds.h>
36
#include <clusters/CameraAvSettingsUserLevelManagement/ClusterId.h>
37
#include <clusters/CameraAvSettingsUserLevelManagement/Enums.h>
38
#include <clusters/CameraAvSettingsUserLevelManagement/Structs.h>
39
40
namespace chip {
41
namespace app {
42
namespace Clusters {
43
namespace CameraAvSettingsUserLevelManagement {
44
namespace Attributes {
45
46
namespace MPTZPosition {
47
struct TypeInfo
48
{
49
    using Type             = chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::MPTZStruct::Type;
50
    using DecodableType    = chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::MPTZStruct::DecodableType;
51
    using DecodableArgType = const chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::MPTZStruct::DecodableType &;
52
53
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
54
0
    static constexpr AttributeId GetAttributeId() { return Attributes::MPTZPosition::Id; }
55
0
    static constexpr bool MustUseTimedWrite() { return false; }
56
};
57
} // namespace MPTZPosition
58
namespace MaxPresets {
59
struct TypeInfo
60
{
61
    using Type             = uint8_t;
62
    using DecodableType    = uint8_t;
63
    using DecodableArgType = uint8_t;
64
65
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
66
0
    static constexpr AttributeId GetAttributeId() { return Attributes::MaxPresets::Id; }
67
0
    static constexpr bool MustUseTimedWrite() { return false; }
68
};
69
} // namespace MaxPresets
70
namespace MPTZPresets {
71
struct TypeInfo
72
{
73
    using Type =
74
        chip::app::DataModel::List<const chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::MPTZPresetStruct::Type>;
75
    using DecodableType = chip::app::DataModel::DecodableList<
76
        chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::MPTZPresetStruct::DecodableType>;
77
    using DecodableArgType = const chip::app::DataModel::DecodableList<
78
        chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::MPTZPresetStruct::DecodableType> &;
79
80
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
81
0
    static constexpr AttributeId GetAttributeId() { return Attributes::MPTZPresets::Id; }
82
0
    static constexpr bool MustUseTimedWrite() { return false; }
83
};
84
} // namespace MPTZPresets
85
namespace DPTZStreams {
86
struct TypeInfo
87
{
88
    using Type =
89
        chip::app::DataModel::List<const chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::DPTZStruct::Type>;
90
    using DecodableType = chip::app::DataModel::DecodableList<
91
        chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::DPTZStruct::DecodableType>;
92
    using DecodableArgType = const chip::app::DataModel::DecodableList<
93
        chip::app::Clusters::CameraAvSettingsUserLevelManagement::Structs::DPTZStruct::DecodableType> &;
94
95
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
96
0
    static constexpr AttributeId GetAttributeId() { return Attributes::DPTZStreams::Id; }
97
0
    static constexpr bool MustUseTimedWrite() { return false; }
98
};
99
} // namespace DPTZStreams
100
namespace ZoomMax {
101
struct TypeInfo
102
{
103
    using Type             = uint8_t;
104
    using DecodableType    = uint8_t;
105
    using DecodableArgType = uint8_t;
106
107
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
108
0
    static constexpr AttributeId GetAttributeId() { return Attributes::ZoomMax::Id; }
109
0
    static constexpr bool MustUseTimedWrite() { return false; }
110
};
111
} // namespace ZoomMax
112
namespace TiltMin {
113
struct TypeInfo
114
{
115
    using Type             = int16_t;
116
    using DecodableType    = int16_t;
117
    using DecodableArgType = int16_t;
118
119
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
120
0
    static constexpr AttributeId GetAttributeId() { return Attributes::TiltMin::Id; }
121
0
    static constexpr bool MustUseTimedWrite() { return false; }
122
};
123
} // namespace TiltMin
124
namespace TiltMax {
125
struct TypeInfo
126
{
127
    using Type             = int16_t;
128
    using DecodableType    = int16_t;
129
    using DecodableArgType = int16_t;
130
131
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
132
0
    static constexpr AttributeId GetAttributeId() { return Attributes::TiltMax::Id; }
133
0
    static constexpr bool MustUseTimedWrite() { return false; }
134
};
135
} // namespace TiltMax
136
namespace PanMin {
137
struct TypeInfo
138
{
139
    using Type             = int16_t;
140
    using DecodableType    = int16_t;
141
    using DecodableArgType = int16_t;
142
143
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
144
0
    static constexpr AttributeId GetAttributeId() { return Attributes::PanMin::Id; }
145
0
    static constexpr bool MustUseTimedWrite() { return false; }
146
};
147
} // namespace PanMin
148
namespace PanMax {
149
struct TypeInfo
150
{
151
    using Type             = int16_t;
152
    using DecodableType    = int16_t;
153
    using DecodableArgType = int16_t;
154
155
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
156
0
    static constexpr AttributeId GetAttributeId() { return Attributes::PanMax::Id; }
157
0
    static constexpr bool MustUseTimedWrite() { return false; }
158
};
159
} // namespace PanMax
160
namespace GeneratedCommandList {
161
struct TypeInfo : public Clusters::Globals::Attributes::GeneratedCommandList::TypeInfo
162
{
163
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
164
};
165
} // namespace GeneratedCommandList
166
namespace AcceptedCommandList {
167
struct TypeInfo : public Clusters::Globals::Attributes::AcceptedCommandList::TypeInfo
168
{
169
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
170
};
171
} // namespace AcceptedCommandList
172
namespace AttributeList {
173
struct TypeInfo : public Clusters::Globals::Attributes::AttributeList::TypeInfo
174
{
175
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
176
};
177
} // namespace AttributeList
178
namespace FeatureMap {
179
struct TypeInfo : public Clusters::Globals::Attributes::FeatureMap::TypeInfo
180
{
181
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
182
};
183
} // namespace FeatureMap
184
namespace ClusterRevision {
185
struct TypeInfo : public Clusters::Globals::Attributes::ClusterRevision::TypeInfo
186
{
187
0
    static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
188
};
189
} // namespace ClusterRevision
190
191
struct TypeInfo
192
{
193
    struct DecodableType
194
    {
195
0
        static constexpr ClusterId GetClusterId() { return Clusters::CameraAvSettingsUserLevelManagement::Id; }
196
197
        CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path);
198
199
        Attributes::MPTZPosition::TypeInfo::DecodableType MPTZPosition;
200
        Attributes::MaxPresets::TypeInfo::DecodableType maxPresets = static_cast<uint8_t>(0);
201
        Attributes::MPTZPresets::TypeInfo::DecodableType MPTZPresets;
202
        Attributes::DPTZStreams::TypeInfo::DecodableType DPTZStreams;
203
        Attributes::ZoomMax::TypeInfo::DecodableType zoomMax = static_cast<uint8_t>(0);
204
        Attributes::TiltMin::TypeInfo::DecodableType tiltMin = static_cast<int16_t>(0);
205
        Attributes::TiltMax::TypeInfo::DecodableType tiltMax = static_cast<int16_t>(0);
206
        Attributes::PanMin::TypeInfo::DecodableType panMin   = static_cast<int16_t>(0);
207
        Attributes::PanMax::TypeInfo::DecodableType panMax   = static_cast<int16_t>(0);
208
        Attributes::GeneratedCommandList::TypeInfo::DecodableType generatedCommandList;
209
        Attributes::AcceptedCommandList::TypeInfo::DecodableType acceptedCommandList;
210
        Attributes::AttributeList::TypeInfo::DecodableType attributeList;
211
        Attributes::FeatureMap::TypeInfo::DecodableType featureMap           = static_cast<uint32_t>(0);
212
        Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast<uint16_t>(0);
213
    };
214
};
215
} // namespace Attributes
216
} // namespace CameraAvSettingsUserLevelManagement
217
} // namespace Clusters
218
} // namespace app
219
} // namespace chip