/src/connectedhomeip/zzz_generated/app-common/clusters/shared/Attributes.h
Line | Count | Source |
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-shared-Attributes.h.zapt |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <app/data-model/DecodableList.h> |
24 | | #include <app/data-model/List.h> |
25 | | #include <clusters/shared/GlobalIds.h> |
26 | | #include <lib/core/DataModelTypes.h> |
27 | | #include <lib/core/TLV.h> |
28 | | #include <lib/support/BitMask.h> |
29 | | |
30 | | #include <clusters/shared/Enums.h> |
31 | | |
32 | | namespace chip { |
33 | | namespace app { |
34 | | namespace Clusters { |
35 | | namespace Globals { |
36 | | namespace Attributes { |
37 | | namespace GeneratedCommandList { |
38 | | struct TypeInfo |
39 | | { |
40 | | using Type = DataModel::List<const chip::CommandId>; |
41 | | using DecodableType = DataModel::DecodableList<chip::CommandId>; |
42 | | using DecodableArgType = const DataModel::DecodableList<chip::CommandId> &; |
43 | | |
44 | 0 | static constexpr AttributeId GetAttributeId() { return Attributes::GeneratedCommandList::Id; } |
45 | 0 | static constexpr bool MustUseTimedWrite() { return false; } |
46 | | }; |
47 | | } // namespace GeneratedCommandList |
48 | | |
49 | | namespace AcceptedCommandList { |
50 | | struct TypeInfo |
51 | | { |
52 | | using Type = DataModel::List<const chip::CommandId>; |
53 | | using DecodableType = DataModel::DecodableList<chip::CommandId>; |
54 | | using DecodableArgType = const DataModel::DecodableList<chip::CommandId> &; |
55 | | |
56 | 0 | static constexpr AttributeId GetAttributeId() { return Attributes::AcceptedCommandList::Id; } |
57 | 0 | static constexpr bool MustUseTimedWrite() { return false; } |
58 | | }; |
59 | | } // namespace AcceptedCommandList |
60 | | |
61 | | namespace AttributeList { |
62 | | struct TypeInfo |
63 | | { |
64 | | using Type = DataModel::List<const chip::AttributeId>; |
65 | | using DecodableType = DataModel::DecodableList<chip::AttributeId>; |
66 | | using DecodableArgType = const DataModel::DecodableList<chip::AttributeId> &; |
67 | | |
68 | 0 | static constexpr AttributeId GetAttributeId() { return Attributes::AttributeList::Id; } |
69 | 0 | static constexpr bool MustUseTimedWrite() { return false; } |
70 | | }; |
71 | | } // namespace AttributeList |
72 | | |
73 | | namespace FeatureMap { |
74 | | struct TypeInfo |
75 | | { |
76 | | using Type = uint32_t; |
77 | | using DecodableType = uint32_t; |
78 | | using DecodableArgType = uint32_t; |
79 | | |
80 | 0 | static constexpr AttributeId GetAttributeId() { return Attributes::FeatureMap::Id; } |
81 | 0 | static constexpr bool MustUseTimedWrite() { return false; } |
82 | | }; |
83 | | } // namespace FeatureMap |
84 | | |
85 | | namespace ClusterRevision { |
86 | | struct TypeInfo |
87 | | { |
88 | | using Type = uint16_t; |
89 | | using DecodableType = uint16_t; |
90 | | using DecodableArgType = uint16_t; |
91 | | |
92 | 0 | static constexpr AttributeId GetAttributeId() { return Attributes::ClusterRevision::Id; } |
93 | 0 | static constexpr bool MustUseTimedWrite() { return false; } |
94 | | }; |
95 | | } // namespace ClusterRevision |
96 | | |
97 | | } // namespace Attributes |
98 | | } // namespace Globals |
99 | | } // namespace Clusters |
100 | | } // namespace app |
101 | | } // namespace chip |