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

#ifndef TANGO_SERVER_DEVICEEVENTSUBSCRIPTIONSTATE_H
#define TANGO_SERVER_DEVICEEVENTSUBSCRIPTIONSTATE_H

#include <tango/server/AttributeEventSubscriptionState.h>

namespace Tango
{

struct PipeEventSubscriptionState
{
    std::string pipe_name;

    bool has_pipe_event_clients = false;
};

using PipeEventSubscriptionStates = std::vector<PipeEventSubscriptionState>;

struct DeviceEventSubscriptionState
{
    bool has_dev_intr_change_event_clients;

    AttributeEventSubscriptionStates attribute_events;
    PipeEventSubscriptionStates pipe_events;
};

} // namespace Tango

#endif
