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>
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 AudioMessage & | operator= (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 |
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)
Definition at line 52 of file AudioMessage.h.
type of audio message
Definition at line 60 of file AudioMessage.h.
| 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.
| filename | [in] the (wosh) path of the audio file |
Definition at line 55 of file AudioMessage.cpp.
| wosh::communication::AudioMessage::AudioMessage | ( | const AudioMessage & | m ) |
Copy constructor.
| 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.