eis/TestProject/DCR/DCR.h

41 lines
808 B
C
Raw Normal View History

#pragma once
#include <TestProject/DCR/DCR_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 DCR : public Component {
public:
/**
* @brief Construct a new DCR object
*/
DCR();
/**
* @brief Destroy the DCR object
*/
virtual ~DCR();
/**
* @brief
* @return int
*/
virtual int start();
private:
std::shared_ptr<ConnectionMag> con_mag_; ///< DB2连接管理器邹师傅的模块需要
MessageICEPtr DCR_server; ///< Ice通信模块
std::unique_ptr<LOG> logger_;
};
}; // namespace baosight