eis/TestProject/RNG/RNG.h

41 lines
807 B
C
Raw Normal View History

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