Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes

Rosegarden::Device Class Reference

Inheritance diagram for Rosegarden::Device:
Inheritance graph
Collaboration diagram for Rosegarden::Device:
Collaboration graph

List of all members.

Public Types

enum  DeviceType { Midi, Audio, SoftSynth }

Public Member Functions

 Device (DeviceId id, const std::string &name, DeviceType type)
virtual InstrumentList getAllInstruments () const =0
DeviceId getId () const
std::string getName () const
virtual InstrumentList getPresentationInstruments () const =0
DeviceType getType () const
void setConnection (std::string connection)
void setId (DeviceId id)
void setName (const std::string &name)
void setType (DeviceType type)
virtual std::string toXmlString ()=0

Static Public Member Functions

static std::string encode (const std::string &)

Static Public Attributes

static const DeviceId ALL_DEVICES = 10001
static const DeviceId CONTROL_DEVICE = 10002
static const DeviceId NO_DEVICE = 10000

Protected Member Functions

virtual void addInstrument (Instrument *)=0
virtual void renameInstruments ()=0

Protected Attributes

std::string m_connection
DeviceId m_id
InstrumentList m_instruments
std::string m_name
DeviceType m_type

Detailed Description

Definition at line 36 of file Device.h.

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

Generated by  Doxygen 1.6.0   Back to index