Feature #725 » InputCppDAQData.i
1 |
%module InputCppDAQData |
---|---|
2 |
%{ |
3 |
/* Includes the header in the wrapper code */
|
4 |
#include "InputCppDAQData.hh" |
5 |
|
6 |
%} |
7 |
%include "std_string.i" |
8 |
|
9 |
%feature("shadow") InputCppDAQData::emitter() %{ |
10 |
def emitter(self): |
11 |
spill = self.getNextSpill() |
12 |
while ( spill != ""): |
13 |
yield spill |
14 |
spill = self.getNextSpill() |
15 |
%} |
16 |
|
17 |
%include "InputCppDAQData.hh" |
18 |
|