Public Types | Public Member Functions

wosh::communication::AudioMessage Class Reference

wosh::Notification representing an audio message (based on audio-file). The file containing the audio message is stored in a file (for example, it may be an mp3). When message is sent over the network, file is not copied or, its URI must be valid on all system as the phisical resource. (see $SHARED_TEMP alias) More...

#include <H:/WOSH/win32_vc2010/src/framework/communication/AudioMessage.h>

List of all members.

Public Types

enum  AUDIO_TYPE
 

type of audio message

More...

Public Member Functions

 AudioMessage ()
 Empty constructor.
 AudioMessage (const std::string &filename)
 Constructor with initializer(s), provided for convenience.
 AudioMessage (const AudioMessage &m)
 Copy constructor.
virtual ~AudioMessage ()
 Empty destructor.
Setters
void setAudioType (AUDIO_TYPE type)
Getters
AUDIO_TYPE getAudioType () const
Notification::TYPE getNotificationType () const
Operators Overloading
virtual AudioMessageoperator= (const AudioMessage &m)
virtual bool operator== (const AudioMessage &other) const
virtual bool operator!= (const AudioMessage &other) const
Serialization interface
virtual std::string toString () const
virtual bool updateHash (DataHashContext *hash_context) const

Detailed Description

wosh::Notification representing an audio message (based on audio-file). The file containing the audio message is stored in a file (for example, it may be an mp3). When message is sent over the network, file is not copied or, its URI must be valid on all system as the phisical resource. (see $SHARED_TEMP alias)

See also:
wosh::interfaces::entertainment::PlayerAudio
Version:
Id:
AudioMessage.h 3775 2011-01-01 16:38:17Z alex
Author:
Alessandro Polo

Definition at line 52 of file AudioMessage.h.


Member Enumeration Documentation

type of audio message

Definition at line 60 of file AudioMessage.h.


Constructor & Destructor Documentation

wosh::communication::AudioMessage::AudioMessage (  )

Empty constructor.

Definition at line 50 of file AudioMessage.cpp.

wosh::communication::AudioMessage::AudioMessage ( const std::string &  filename )

Constructor with initializer(s), provided for convenience.

Parameters:
filename[in] the (wosh) path of the audio file
See also:
setFile()

Definition at line 55 of file AudioMessage.cpp.

wosh::communication::AudioMessage::AudioMessage ( const AudioMessage m )

Copy constructor.

Parameters:
m[in] the source object to be copied

Definition at line 60 of file AudioMessage.cpp.

virtual wosh::communication::AudioMessage::~AudioMessage (  ) [inline, virtual]

Empty destructor.

Definition at line 86 of file AudioMessage.h.


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

Generated on Tue Feb 8 2011 09:33:37 for WOSH system 0.8.888 [wolf] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework