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

Overview

Configuration information for a physical endpoint on a device.

Can be implicitly converted from a simple endpoint number to create an endpoint configuration with no initial responders, e.g.:

rdmnet::PhysicalEndpointConfig endpoint_config = 1;
Configuration information for a physical endpoint on a device.
Definition: device.h:251

Or use the constructors to create an endpoint with responders:

std::vector<rdm::Uid> physical_responders;
physical_responders.push_back(uid_1);
physical_responders.push_back(uid_2);
rdmnet::PhysicalEndpointConfig endpoint_config(2, physical_responders);
T push_back(T... args)

See Devices and Gateways for more information about endpoints.

#include <rdmnet/cpp/device.h>

Public Member Functions

 PhysicalEndpointConfig (uint16_t id, const PhysicalEndpointResponder *responders=nullptr, size_t num_responders=0)
 Create a physical endpoint configuration with an optional set of RDM responders. More...
 
 PhysicalEndpointConfig (uint16_t id, const std::vector< PhysicalEndpointResponder > &responders)
 Create a physical endpoint configuration with a set of RDM responders. More...
 
const RdmnetPhysicalEndpointConfigget () const noexcept
 Get a const reference to the underlying C type.
 

Constructor & Destructor Documentation

◆ PhysicalEndpointConfig() [1/2]

rdmnet::PhysicalEndpointConfig::PhysicalEndpointConfig ( uint16_t  id,
const PhysicalEndpointResponder responders = nullptr,
size_t  num_responders = 0 
)
inline

Create a physical endpoint configuration with an optional set of RDM responders.

Parameters
idEndpoint ID - must be between 1 and 63,999 inclusive.
respondersArray of UIDs identifying the initial physical RDM responders present on the endpoint.
num_respondersSize of responders array.

◆ PhysicalEndpointConfig() [2/2]

rdmnet::PhysicalEndpointConfig::PhysicalEndpointConfig ( uint16_t  id,
const std::vector< PhysicalEndpointResponder > &  responders 
)
inline

Create a physical endpoint configuration with a set of RDM responders.

Parameters
idEndpoint ID - must be between 1 and 63,999 inclusive.
respondersUIDs identifying the initial physical RDM responders present on the endpoint.

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