40 lines
760 B
C++
40 lines
760 B
C++
#pragma once
|
|
#include <TestProject/ProxyTest/ProxyTest_icei.h>
|
|
#include <glob/ConnectionMag.h>
|
|
#include <log4cplus/LOG.h>
|
|
#include <pace/Component.h>
|
|
#include <pace/pace.h>
|
|
#include <iostream>
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
namespace baosight {
|
|
/**
|
|
* @brief 负载程序的启动和初始变量信息的加载
|
|
*/
|
|
class ProxyTest : public Component {
|
|
public:
|
|
/**
|
|
* @brief Construct a new ProxyTest object
|
|
*/
|
|
ProxyTest();
|
|
|
|
/**
|
|
* @brief Destroy the ProxyTest object
|
|
*/
|
|
virtual ~ProxyTest();
|
|
|
|
/**
|
|
* @brief 启动进程
|
|
* @return int
|
|
*/
|
|
virtual int start();
|
|
|
|
private:
|
|
MessageICEPtr ProxyTest_server; ///< Ice通信模块
|
|
std::unique_ptr<LOG> logger_;
|
|
};
|
|
}; // namespace baosight
|