23 #ifndef __PLUGINS_RRD_EXAMPLE_RRD_EXAMPLE_THREAD_H_ 24 #define __PLUGINS_RRD_EXAMPLE_RRD_EXAMPLE_THREAD_H_ 26 #include <core/threading/thread.h> 27 #include <aspect/logging.h> 28 #include <aspect/blocked_timing.h> 29 #include <plugins/rrd/aspect/rrd.h> 30 #include <plugins/rrd/aspect/rrd_descriptions.h> 47 protected:
virtual void run() { Thread::run(); }
53 unsigned int __loop_count;
54 unsigned int __counter;
virtual void init()
Initialize the thread.
RRDExampleThread()
Constructor.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread class encapsulation of pthreads.
Thread aspect to use blocked timing.
virtual ~RRDExampleThread()
Destructor.
Thread aspect create, update, and graph round-robin databases (RRD).
Class representing a graph definition.
virtual void finalize()
Finalize the thread.
Thread aspect to log output.
virtual void loop()
Code to execute in the thread.