Changeset 4050

Show
Ignore:
Timestamp:
05/31/07 11:27:12 (6 years ago)
Author:
DrewCormier
Message:

getting rid of some debugging print statements

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • experimental/components/image_capture/trunk/image_capture/image_capture.py

    r4042 r4050  
    4444    def __init__(self, uuid, label, poa): 
    4545        CF._objref_Resource.__init__(self._this()) 
    46         print "image_capture_i __init__: " + label 
    4746        self.naming_service_name = label 
    4847        self.poa = poa 
     
    5756         
    5857    def start(self): 
    59         print "image_capture start called" 
    60         print "setting up the process thread in image_capture\n" 
    6158        self.work_mod.process_thread = threading.Thread(target=self.work_mod.Process) 
    6259        self.work_mod.process_thread.start() 
     
    6764         
    6865    def getPort(self, id): 
    69         print "image_capture getPort called" 
    7066        if str(id) == "image_out": 
    7167            return self.outPort0_var 
     
    7773     
    7874    def configure(self, props): 
    79         print "image_capture configure called\n" 
    8075        buffer_size = 0 
    8176         
     
    10499class dataOut_realChar_i(CF__POA.Port): 
    105100    def __init__(self, parent, name): 
    106  
    107         print "initializing dataOut_realChar_i in image_capture" 
    108  
    109101        self.parent = parent 
    110102        self.outPorts = {} 
     
    120112 
    121113    def connectPort(self, connection, connectionId): 
    122         print "connectPort in image_capture called\n" 
    123114        port = connection._narrow(standardInterfaces__POA.realChar) 
    124115        self.outPorts[str(connectionId)] = port 
     
    142133 
    143134    def Process(self): 
    144         print "Process in image_capture called\n" 
    145  
    146135        while self.is_running: 
    147136            while len(self.data_buffer) > 0: 
     
    149138                new_data = self.data_buffer.pop() 
    150139                self.data_buffer_lock.release() 
    151                 print new_data[0] 
    152140                for port in self.outPorts.values(): 
    153141                     port.pushPacket(new_data[0]) 
     
    163151     
    164152    def __init__(self, uuid, label): 
    165         print "image_capture is initializing its orb" 
    166153        # initialize the orb 
    167154        self.orb = CORBA.ORB_init() 
     
    182169        rootContext.rebind(name, image_capture_var) 
    183170         
    184         print "image_capture is running its orb" 
    185171        self.orb.run() 
    186172