Esempio n. 1
0
 def imports(self):
     if self.direction == 'provides':
         modules = [python.poaModule(self.namespace)]
     else:
         modules = [
             'ossie.cf.ExtendedCF', 'ossie.cf.ExtendedCF__POA',
             python.idlModule(self.namespace)
         ]
     return [python.importModule(m) for m in modules]
Esempio n. 2
0
 def imports(self):
     if self.direction == 'provides':
         modules = [python.poaModule(self.namespace)]
     else:
         modules = [
             'ossie.cf.ExtendedCF',
             'ossie.cf.ExtendedCF__POA',
             python.idlModule(self.namespace)
         ]
     return [python.importModule(m) for m in modules]
 def imports(self):
     modname = python.idlModule(self.namespace)
     if self.direction == 'provides':
         modname += '__POA'
     return [python.importModule(modname)]
Esempio n. 4
0
 def __init__(self, pyclass, port):
     PythonPortGenerator.__init__(self, port)
     self.__imports = (python.importModule(pyclass),)
     self.__name = pyclass.split('.')[-1]