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

#include <tango/client/DevCommandInfo.h>
#include <tango/common/tango_const.h>

#include <vector>

namespace Tango
{
/**
 * Command information data extension
 *
 * @headerfile tango.h
 * @ingroup Client
 */
struct CommandInfo : public DevCommandInfo
{
    Tango::DispLevel disp_level; ///< The command display level

    /// @privatesection
    friend std::ostream &operator<<(std::ostream &, const CommandInfo &);
    bool operator==(const CommandInfo &);
};

/**
 * A vector of CommandInfo structure
 *
 * @headerfile tango.h
 * @ingroup Client
 */
using CommandInfoList = std::vector<CommandInfo>;
} // namespace Tango
#endif
