Public Member Functions | |
def | __iadd__ |
Definition at line 8 of file IAddSequencer.py.
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