media::dummy_sound_rep Class Reference

dummy_sound_rep is a stub implementation of the sound_rep interface. More...

#include <media/dummysound.h>

Inheritance diagram for media::dummy_sound_rep:

Inheritance graph
[legend]
Collaboration diagram for media::dummy_sound_rep:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 dummy_sound_rep (const char *filename=0)
 Construct from a sound file (but all we do is see if the file exists).
virtual void play ()
 Play the sound (but this is a no-op for DummySound).

Static Protected Member Functions

static void check_filename (const char *filename)
 Checks that the filename points to a readable file.


Detailed Description

dummy_sound_rep is a stub implementation of the sound_rep interface.

Definition at line 44 of file dummysound.h.


Member Function Documentation

void media::sound_rep::check_filename ( const char *  filename  )  [static, protected, inherited]

Checks that the filename points to a readable file.

Throws an exception in case of any failure.

Definition at line 48 of file soundrep.cc.

References SRC_POS.

Referenced by dummy_sound_rep(), and media::esd_sound_rep::esd_sound_rep().


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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:19 2008 by Doxygen version 1.5.5.