diff options
Diffstat (limited to 'src/monitor.hpp')
-rw-r--r-- | src/monitor.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/monitor.hpp b/src/monitor.hpp index 83ffb26..c8fa823 100644 --- a/src/monitor.hpp +++ b/src/monitor.hpp @@ -21,7 +21,10 @@ #ifndef __ZMQ_MONITOR_HPP_INCLUDED__ #define __ZMQ_MONITOR_HPP_INCLUDED__ +#include <string> + #include "own.hpp" +#include "mutex.hpp" #include "io_object.hpp" namespace zmq @@ -53,6 +56,10 @@ namespace zmq // Events from the poller. void timer_event (int id_); + // Actual monitoring data to send and the related critical section. + std::string text; + mutex_t sync; + monitor_t (const monitor_t&); const monitor_t &operator = (const monitor_t&); }; |