Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

PlaySoundControl Class Reference

#include <PlaySoundControl.h>

Inheritance diagram for PlaySoundControl:

Inheritance graph
[legend]
List of all members.

Detailed Description

Upon activation, loads a position from a file name read from cin (stored in ms/data/motion...).

Definition at line 9 of file PlaySoundControl.h.

Public Member Functions

 PlaySoundControl (const std::string &n)
 Constructor.

virtual ~PlaySoundControl ()
 Destructor.


Protected Member Functions

virtual ControlBaseselectedFile (const std::string &f)
 does the actual loading of the MotionSequence


Constructor & Destructor Documentation

PlaySoundControl::PlaySoundControl const std::string &  n  )  [inline]
 

Constructor.

Definition at line 12 of file PlaySoundControl.h.

References config, FileBrowserControl::root, and FileBrowserControl::setFilter().

virtual PlaySoundControl::~PlaySoundControl  )  [inline, virtual]
 

Destructor.

Definition at line 18 of file PlaySoundControl.h.


Member Function Documentation

virtual ControlBase* PlaySoundControl::selectedFile const std::string &  f  )  [inline, protected, virtual]
 

does the actual loading of the MotionSequence

Reimplemented from FileBrowserControl.

Definition at line 22 of file PlaySoundControl.h.

References SoundManager::PlayFile(), sndman, and SoundManager::StopPlay().


The documentation for this class was generated from the following file:
Tekkotsu v1.4
Generated Sat Jul 19 00:09:06 2003 by Doxygen 1.3.2