eis/TestProject/CronTab/CronTab_icei.h

51 lines
1.2 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
#include <common/L2Event.h>
#include <dao/DbStandardDBAX.h>
#include <glob/ProxyMag.h>
#include <log4cplus/LOG.h>
#include <proxy/MessageICE.h>
#include <memory>
#include <string>
#include <thread>
#include <utility>
#include <vector>
namespace baosight {
/**
* @brief Ice接口类实现其中包含了对不同电文的调用
*/
class CronTabICEI : virtual public MessageICE {
public:
/**
* @brief Construct a new Eqp Alg I C E I object
*/
CronTabICEI();
virtual ~CronTabICEI();
/**
* @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::vector<baosight::MessageICEPrx> vec_prox_;
};
} // namespace baosight