23 #ifndef RDMNET_CPP_MESSAGE_TYPES_RPT_CLIENT_H_
24 #define RDMNET_CPP_MESSAGE_TYPES_RPT_CLIENT_H_
33 #include "rdm/cpp/uid.h"
57 : cid(c_entry.cid), uid(c_entry.uid), type(c_entry.type), binding_cid(c_entry.binding_cid)
T back_inserter(T... args)
A list of RPT client entries.
Definition: rpt_client.h:89
RptClientList(const RptClientList &other)=delete
Not copyable - use GetClientEntries() to copy out the data.
constexpr size_t raw_entry_array_size() const noexcept
Get the size of the raw array of client entry C structures.
Definition: rpt_client.h:146
constexpr bool more_coming() const noexcept
This message contains a partial list.
Definition: rpt_client.h:134
RptClientList & operator=(const RptClientList &other)=delete
Not copyable - use GetClientEntries() to copy out the data.
constexpr const RdmnetRptClientEntry * raw_entry_array() const noexcept
Get a pointer to the raw array of client entry C structures.
Definition: rpt_client.h:140
std::vector< RptClientEntry > GetClientEntries() const
Copy out the list of client entries.
Definition: rpt_client.h:119
RptClientList()=delete
Not default-constructible.
rpt_client_type_t
Definition: message.h:352
const char * rdmnet_rpt_client_type_to_string(rpt_client_type_t client_type)
Get a string description of an RPT client type.
Definition: message.c:50
Basic types for parsed RDMnet messages.
A namespace which contains all C++ language definitions in the RDMnet library.
Definition: broker.h:45
Definition: message.h:363
EtcPalUuid cid
Definition: message.h:364
rpt_client_type_t type
Definition: message.h:366
EtcPalUuid binding_cid
Definition: message.h:367
RdmUid uid
Definition: message.h:365
Definition: message.h:399
RdmnetRptClientEntry * client_entries
Definition: message.h:401
bool more_coming
Definition: message.h:410
size_t num_client_entries
Definition: message.h:403
A descriptive structure for an RPT client.
Definition: rpt_client.h:41
RptClientEntry & operator=(const RdmnetRptClientEntry &c_entry)
Assign an instance of the C RdmnetRptClientEntry type to an instance of this class.
Definition: rpt_client.h:62
rdm::Uid uid
The client's RDM UID.
Definition: rpt_client.h:50
const char * TypeToCString() const noexcept
Get the client's RPT client type (controller or device) as a C-style string.
Definition: rpt_client.h:72
std::string TypeToString() const
Get the client's RPT client type (controller or device) as a string.
Definition: rpt_client.h:78
etcpal::Uuid binding_cid
An optional identifier for another component that the client is associated with.
Definition: rpt_client.h:52
rpt_client_type_t type
Whether the client is a controller or a device.
Definition: rpt_client.h:51
etcpal::Uuid cid
The client's Component Identifier (CID).
Definition: rpt_client.h:49