Gazebo Sim

API Reference

8.7.0
LogicalMicrophoneSerializer Class Reference

Serializer for components::LogicalMicrophone object. More...

#include <LogicalAudio.hh>

Static Public Member Functions

static std::istreamDeserialize (std::istream &_in, logical_audio::Microphone &_mic)
 Deserialization for logical_audio::Microphone. More...
 
static std::ostreamSerialize (std::ostream &_out, const logical_audio::Microphone &_mic)
 Serialization for logical_audio::Microphone. More...
 

Detailed Description

Serializer for components::LogicalMicrophone object.

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
logical_audio::Microphone _mic 
)
inlinestatic

Deserialization for logical_audio::Microphone.

Parameters
[in]_inInout stream
[out]_micThe object to populate

References Microphone::id, and Microphone::volumeDetectionThreshold.

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const logical_audio::Microphone _mic 
)
inlinestatic

Serialization for logical_audio::Microphone.

Parameters
[out]_outOutput stream
[in]_micObject for the stream
Returns
The stream

References Microphone::id, and Microphone::volumeDetectionThreshold.


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