"""
@file
@defgroup rtctk_standaloneTools_genDdsSub DDS Subscriber
@ingroup rtctk_standaloneTools

@brief A generic (Agnostic) DDS Subscriber.

This provides a generic DDS subscriber program for one or more (Agnostic) DDS topics.

For command line options please run the program with the option @a -h.

The following is an example of running the program for three topics:
@code{.unparsed}
rtctkGenDdsSub -t topic_aaa topic_bbb topic_ccc
@endcode

@copyright
  SPDX-FileCopyrightText: 2020-2026 European Southern Observatory (ESO) @n
  SPDX-License-Identifier: LGPL-3.0-only
"""

from wtools.module import declare_cprogram

declare_cprogram(
    target="rtctkGenDdsSub",
    use=[
        "componentFramework.services.logging",
        "componentFramework.services.dataPath.dds",
        "componentFramework.services.payloadPatterns",
    ],
)
