python::IAddSequencer::IAddSequencer Class Reference

Sequencer class using "+=" to schedule Algorithms. More...

List of all members.

Public Member Functions

def __iadd__


Detailed Description

Sequencer class using "+=" to schedule Algorithms.

Definition at line 8 of file IAddSequencer.py.


Member Function Documentation

def python::IAddSequencer::IAddSequencer::__iadd__ (   self,
  alghandle 
)

Defines "+=" behaviour. First adds Algorithm to the Sequencer, which schedules it to be run but DOES NOT take care of ownership. Then appends the full name of the Algorithm to the list of Sequencer members. This means that the Sequencer owns the Algorithm and prevents it from disappearing before it can be used. Returns the Sequencer after the addition. """

Definition at line 17 of file IAddSequencer.py.

00017                                 :
00018 
00019         try:
00020             Sequencer.__iadd__(self, alghandle)
00021             self.Members.append( alghandle.getFullName() )
00022         except (RuntimeError, TypeError):
00023             mlog = logging.getLogger( 'IAddSequencer::__iadd__ ' )
00024             if hasattr( alghandle, 'getFullName' ):
00025                 mlog.error ("Could not add "+alghandle.getFullName()+" to IAddSequencer")
00026             else:
00027                 mlog.error ("Could not add "+str(alghandle)+" to IAddSequencer")
00028         return self
        return self


The documentation for this class was generated from the following file:
Generated on Mon Sep 24 14:19:45 2007 for AtlfastAlgs by  doxygen 1.5.1