kwave  18.07.70
Kwave::PlaybackDeviceFactory Class Referenceabstract

#include <PlaybackDeviceFactory.h>

Inheritance diagram for Kwave::PlaybackDeviceFactory:
Inheritance graph
Collaboration diagram for Kwave::PlaybackDeviceFactory:
Collaboration graph

Public Member Functions

virtual ~PlaybackDeviceFactory ()
 
virtual Kwave::PlayBackDevicecreateDevice (Kwave::playback_method_t method)=0
 
virtual QList< Kwave::playback_method_tsupportedMethods ()=0
 

Detailed Description

Definition at line 30 of file PlaybackDeviceFactory.h.

Constructor & Destructor Documentation

◆ ~PlaybackDeviceFactory()

virtual Kwave::PlaybackDeviceFactory::~PlaybackDeviceFactory ( )
inlinevirtual

virtual destructor

Definition at line 34 of file PlaybackDeviceFactory.h.

References createDevice(), and supportedMethods().

34 { }
Here is the call graph for this function:

Member Function Documentation

◆ createDevice()

virtual Kwave::PlayBackDevice* Kwave::PlaybackDeviceFactory::createDevice ( Kwave::playback_method_t  method)
pure virtual

Create a playback device matching the given playback method.

Parameters
methoda playback_method_t (aRts, ALSA, OSS...)
Returns
a new PlayBackDevice or 0 if failed

Implemented in Kwave::PlayBackPlugin.

Referenced by Kwave::PlaybackController::createDevice(), and ~PlaybackDeviceFactory().

Here is the caller graph for this function:

◆ supportedMethods()

virtual QList<Kwave::playback_method_t> Kwave::PlaybackDeviceFactory::supportedMethods ( )
pure virtual

Returns a list of supported playback methods.

Returns
list of all supported playback methods, should not contain "any" or "invalid"

Implemented in Kwave::PlayBackPlugin.

Referenced by Kwave::PlaybackController::checkMethod(), Kwave::PlaybackController::createDevice(), and ~PlaybackDeviceFactory().

Here is the caller graph for this function:

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