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

Overview

A class representing a synchronous action to take in response to a received EPT data message.

#include <rdmnet/cpp/common.h>

Public Member Functions

constexpr const RdmnetSyncEptResponseget () const
 Get a const reference to the underlying C type.
 

Static Public Member Functions

static EptResponseAction SendData (size_t response_data_len)
 Send an EPT data message in response. More...
 
static EptResponseAction SendStatus (ept_status_code_t status_code)
 Send an EPT status message. More...
 
static EptResponseAction DeferResponse ()
 Defer the response to the EPT message, either to be sent later or because no response is necessary.
 

Member Function Documentation

◆ SendData()

EptResponseAction rdmnet::EptResponseAction::SendData ( size_t  response_data_len)
inlinestatic

Send an EPT data message in response.

Parameters
response_data_lenLength of the EPT response data provided.
Precondition
Data has been copied to the buffer provided at initialization time.

◆ SendStatus()

EptResponseAction rdmnet::EptResponseAction::SendStatus ( ept_status_code_t  status_code)
inlinestatic

Send an EPT status message.

Parameters
status_codeEPT status code to send.

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