Gazebo Gazebo

API Reference

3.15.1
LogicalAudioSourceSerializer Class Reference

Serializer for components::LogicalAudioSource object. More...

#include <LogicalAudio.hh>

Static Public Member Functions

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

Detailed Description

Serializer for components::LogicalAudioSource object.

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
logical_audio::Source _source 
)
inlinestatic

Deserialization for logical_audio::Source.

Parameters
[in]_inInput stream
[out]_sourceThe object to populate
Returns
The stream

References Source::attFunc, Source::attShape, Source::emissionVolume, Source::falloffDistance, Source::id, and Source::innerRadius.

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const logical_audio::Source _source 
)
inlinestatic

Serialization for logical_audio::Source.

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

References Source::attFunc, Source::attShape, Source::emissionVolume, Source::falloffDistance, Source::id, and Source::innerRadius.


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