/[svn]/linuxsampler/trunk/src/drivers/midi/MidiInputDevice.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/midi/MidiInputDevice.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1934 by schoenebeck, Sun Jul 12 10:35:55 2009 UTC revision 2500 by schoenebeck, Fri Jan 10 12:20:05 2014 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2009 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2014 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 77  namespace LinuxSampler { Line 77  namespace LinuxSampler {
77                  public:                  public:
78                      ParameterActive();                      ParameterActive();
79                      ParameterActive(String active);                      ParameterActive(String active);
80                      virtual String Description();                      virtual String Description() OVERRIDE;
81                      virtual bool   Fix();                      virtual bool   Fix() OVERRIDE;
82                      virtual bool   Mandatory();                      virtual bool   Mandatory() OVERRIDE;
83                      virtual std::map<String,DeviceCreationParameter*> DependsAsParameters();                      virtual std::map<String,DeviceCreationParameter*> DependsAsParameters() OVERRIDE;
84                      virtual optional<bool> DefaultAsBool(std::map<String,String> Parameters);                      virtual optional<bool> DefaultAsBool(std::map<String,String> Parameters) OVERRIDE;
85                      virtual void OnSetValue(bool b) throw (Exception);                      virtual void OnSetValue(bool b) throw (Exception) OVERRIDE;
86                      static String Name();                      static String Name();
87              };              };
88    
# Line 95  namespace LinuxSampler { Line 95  namespace LinuxSampler {
95                  public:                  public:
96                      ParameterPorts();                      ParameterPorts();
97                      ParameterPorts(String val);                      ParameterPorts(String val);
98                      virtual String Description();                      virtual String Description() OVERRIDE;
99                      virtual bool   Fix();                      virtual bool   Fix() OVERRIDE;
100                      virtual bool   Mandatory();                      virtual bool   Mandatory() OVERRIDE;
101                      virtual std::map<String,DeviceCreationParameter*> DependsAsParameters();                      virtual std::map<String,DeviceCreationParameter*> DependsAsParameters() OVERRIDE;
102                      virtual optional<int>    DefaultAsInt(std::map<String,String> Parameters);                      virtual optional<int>    DefaultAsInt(std::map<String,String> Parameters) OVERRIDE;
103                      virtual optional<int>    RangeMinAsInt(std::map<String,String> Parameters);                      virtual optional<int>    RangeMinAsInt(std::map<String,String> Parameters) OVERRIDE;
104                      virtual optional<int>    RangeMaxAsInt(std::map<String,String> Parameters);                      virtual optional<int>    RangeMaxAsInt(std::map<String,String> Parameters) OVERRIDE;
105                      virtual std::vector<int> PossibilitiesAsInt(std::map<String,String> Parameters);                      virtual std::vector<int> PossibilitiesAsInt(std::map<String,String> Parameters) OVERRIDE;
106                      virtual void             OnSetValue(int i) throw (Exception);                      virtual void             OnSetValue(int i) throw (Exception) OVERRIDE;
107                      static String Name();                      static String Name();
108              };              };
109    
# Line 165  namespace LinuxSampler { Line 165  namespace LinuxSampler {
165              std::map<String,DeviceCreationParameter*> DeviceParameters();              std::map<String,DeviceCreationParameter*> DeviceParameters();
166    
167              /**              /**
168                 * Returns the unique ID number associated with this MIDIInputDevice
169                 * instance. This ID number is unique among all MIDIInputDevice
170                 * instances of the same Sampler instance and during the whole
171                 * lifetime of the Sampler instance.
172                 *
173                 * @returns a value equal or larger than 0, a negative value only
174                 *          on severe internal problems
175                 */
176                int MidiInputDeviceID();
177    
178                /**
179               * Registers the specified listener to be notified               * Registers the specified listener to be notified
180               * when the number of MIDI input ports is changed.               * when the number of MIDI input ports is changed.
181               */               */

Legend:
Removed from v.1934  
changed lines
  Added in v.2500

  ViewVC Help
Powered by ViewVC