Exemple #1
0
 def __init__(self, *args, **kwargs):
     OutputNode.__init__(self, *args, **kwargs)
     self.outstream = sys.stdout
     self.input = InterfaceStream(self,
                                  'input',
                                  default='EOF',
                                  type=Interface.INPUT,
                                  doc="standard output")
Exemple #2
0
 def __init__(self, *args, **kwargs):
     OutputNode.__init__(self, *args, **kwargs)
     self.filepath = InterfaceValue(self,
                                    'filepath',
                                    default='',
                                    type=Interface.PARAMETER,
                                    slot=False,
                                    doc="file to write")
     self.input = InterfaceStream(self,
                                  'input',
                                  default='EOF',
                                  type=Interface.INPUT,
                                  doc="input to write")
Exemple #3
0
 def __init__(self, *args, **kwargs):
     OutputNode.__init__(self, *args, **kwargs)
     self.filepath = InterfaceValue(self, 'filepath', default='',  type=Interface.PARAMETER, slot=False, doc="file to write")
     self.input    = InterfaceStream(self, 'input', default='EOF', type=Interface.INPUT, doc="input to write")