Changeset 4021
- Timestamp:
- 05/30/07 15:14:43 (6 years ago)
- Location:
- experimental/components/image_capture/trunk/image_capture
- Files:
-
- 2 modified
-
WorkModule.py (modified) (2 diffs)
-
image_capture.py (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
experimental/components/image_capture/trunk/image_capture/WorkModule.py
r4007 r4021 43 43 self.is_running = True 44 44 45 self.process_thread = threading.Thread(target=self.Process)46 self.process_thread.start()47 45 48 46 def __del__(self): … … 61 59 62 60 def Process(self): 61 print "in image_capture.workModule.Process" 63 62 while self.is_running: 63 print "image_capture.workModule.Process is_running" 64 64 self.data_signal.wait() 65 65 -
experimental/components/image_capture/trunk/image_capture/image_capture.py
r4007 r4021 58 58 def start(self): 59 59 print "image_capture start called" 60 print "setting up the process thread in image_capture\n" 61 self.work_mod.process_thread = threading.Thread(target=self.work_mod.Process) 62 self.work_mod.process_thread.start() 63 60 64 61 65 def stop(self): … … 63 67 64 68 def getPort(self, id): 69 print "image_capture getPort called" 65 70 if str(id) == "image_out": 66 71 return self.outPort0_var … … 69 74 70 75 def initialize(self): 71 print "image_capture initialize called "76 print "image_capture initialize called\n" 72 77 73 78 def configure(self, props): 74 print "image_capture configure called "79 print "image_capture configure called\n" 75 80 buffer_size = 0 76 81 … … 99 104 class dataOut_realChar_i(CF__POA.Port): 100 105 def __init__(self, parent, name): 106 107 print "initializing dataOut_realChar_i in image_capture" 108 101 109 self.parent = parent 102 110 self.outPorts = {} … … 168 176 169 177 def __init__(self, uuid, label): 178 print "image_capture is initializing its orb" 170 179 # initialize the orb 171 180 self.orb = CORBA.ORB_init() … … 186 195 rootContext.rebind(name, image_capture_var) 187 196 197 print "image_capture is running its orb" 188 198 self.orb.run() 189 199