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

Overview

The source address for an unsolicited RDM response generated by a local component.

See Roles and Addressing and Devices and Gateways for more information.

#include <rdmnet/cpp/client.h>

Public Member Functions

constexpr SourceAddr (uint16_t source_endpoint, const rdm::Uid &rdm_source_uid, uint16_t subdevice=0) noexcept
 Construct a SourceAddr from distinct addressing components. More...
 
constexpr const RdmnetSourceAddrget () const noexcept
 Get a const reference to the underlying C type. More...
 

Constructor & Destructor Documentation

◆ SourceAddr()

constexpr rdmnet::SourceAddr::SourceAddr ( uint16_t  source_endpoint,
const rdm::Uid &  rdm_source_uid,
uint16_t  subdevice = 0 
)
constexprnoexcept

Construct a SourceAddr from distinct addressing components.

Parameters
source_endpointThe endpoint from which this response has originated.
rdm_source_uidThe UID of the RDM responder from which this response has originated.
subdeviceThe RDM sub-device from which this response has originated.

Member Function Documentation

◆ get()

constexpr const RdmnetSourceAddr & rdmnet::SourceAddr::get ( ) const
constexprnoexcept

Get a const reference to the underlying C type.

This function should normally only be used by the library implementation.


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