MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / tutorial_daemon

Function tutorial_daemon

python/tutorial/T13-Daemon.py:16–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def 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
28if __name__ == '__main__':

Callers 1

T13-Daemon.pyFile · 0.70

Calls 5

processMethod · 0.95
MyNode1Class · 0.90
MyWriteParamNodeClass · 0.90
MyMonitorGDaemonClass · 0.90
GPipelineClass · 0.85

Tested by

no test coverage detected