annotate swig/aim_modules.i @ 53:c058da80d443

- Windows python building magic
author tomwalters
date Thu, 22 Jul 2010 19:03:51 +0000
parents c5f5e9569863
children d8d7757b83a6
rev   line source
tomwalters@5 1 // Copyright 2010, Thomas Walters
tomwalters@0 2 //
tomwalters@0 3 // AIM-C: A C++ implementation of the Auditory Image Model
tomwalters@0 4 // http://www.acousticscale.org/AIMC
tomwalters@0 5 //
tomwalters@45 6 // Licensed under the Apache License, Version 2.0 (the "License");
tomwalters@45 7 // you may not use this file except in compliance with the License.
tomwalters@45 8 // You may obtain a copy of the License at
tomwalters@0 9 //
tomwalters@45 10 // http://www.apache.org/licenses/LICENSE-2.0
tomwalters@0 11 //
tomwalters@45 12 // Unless required by applicable law or agreed to in writing, software
tomwalters@45 13 // distributed under the License is distributed on an "AS IS" BASIS,
tomwalters@45 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
tomwalters@45 15 // See the License for the specific language governing permissions and
tomwalters@45 16 // limitations under the License.
tomwalters@0 17
tomwalters@1 18 %module aimc
tomwalters@1 19 %include "std_string.i"
tomwalters@53 20 %include stl.i
tomwalters@0 21 %{
tomwalters@0 22 #include "Support/Common.h"
tomwalters@0 23 #include "Support/Module.h"
tomwalters@0 24 #include "Support/Parameters.h"
tomwalters@0 25 #include "Support/SignalBank.h"
tomwalters@13 26 #include "Modules/BMM/ModuleGammatone.h"
tomwalters@13 27 #include "Modules/BMM/ModulePZFC.h"
tomwalters@13 28 #include "Modules/NAP/ModuleHCL.h"
tomwalters@13 29 #include "Modules/Strobes/ModuleParabola.h"
tomwalters@32 30 #include "Modules/Strobes/ModuleLocalMax.h"
tomwalters@13 31 #include "Modules/SAI/ModuleSAI.h"
tomwalters@13 32 #include "Modules/SSI/ModuleSSI.h"
tomwalters@13 33 #include "Modules/Profile/ModuleSlice.h"
tomwalters@20 34 #include "Modules/Profile/ModuleScaler.h"
tomwalters@0 35 %}
tomwalters@0 36
tomwalters@13 37 %include "Support/Parameters.h"
tomwalters@13 38 %include "Support/SignalBank.h"
tomwalters@53 39
tomwalters@53 40 namespace aimc {
tomwalters@53 41 using std::ostream;
tomwalters@53 42 using std::set;
tomwalters@53 43 using std::string;
tomwalters@53 44 class Module {
tomwalters@53 45 public:
tomwalters@53 46 explicit Module(Parameters *parameters);
tomwalters@53 47 virtual ~Module();
tomwalters@53 48 virtual bool Initialize(const SignalBank &input);
tomwalters@53 49 bool initialized() const;
tomwalters@53 50 bool AddTarget(Module* target_module);
tomwalters@53 51 bool RemoveTarget(Module* target_module);
tomwalters@53 52 void RemoveAllTargets();
tomwalters@53 53 virtual void Process(const SignalBank &input) = 0;
tomwalters@53 54 void Reset();
tomwalters@53 55 const SignalBank* GetOutputBank() const;
tomwalters@53 56 string version() const;
tomwalters@53 57 string id() const;
tomwalters@53 58 string description() const;
tomwalters@53 59 string type() const;
tomwalters@53 60 };
tomwalters@53 61 }
tomwalters@53 62
tomwalters@13 63 %include "Modules/BMM/ModuleGammatone.h"
tomwalters@13 64 %include "Modules/BMM/ModulePZFC.h"
tomwalters@13 65 %include "Modules/NAP/ModuleHCL.h"
tomwalters@13 66 %include "Modules/Strobes/ModuleParabola.h"
tomwalters@32 67 %include "Modules/Strobes/ModuleLocalMax.h"
tomwalters@13 68 %include "Modules/SAI/ModuleSAI.h"
tomwalters@13 69 %include "Modules/SSI/ModuleSSI.h"
tomwalters@13 70 %include "Modules/Profile/ModuleSlice.h"
tomwalters@20 71 %include "Modules/Profile/ModuleScaler.h"