Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(21)  |  Call(21)  |  Derive(0)  |  Import(0)

src/k/a/kamaelia-HEAD/Sketches/MPS/List/TaggingPluggableProcessor.py   kamaelia(Download)
                self.process_messages(data)
 
            for child in self.childComponents():
                if child._isStopped(): # Means they've exitted
                    self.remove_processor(child)
        self.send(self.recv("control"), "signal")
 
        for c in self.childComponents():
            L = self.link( (self, "_cs"), (c, "control"))
            self.send( Axon.Ipc.producerFinished(), "_cs")
    def process_messages(self, data):
        for child in self.childComponents():
            bundle = self.lookup[child]
            if bundle["filter_func"](data):
                self.send(data, bundle["to_component"])

src/k/a/kamaelia-HEAD/Sketches/MPS/VideoConf/DemuxRemuxTuple.py   kamaelia(Download)
          self.send(producerFinished(), "signal")
 
      for child in self.childComponents():
          self.removeChild(child)   # deregisters linkages for 
 
   def childrenDone(self):
       """Unplugs any children that have terminated, and returns true if there are no
          running child components left (ie. their microproceses have finished)
       """
       for child in self.childComponents():
               self.removeChild(child)   # deregisters linkages for us
 
       return 0==len(self.childComponents())
 
if __name__ == "__main__":

src/k/a/kamaelia-HEAD/Sketches/MPS/DemuxRemuxTuple.py   kamaelia(Download)
          self.send(producerFinished(), "signal")
 
      for child in self.childComponents():
          self.removeChild(child)   # deregisters linkages for 
 
   def childrenDone(self):
       """Unplugs any children that have terminated, and returns true if there are no
          running child components left (ie. their microproceses have finished)
       """
       for child in self.childComponents():
               self.removeChild(child)   # deregisters linkages for us
 
       return 0==len(self.childComponents())
 
if __name__ == "__main__":

src/k/a/kamaelia-HEAD/Sketches/MPS/Axon.DSL/Axon/DSL/Splitter.py   kamaelia(Download)
        running child components left (ie. their microproceses have finished)
        """
        for child in self.childComponents():
            if child._isStopped():
                self.removeChild(child)   # deregisters linkages for us
 
        return 0==len(self.childComponents())

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Util/Splitter.py   kamaelia(Download)
        running child components left (ie. their microproceses have finished)
        """
        for child in self.childComponents():
            if child._isStopped():
                self.removeChild(child)   # deregisters linkages for us
 
        return 0==len(self.childComponents())

src/k/a/kamaelia-HEAD/Sketches/MH/OnDemandBackplane/Splitter.py   kamaelia(Download)
        running child components left (ie. their microproceses have finished)
        """
        for child in self.childComponents():
            if child._isStopped():
                self.removeChild(child)   # deregisters linkages for us
 
        return 0==len(self.childComponents())

src/k/a/kamaelia-HEAD/Sketches/MH/new_splitter/Splitter.py   kamaelia(Download)
    def childrenDone(self):
        """Unplugs any children that have terminated, and returns true if there are no
            running child components left (ie. their microproceses have finished)
        """
        for child in self.childComponents():
            if child._isStopped():
                self.removeChild(child)   # deregisters linkages for us
 
        return 0==len(self.childComponents())

src/k/a/Kamaelia-0.6.0/Kamaelia/Util/Splitter.py   Kamaelia(Download)
        running child components left (ie. their microproceses have finished)
        """
        for child in self.childComponents():
            if child._isStopped():
                self.removeChild(child)   # deregisters linkages for us
 
        return 0==len(self.childComponents())

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/Util/Splitter.py   kamaelia(Download)
        running child components left (ie. their microproceses have finished)
        """
        for child in self.childComponents():
            if child._isStopped():
                self.removeChild(child)   # deregisters linkages for us
 
        return 0==len(self.childComponents())