server_proc_task.h 445 字节
Newer Older
xiaonuo911teamo's avatar
init...  
xiaonuo911teamo 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#pragma once

#include <pipe/timer_element.hpp>
#include <core/double_buffer_data.hpp>
#include <data/qnxproc.pb.h>
#include <zmq/zmq.hpp>
class ServerProcTask : public TimerElement{
public:
    ServerProcTask();

    // TimerElement interface
private:
    void timer_func();
    DoubleBufferData<std::string> _proc_text;
    DoubleBufferData<QnxProcList> _proc_list;
    std::string _proc_log_dir;
    bool _proc_log;
    bool _proc_remote;
};