Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

RemoteSound Class Reference

Remote version of Sound. More...

#include <sound.hh>

Inheritance diagram for RemoteSound:

Sound MetaObject List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions

Update Handlers. Handlers for remote update messages

Detailed Description

Remote version of Sound.

This object listens to the local object's properties, responds to update messages from the local object, and performs the actual playback

Definition at line 157 of file sound.hh.


Constructor & Destructor Documentation

RemoteSound::RemoteSound MetaObject superobject  ) 
 

Constructor.

Definition at line 52 of file sound.cc.

Referenced by new_RemoteSound().


Member Function Documentation

void RemoteSound::handlePause Message *  m  )  [protected]
 

Handle remote-update message sound:pause.

Definition at line 227 of file sound.cc.

Referenced by RemoteSound().

void RemoteSound::handlePlay Message *  m  )  [protected]
 

Handle remote-update message sound:play.

If the sound is already playing, it may be stopped or played simultaneously, as capabilities of the system permit. When recieved by a local object (from a remote object), the message may be relayed to all remote objects (?).)

Definition at line 211 of file sound.cc.

Referenced by RemoteSound().

void RemoteSound::handleResume Message *  m  )  [protected]
 

Handle remote-update message sound:resume.

If not in paused state, do nothing.When recieved by a local object (from a remote object), the message may be relayed to all remote objects (?).)

Definition at line 235 of file sound.cc.

Referenced by RemoteSound().

void RemoteSound::handleStop Message *  m  )  [protected]
 

Handle remote-update message sound:stop.

However, if "loop" is "yes", the sound should be re-played from the beginning. When recieved by a local object (from a remote object), the message may be relayed to all remote objects (?).)

Definition at line 219 of file sound.cc.

Referenced by RemoteSound().

MetaObject * RemoteSound::new_RemoteSound MetaObject superobject,
const string &  type
[static]
 

Static generator, for factory.

Definition at line 254 of file sound.cc.

Referenced by Sound::registerExtenders().

void RemoteSound::sendUpdateMessage Message *  m  ) 
 

Called when this object gets an update message from its Local master across the network.

Definition at line 159 of file sound.cc.


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:55:57 2003 for Interreality Project - VOS by doxygen 1.3.2