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

Class MyMonitorDaemon

tutorial/MyGDaemon/MyMonitorDaemon.h:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include "CGraph.h"
13
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

no outgoing calls

Tested by

no test coverage detected