RDMnet  0.3.0
Implementation of ANSI E1.33 (RDMnet)
View other versions:
rdmnet::RptClientList Class Reference

Overview

A list of RPT client entries.

Not valid for use other than as a parameter to an RDMnet callback function; use RptClientList::GetClientEntries() to copy out the data.

#include <rdmnet/cpp/message_types/rpt_client.h>

Public Member Functions

 RptClientList ()=delete
 Not default-constructible.
 
 RptClientList (const RptClientList &other)=delete
 Not copyable - use GetClientEntries() to copy out the data.
 
RptClientListoperator= (const RptClientList &other)=delete
 Not copyable - use GetClientEntries() to copy out the data.
 
constexpr RptClientList (const RdmnetRptClientList &c_list) noexcept
 Construct an RptClientList which references an instance of the C RdmnetRptClientList type.
 
std::vector< RptClientEntryGetClientEntries () const
 Copy out the list of client entries. More...
 
constexpr bool more_coming () const noexcept
 This message contains a partial list. More...
 
constexpr const RdmnetRptClientEntryraw_entry_array () const noexcept
 Get a pointer to the raw array of client entry C structures.
 
constexpr size_t raw_entry_array_size () const noexcept
 Get the size of the raw array of client entry C structures.
 

Member Function Documentation

◆ GetClientEntries()

std::vector< RptClientEntry > rdmnet::RptClientList::GetClientEntries ( ) const
inline

Copy out the list of client entries.

This function copies and translates the list delivered to a callback function into C++ native types.

◆ more_coming()

constexpr bool rdmnet::RptClientList::more_coming ( ) const
constexprnoexcept

This message contains a partial list.

This can be set when the library runs out of static memory in which to store Client Entries and must deliver the partial list before continuing. The application should store the entries in the list but should not act on the list until another RptClientList is received with more_coming() == false.


The documentation for this class was generated from the following file: