()
| 14 | |
| 15 | |
| 16 | def tutorial_daemon(): |
| 17 | pipeline = GPipeline() |
| 18 | a, b = MyNode1(), MyWriteParamNode() |
| 19 | |
| 20 | pipeline.registerGElement(a, set(), "nodeA") |
| 21 | pipeline.registerGElement(b, {a}, "writeParamNodeB") |
| 22 | |
| 23 | pipeline.addGDaemon(MyMonitorGDaemon(), ms=3333) |
| 24 | |
| 25 | pipeline.process(20) |
| 26 | |
| 27 | |
| 28 | if __name__ == '__main__': |
no test coverage detected