Brunot
Loading...
Searching...
No Matches
PlayAudioMessage Struct Reference

#include <PlayAudioMessage.h>

Inheritance diagram for PlayAudioMessage:
[legend]
Collaboration diagram for PlayAudioMessage:
[legend]

Public Member Functions

 PlayAudioMessage (std::string file)
 PlayAudioMessage (const PlayAudioMessage &other)=default
 PlayAudioMessage (PlayAudioMessage &&other) noexcept=default
auto operator= (const PlayAudioMessage &other) -> PlayAudioMessage &=default
auto operator= (PlayAudioMessage &&other) noexcept -> PlayAudioMessage &=default
 ~PlayAudioMessage () override=default
auto clone () const -> std::unique_ptr< Message > override
auto load (Stream &stream) -> void override
auto save (Stream &stream) const -> void override
auto getFileName () const -> const std::string &
Public Member Functions inherited from Message
 Message ()=default
 Message (const Message &other)=default
 Message (Message &&other) noexcept=default
auto operator= (const Message &other) -> Message &=default
auto operator= (Message &&other) noexcept -> Message &=default
virtual ~Message ()=default
template<typename T>
auto convertMessageTo () const -> const T *
 A function that converts messages to the specific type so you don't need to call static_cast yourself
Mainly exists for cleaner code.

Private Attributes

std::string fileName

Constructor & Destructor Documentation

◆ PlayAudioMessage() [1/3]

PlayAudioMessage::PlayAudioMessage ( std::string file)
Here is the caller graph for this function:

◆ PlayAudioMessage() [2/3]

PlayAudioMessage::PlayAudioMessage ( const PlayAudioMessage & other)
default
Here is the call graph for this function:

◆ PlayAudioMessage() [3/3]

PlayAudioMessage::PlayAudioMessage ( PlayAudioMessage && other)
defaultnoexcept
Here is the call graph for this function:

◆ ~PlayAudioMessage()

PlayAudioMessage::~PlayAudioMessage ( )
overridedefault

Member Function Documentation

◆ clone()

auto PlayAudioMessage::clone ( ) const->std::unique_ptr< Message >
inlineoverridevirtual

Reimplemented from Message.

Here is the call graph for this function:

◆ getFileName()

auto PlayAudioMessage::getFileName ( ) const->conststd::string &
inline

◆ load()

auto PlayAudioMessage::load ( Stream & stream) ->void
inlineoverridevirtual

Reimplemented from Message.

◆ operator=() [1/2]

auto PlayAudioMessage::operator= ( const PlayAudioMessage & other) ->PlayAudioMessage &=default
default
Here is the call graph for this function:

◆ operator=() [2/2]

auto PlayAudioMessage::operator= ( PlayAudioMessage && other) ->PlayAudioMessage &=default
defaultnoexcept
Here is the call graph for this function:

◆ save()

auto PlayAudioMessage::save ( Stream & stream) const->void
inlineoverridevirtual

Reimplemented from Message.

Member Data Documentation

◆ fileName

std::string PlayAudioMessage::fileName
private

The documentation for this struct was generated from the following files: