point_one::fusion_engine::messages::OutputInterfaceConfigResponseMessage Struct Reference

Response to a GetOutputInterfaceConfigMessage request (MessageType::OUTPUT_INTERFACE_CONFIG_RESPONSE, version 1.0). More...

#include <point_one/fusion_engine/messages/configuration.h>

Inheritance diagram for point_one::fusion_engine::messages::OutputInterfaceConfigResponseMessage:
point_one::fusion_engine::messages::MessagePayload

Public Attributes

bool active_differs_from_saved = false
 Set to true if the active configuration differs from the saved configuration for this parameter. More...
 
ConfigurationSource config_source = ConfigurationSource::ACTIVE
 The source of the parameter value (active, saved, etc.). More...
 
uint8_t number_of_interfaces = 0
 The number of output interfaces to follow. More...
 
Response response = Response::OK
 The response status (success, error, etc.). More...
 

Static Public Attributes

static constexpr MessageType MESSAGE_TYPE
 
static constexpr uint8_t MESSAGE_VERSION = 0
 

Detailed Description

Response to a GetOutputInterfaceConfigMessage request (MessageType::OUTPUT_INTERFACE_CONFIG_RESPONSE, version 1.0).

This message is followed by N OutputInterfaceConfigEntry objects, where N is equal to number_of_interfaces. Each of these interfaces is variable size, and the sum of the objects should add up to the message size from the header.

For example if the number_of_interfaces is 2 and both interfaces have two streams the payload will look as follows:

{MessageHeader, OutputInterfaceConfigResponseMessage,
OutputInterfaceConfigEntry, uint8_t, uint8_t,
OutputInterfaceConfigEntry, uint8_t, uint8_t}

Definition at line 1249 of file configuration.h.

Member Data Documentation

◆ active_differs_from_saved

bool point_one::fusion_engine::messages::OutputInterfaceConfigResponseMessage::active_differs_from_saved = false

Set to true if the active configuration differs from the saved configuration for this parameter.

Definition at line 1264 of file configuration.h.

◆ config_source

ConfigurationSource point_one::fusion_engine::messages::OutputInterfaceConfigResponseMessage::config_source = ConfigurationSource::ACTIVE

The source of the parameter value (active, saved, etc.).

Definition at line 1255 of file configuration.h.

◆ MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::OutputInterfaceConfigResponseMessage::MESSAGE_TYPE
staticconstexpr
Initial value:

Definition at line 1250 of file configuration.h.

◆ MESSAGE_VERSION

constexpr uint8_t point_one::fusion_engine::messages::OutputInterfaceConfigResponseMessage::MESSAGE_VERSION = 0
staticconstexpr

Definition at line 1252 of file configuration.h.

◆ number_of_interfaces

uint8_t point_one::fusion_engine::messages::OutputInterfaceConfigResponseMessage::number_of_interfaces = 0

The number of output interfaces to follow.

Definition at line 1267 of file configuration.h.

◆ response

Response point_one::fusion_engine::messages::OutputInterfaceConfigResponseMessage::response = Response::OK

The response status (success, error, etc.).

Definition at line 1258 of file configuration.h.


The documentation for this struct was generated from the following file:
@ OUTPUT_INTERFACE_CONFIG_RESPONSE
OutputInterfaceConfigResponseMessage