ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

MusicDevice Class Reference

Description of a Music device. More...

#include <musicplugin.h>

Collaboration diagram for MusicDevice:

List of all members.

Public Member Functions

 MusicDevice (MusicPluginObject const *musicPlugin, Common::String name, MusicType mt)
Common::StringgetName ()
Common::StringgetMusicDriverName ()
Common::StringgetMusicDriverId ()
MusicType getMusicType ()
Common::String getCompleteName ()
 Returns a user readable string that contains the name of the current device name (if it isn't the default one) and the name of the driver.
Common::String getCompleteId ()
 Returns a user readable string that contains the name of the current device name (if it isn't the default one) and the id of the driver.
MidiDriver::DeviceHandle getHandle ()

Private Attributes

Common::String _name
Common::String _musicDriverName
Common::String _musicDriverId
MusicType _type

Detailed Description

Description of a Music device.

Used to list the devices a Music driver can manage and their capabilities. A device with an empty name means the default device.

Definition at line 41 of file musicplugin.h.


Constructor & Destructor Documentation

MusicDevice::MusicDevice ( MusicPluginObject const *  musicPlugin,
Common::String  name,
MusicType  mt 
)

Definition at line 27 of file musicplugin.cpp.


Member Function Documentation

Common::String MusicDevice::getCompleteId (  ) 

Returns a user readable string that contains the name of the current device name (if it isn't the default one) and the id of the driver.

Definition at line 49 of file musicplugin.cpp.

Common::String MusicDevice::getCompleteName (  ) 

Returns a user readable string that contains the name of the current device name (if it isn't the default one) and the name of the driver.

Definition at line 32 of file musicplugin.cpp.

MidiDriver::DeviceHandle MusicDevice::getHandle (  ) 

Definition at line 59 of file musicplugin.cpp.

Common::String& MusicDevice::getMusicDriverId (  )  [inline]

Definition at line 47 of file musicplugin.h.

Common::String& MusicDevice::getMusicDriverName (  )  [inline]

Definition at line 46 of file musicplugin.h.

MusicType MusicDevice::getMusicType (  )  [inline]

Definition at line 48 of file musicplugin.h.

Common::String& MusicDevice::getName (  )  [inline]

Definition at line 45 of file musicplugin.h.


Member Data Documentation

Definition at line 67 of file musicplugin.h.

Definition at line 66 of file musicplugin.h.

Definition at line 65 of file musicplugin.h.

Definition at line 68 of file musicplugin.h.


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


Generated on Sat May 18 2019 05:04:56 for ResidualVM by doxygen 1.7.1
curved edge   curved edge