/********************************************************************* * * 文 件: EqpAlgICEI.h ICE接口文件 * * 版权所有: Shanghai Baosight Software Co., Ltd. * *********************************************************************/ #ifndef __EQ_ALG_ICEI_H__ #define __EQ_ALG_ICEI_H__ #include #include #include #include /* Equipment object .h file define here */ #include namespace baosight { /********************************************************************* * 类 名: EqpAlgICEI * 版权所有: Shanghai Baosight Software Co., Ltd. * 类 职 责:ice接口实现,进行简单数据和复杂数据的传输 * *********************************************************************/ class EqpAlgICEI : virtual public MessageICE { public: EqpAlgICEI(); virtual ~EqpAlgICEI(); /********************************************************************** * 概述: 简单数据调用接口 * 函数名: SendDataShort * 返回值: void * 参数列表: 参数类型 取值范围 描述 * : ::Ice::Int 事件号 * &: const ::Ice::ByteSeq 数据 * : ::Ice::Int 数据长度 * &: const Ice::Current * **********************************************************************/ virtual void SendDataShort(::Ice::Int , const ::Ice::ByteSeq& , ::Ice::Int , const Ice::Current&); /********************************************************************** * 概述: 复杂数据数据调用接口 * 函数名: SendDataLong * 返回值: void * 参数列表: 参数类型 取值范围 描述 * : ::Ice::Int 事件号 * &: const ::Ice::ByteSeq 数据 * : ::Ice::Int 数据长度 * &: const ::std::string 发送方 * &: const ::std::string 接收方 * &: const ::std::string 附加信息 * &: const Ice::Current * **********************************************************************/ virtual void SendDataLong(::Ice::Int, const ::Ice::ByteSeq&, ::Ice::Int, const ::std::string&, const ::std::string&, const ::std::string&, const Ice::Current&); /********************************************************************** * 概述: 预留接口,用于周期性事件调用 * 函数名: TimeNotify * 返回值: void * 参数列表: 参数类型 取值范围 描述 * : ::Ice::Int * &: const ::Ice::ByteSeq * &: const Ice::Current * **********************************************************************/ virtual void TimeNotify(::Ice::Int, const ::Ice::ByteSeq&, const Ice::Current&); private: AlgorithmManager* mp_algmag; }; } #endif