~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to src/output/OutputCppRoot/OutputCppRoot.i

  • Committer: Christopher Hunt
  • Date: 2015-06-18 14:48:59 UTC
  • mfrom: (697.69.1 merge)
  • mto: (697.69.2 merge_hunt)
  • mto: This revision was merged to the branch mainline in revision 708.
  • Revision ID: christopher.hunt08@imperial.ac.uk-20150618144859-rki5ma1lv8722w41
Merged in latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%include "std_string.i"
2
 
%include cpointer.i
3
 
 
4
 
%{
5
 
#include "src/common_cpp/API/IModule.hh"
6
 
#include "src/common_cpp/API/ModuleBase.hh"
7
 
#include "src/common_cpp/API/IOutput.hh"
8
 
#include "src/common_cpp/API/OutputBase.hh"
9
 
using namespace std;
10
 
%}
11
 
 
12
 
%include "src/common_cpp/API/IModule.hh"
13
 
%include "src/common_cpp/API/ModuleBase.hh"
14
 
%include "src/common_cpp/API/IOutput.hh"
15
 
%include "src/common_cpp/API/OutputBase.hh"
16
 
 
17
 
%define OUTPUTBASE_WRAP(INPUT) 
18
 
 
19
 
    %template(IOutput ## INPUT) MAUS::IOutput<INPUT>;
20
 
    %template(OutputBase ## INPUT) MAUS::OutputBase<INPUT>;
21
 
 
22
 
    #ifndef INPUT ## p
23
 
    %pointer_functions(INPUT,  INPUT  ## p);
24
 
    #define INPUT ## p
25
 
    #endif
26
 
 
27
 
%enddef
28
 
 
29
 
using namespace std;
30
 
OUTPUTBASE_WRAP(string)
31
 
 
32
 
%module OutputCppRoot
33
 
%{
34
 
#include "OutputCppRoot.hh"
35
 
%}
36
 
 
37
 
%include "OutputCppRoot.hh"
38
 
 
39