eis/RICS/RICS_icei.h

65 lines
1.5 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
/**
* @file RICS_icei.h
* @brief RICS的ICE
* @author your name (you@domain.com)
* @version 0.1
* @date 2023-12-22
*
* Copyright: Baosight Co. Ltd.
* DO NOT COPY/USE WITHOUT PERMISSION
*
*/
#include <RICS/RICS_alg.h>
#include <RICS/public.h>
#include <common/L2Event.h>
#include <ctime>
#include <dao/DbStandardDBAX.h>
#include <glob/SingletonTemplate.h>
#include <log4cplus/LOG.h>
#include <memory>
#include <proxy/MessageICE.h>
#include <string>
#include <thread>
#include <utility>
namespace baosight {
/**
* @brief Ice接口类实现其中包含了对不同电文的调用
*/
class RICSICEI : virtual public MessageICE {
public:
/**
* @brief Construct a new Eqp Alg I C E I object
*/
RICSICEI();
virtual ~RICSICEI();
/**
* @brief 简单数据调用接口
*/
virtual void SendDataShort(::Ice::Int, const ::Ice::ByteSeq &, ::Ice::Int,
const Ice::Current &);
/**
* @brief 复杂数据调用接口
*/
virtual void SendDataLong(::Ice::Int, const ::Ice::ByteSeq &, ::Ice::Int,
const ::std::string &, const ::std::string &,
const ::std::string &, const Ice::Current &);
/**
* @brief 定时器调用接口
*/
virtual void TimeNotify(::Ice::Int, const ::Ice::ByteSeq &,
const Ice::Current &);
private:
std::unique_ptr<LOG> logger_; ///< 本地logger
std::unique_ptr<RICSAlg> RICS_alg_;
};
} // namespace baosight