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

Method daemonTask

tutorial/MyGDaemon/MyMonitorDaemon.h:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14class MyMonitorDaemon : public CGraph::GDaemon {
15public:
16 CVoid daemonTask(CGraph::GDaemonParamPtr param) override {
17 CGraph::CGRAPH_ECHO("----> [MyMonitorDaemon] this monitor is still running, monitor span is [%ld] ms...",
18 getInterval());
19 }
20};
21
22#endif //CGRAPH_MYMONITORDAEMON_H

Callers

nothing calls this directly

Calls 1

CGRAPH_ECHOFunction · 0.85

Tested by

no test coverage detected