Gazebo Gazebo

API Reference

6.16.0
LogicalAudioSourcePlayInfoSerializer Class Reference

Serializer for components::LogicalAudioSourcePlayInfo object. More...

#include <LogicalAudio.hh>

Static Public Member Functions

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

Detailed Description

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
logical_audio::SourcePlayInfo _playInfo 
)
inlinestatic

Deserialization for logical_audio::SourcePlayInfo.

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

References SourcePlayInfo::playDuration, SourcePlayInfo::playing, and SourcePlayInfo::startTime.

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const logical_audio::SourcePlayInfo _playInfo 
)
inlinestatic

Serialization for logical_audio::SourcePlayInfo.

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

References seconds::count(), SourcePlayInfo::playDuration, SourcePlayInfo::playing, and SourcePlayInfo::startTime.


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