/[svn]/linuxsampler/trunk/src/network/lscpresultset.h
ViewVC logotype

Annotation of /linuxsampler/trunk/src/network/lscpresultset.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2135 - (hide annotations) (download) (as text)
Thu Sep 30 20:00:43 2010 UTC (13 years, 6 months ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 2682 byte(s)
* added and implemented a set of 19 new LSCP commands for controlling
  internal effects:
  - added LSCP command "GET AVAILABLE_EFFECTS"
  - added LSCP command "LIST AVAILABLE_EFFECTS"
  - added LSCP command "GET EFFECT INFO <effect-index>"
  - added LSCP command "CREATE EFFECT_INSTANCE <effect-index>"
  - added LSCP command
    "CREATE EFFECT_INSTANCE <effect-system> <module> <effect-name>"
  - added LSCP command "DESTROY EFFECT_INSTANCE <effect-instance>"
  - added LSCP command "GET EFFECT_INSTANCES"
  - added LSCP command "LIST EFFECT_INSTANCES"
  - added LSCP command "GET EFFECT_INSTANCE INFO <effect-instance>"
  - added LSCP command "GET EFFECT_INSTANCE_INPUT_CONTROL INFO
    <effect-instance> <input-control>"
  - added LSCP command "SET EFFECT_INSTANCE_INPUT_CONTROL <effect-instance>
    <input-control> <value>"
  - added LSCP command "GET MASTER_EFFECT_CHAINS <audio-device>"
  - added LSCP command "LIST MASTER_EFFECT_CHAINS <audio-device>"
  - added LSCP command "ADD MASTER_EFFECT_CHAIN <audio-device>"
  - added LSCP command
    "REMOVE MASTER_EFFECT_CHAIN <audio-device> <effect-chain>"
  - added LSCP command
    "GET MASTER_EFFECT_CHAIN INFO <audio-device> <effect-chain>"
  - added LSCP command "APPEND MASTER_EFFECT_CHAIN EFFECT <audio-device>
    <effect-chain> <effect-instance>"
  - added LSCP command "INSERT MASTER_EFFECT_CHAIN EFFECT <audio-device>
    <effect-chain> <effect-instance> <effect-chain-pos>"
  - added LSCP command "REMOVE MASTER_EFFECT_CHAIN EFFECT <audio-device>
    <effect-chain> <effect-instance>"
* bumped version to 1.0.0.cvs7

1 senkov 113 /***************************************************************************
2     * *
3     * LinuxSampler - modular, streaming capable sampler *
4     * *
5     * Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck *
6 persson 1765 * Copyright (C) 2005 - 2008 Christian Schoenebeck *
7 senkov 113 * *
8     * 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 *
10     * the Free Software Foundation; either version 2 of the License, or *
11     * (at your option) any later version. *
12     * *
13     * This program is distributed in the hope that it will be useful, *
14     * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16     * GNU General Public License for more details. *
17     * *
18     * You should have received a copy of the GNU General Public License *
19     * along with this program; if not, write to the Free Software *
20     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
21     * MA 02111-1307 USA *
22     ***************************************************************************/
23    
24     #ifndef __LSCPRESULTSET_H_
25     #define __LSCPRESULTSET_H_
26 senkov 120 #include <iostream>
27     #include <sstream>
28     #include <string>
29 schoenebeck 2135 #include <vector>
30 senkov 113 #include "../Sampler.h"
31     #include "../common/global.h"
32 schoenebeck 880 #include "../common/Exception.h"
33 senkov 113
34 persson 1765 namespace LinuxSampler {
35 senkov 113
36     /**
37     * Helper class for producing result sets
38     */
39     class LSCPResultSet {
40     public:
41 senkov 120 LSCPResultSet(int index = -1);
42     LSCPResultSet(String, int index = -1);
43 senkov 113 void Add(String);
44     void Add(String, String);
45 schoenebeck 225 void Add(String, const char*);
46 senkov 397 void Add(int columns, char** argv);
47 senkov 113 void Add(String, float);
48     void Add(String, int);
49 schoenebeck 223 void Add(String, bool);
50 senkov 120 void Add(int);
51 schoenebeck 2135 void Add(String Label, const std::vector<float>& v);
52 senkov 120 void Error(String message = "Undefined Error", int code = 0);
53 schoenebeck 880 void Error(Exception e);
54 senkov 120 void Warning(String message = "Undefined Warning", int code = 0);
55 senkov 113 String Produce(void);
56    
57     private:
58     String storage;
59     int count;
60 senkov 120 int result_type;
61     int result_index;
62    
63 senkov 113 };
64    
65 persson 1765 }
66    
67 senkov 113 #endif // __LSCPRESULTSET_H_

  ViewVC Help
Powered by ViewVC