Coverage Report

Created: 2026-04-09 06:56

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/connectedhomeip/zzz_generated/app-common/clusters/LaundryWasherControls/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-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/LaundryWasherControls/AttributeIds.h>
36
#include <clusters/LaundryWasherControls/ClusterId.h>
37
#include <clusters/LaundryWasherControls/Enums.h>
38
#include <clusters/LaundryWasherControls/Structs.h>
39
40
namespace chip {
41
namespace app {
42
namespace Clusters {
43
namespace LaundryWasherControls {
44
namespace Attributes {
45
46
namespace SpinSpeeds {
47
struct TypeInfo
48
{
49
    using Type             = chip::app::DataModel::List<const chip::CharSpan>;
50
    using DecodableType    = chip::app::DataModel::DecodableList<chip::CharSpan>;
51
    using DecodableArgType = const chip::app::DataModel::DecodableList<chip::CharSpan> &;
52
53
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
54
0
    static constexpr AttributeId GetAttributeId() { return Attributes::SpinSpeeds::Id; }
55
0
    static constexpr bool MustUseTimedWrite() { return false; }
56
};
57
} // namespace SpinSpeeds
58
namespace SpinSpeedCurrent {
59
struct TypeInfo
60
{
61
    using Type             = chip::app::DataModel::Nullable<uint8_t>;
62
    using DecodableType    = chip::app::DataModel::Nullable<uint8_t>;
63
    using DecodableArgType = const chip::app::DataModel::Nullable<uint8_t> &;
64
65
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
66
0
    static constexpr AttributeId GetAttributeId() { return Attributes::SpinSpeedCurrent::Id; }
67
0
    static constexpr bool MustUseTimedWrite() { return false; }
68
};
69
} // namespace SpinSpeedCurrent
70
namespace NumberOfRinses {
71
struct TypeInfo
72
{
73
    using Type             = chip::app::Clusters::LaundryWasherControls::NumberOfRinsesEnum;
74
    using DecodableType    = chip::app::Clusters::LaundryWasherControls::NumberOfRinsesEnum;
75
    using DecodableArgType = chip::app::Clusters::LaundryWasherControls::NumberOfRinsesEnum;
76
77
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
78
0
    static constexpr AttributeId GetAttributeId() { return Attributes::NumberOfRinses::Id; }
79
0
    static constexpr bool MustUseTimedWrite() { return false; }
80
};
81
} // namespace NumberOfRinses
82
namespace SupportedRinses {
83
struct TypeInfo
84
{
85
    using Type          = chip::app::DataModel::List<const chip::app::Clusters::LaundryWasherControls::NumberOfRinsesEnum>;
86
    using DecodableType = chip::app::DataModel::DecodableList<chip::app::Clusters::LaundryWasherControls::NumberOfRinsesEnum>;
87
    using DecodableArgType =
88
        const chip::app::DataModel::DecodableList<chip::app::Clusters::LaundryWasherControls::NumberOfRinsesEnum> &;
89
90
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
91
0
    static constexpr AttributeId GetAttributeId() { return Attributes::SupportedRinses::Id; }
92
0
    static constexpr bool MustUseTimedWrite() { return false; }
93
};
94
} // namespace SupportedRinses
95
namespace GeneratedCommandList {
96
struct TypeInfo : public Clusters::Globals::Attributes::GeneratedCommandList::TypeInfo
97
{
98
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
99
};
100
} // namespace GeneratedCommandList
101
namespace AcceptedCommandList {
102
struct TypeInfo : public Clusters::Globals::Attributes::AcceptedCommandList::TypeInfo
103
{
104
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
105
};
106
} // namespace AcceptedCommandList
107
namespace AttributeList {
108
struct TypeInfo : public Clusters::Globals::Attributes::AttributeList::TypeInfo
109
{
110
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
111
};
112
} // namespace AttributeList
113
namespace FeatureMap {
114
struct TypeInfo : public Clusters::Globals::Attributes::FeatureMap::TypeInfo
115
{
116
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
117
};
118
} // namespace FeatureMap
119
namespace ClusterRevision {
120
struct TypeInfo : public Clusters::Globals::Attributes::ClusterRevision::TypeInfo
121
{
122
0
    static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
123
};
124
} // namespace ClusterRevision
125
126
struct TypeInfo
127
{
128
    struct DecodableType
129
    {
130
0
        static constexpr ClusterId GetClusterId() { return Clusters::LaundryWasherControls::Id; }
131
132
        CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path);
133
134
        Attributes::SpinSpeeds::TypeInfo::DecodableType spinSpeeds;
135
        Attributes::SpinSpeedCurrent::TypeInfo::DecodableType spinSpeedCurrent;
136
        Attributes::NumberOfRinses::TypeInfo::DecodableType numberOfRinses =
137
            static_cast<chip::app::Clusters::LaundryWasherControls::NumberOfRinsesEnum>(0);
138
        Attributes::SupportedRinses::TypeInfo::DecodableType supportedRinses;
139
        Attributes::GeneratedCommandList::TypeInfo::DecodableType generatedCommandList;
140
        Attributes::AcceptedCommandList::TypeInfo::DecodableType acceptedCommandList;
141
        Attributes::AttributeList::TypeInfo::DecodableType attributeList;
142
        Attributes::FeatureMap::TypeInfo::DecodableType featureMap           = static_cast<uint32_t>(0);
143
        Attributes::ClusterRevision::TypeInfo::DecodableType clusterRevision = static_cast<uint16_t>(0);
144
    };
145
};
146
} // namespace Attributes
147
} // namespace LaundryWasherControls
148
} // namespace Clusters
149
} // namespace app
150
} // namespace chip