/*
 * SPDX-FileCopyrightText: 2025 Copyright contributors to the cppTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

#ifndef TANGO_CLIENT_FWDATTRCONFEVENTDATA_H
#define TANGO_CLIENT_FWDATTRCONFEVENTDATA_H

#include <tango/client/AttrConfEventData.h>
#include <tango/client/AttributeInfoEx.h>
#include <tango/common/tango_const.h>

#include <string>

namespace Tango
{
class DeviceProxy;

class FwdAttrConfEventData : public AttrConfEventData
{
  public:
    FwdAttrConfEventData(DeviceProxy *,
                         const std::string &,
                         const std::string &,
                         Tango::AttributeInfoEx *,
                         Tango::EventReason,
                         const DevErrorList &);

    void set_fwd_attr_conf(const AttributeConfig_5 *_p)
    {
        fwd_attr_conf = _p;
    }

    const AttributeConfig_5 *get_fwd_attr_conf()
    {
        return fwd_attr_conf;
    }

  private:
    const AttributeConfig_5 *fwd_attr_conf{nullptr};
};

} // namespace Tango

#endif // TANGO_CLIENT_FWDATTRCONFEVENTDATA_H
