/* * * Copyright (c) 2022 Project CHIP Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "MediaReadBase.h" #include "MediaSubscriptionBase.h" #include #include // SUBSCRIBER CLASSES class VendorNameSubscriber : public MediaSubscriptionBase { public: VendorNameSubscriber() : MediaSubscriptionBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class VendorIDSubscriber : public MediaSubscriptionBase { public: VendorIDSubscriber() : MediaSubscriptionBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class ApplicationNameSubscriber : public MediaSubscriptionBase { public: ApplicationNameSubscriber() : MediaSubscriptionBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class ProductIDSubscriber : public MediaSubscriptionBase { public: ProductIDSubscriber() : MediaSubscriptionBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class ApplicationSubscriber : public MediaSubscriptionBase { public: ApplicationSubscriber() : MediaSubscriptionBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class StatusSubscriber : public MediaSubscriptionBase { public: StatusSubscriber() : MediaSubscriptionBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class ApplicationVersionSubscriber : public MediaSubscriptionBase { public: ApplicationVersionSubscriber() : MediaSubscriptionBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class AllowedVendorListSubscriber : public MediaSubscriptionBase { public: AllowedVendorListSubscriber() : MediaSubscriptionBase(chip::app::Clusters::ApplicationBasic::Id) {} }; // READER CLASSES class VendorNameReader : public MediaReadBase { public: VendorNameReader() : MediaReadBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class VendorIDReader : public MediaReadBase { public: VendorIDReader() : MediaReadBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class ApplicationNameReader : public MediaReadBase { public: ApplicationNameReader() : MediaReadBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class ProductIDReader : public MediaReadBase { public: ProductIDReader() : MediaReadBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class ApplicationReader : public MediaReadBase { public: ApplicationReader() : MediaReadBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class StatusReader : public MediaReadBase { public: StatusReader() : MediaReadBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class ApplicationVersionReader : public MediaReadBase { public: ApplicationVersionReader() : MediaReadBase(chip::app::Clusters::ApplicationBasic::Id) {} }; class AllowedVendorListReader : public MediaReadBase { public: AllowedVendorListReader() : MediaReadBase(chip::app::Clusters::ApplicationBasic::Id) {} };