~c-e-pidcott/maus/devel

« back to all changes in this revision

Viewing changes to src/input/InputCppDAQData/InputCppDAQData.i

  • Committer: Chris Rogers
  • Date: 2011-11-04 16:46:18 UTC
  • mfrom: (656.1.27 maus-trunk3)
  • Revision ID: chris.rogers@stfc.ac.uk-20111104164618-4gaisprgsgivebix
Changes for release 0.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
%feature("shadow") InputCppDAQData::emitter() %{
10
10
def emitter(self):
11
 
  while (self.readNextEvent()):
12
 
    yield self.getCurEvent()
 
11
  spill = self.getNextSpill()
 
12
  while ( spill != ""):
 
13
    yield spill
 
14
    spill = self.getNextSpill()
13
15
%}
14
16
 
15
17
%include "InputCppDAQData.hh"