1 Star 0 Fork 0

evan_xia_mew/RTSystem-alarm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CardSwipe.h 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
evan_xia_mew 提交于 2022-01-02 14:33 . 4805
// {{{RME classifier 'Logical View::CardSwipe'
#ifndef CardSwipe_H
#define CardSwipe_H
#ifdef PRAGMA
#pragma interface "CardSwipe.h"
#endif
#include <RTSystem/TestComponent.h>
#include <CardInfo.h>
struct CardSwipe
{
class Base : public RTRootProtocol
{
public:
inline Base( void );
inline ~Base( void );
enum { rti_cardSwipe = rtiLast_RTRootProtocol + 1 };
protected:
enum { rtiLast_CardSwipe = rti_cardSwipe };
public:
inline RTInSignal cardSwipe( void );
static const RTProtocolDescriptor rt_class;
private:
static const RTSignalDescriptor rt_signals[];
};
class Conjugate : public RTRootProtocol
{
public:
inline Conjugate( void );
inline ~Conjugate( void );
protected:
enum { rtiLast_CardSwipe = rtiLast_RTRootProtocol };
public:
inline RTOutSignal cardSwipe( const RTTypedValue_CardInfo & data );
static const RTProtocolDescriptor rt_class;
private:
static const RTSignalDescriptor rt_signals[];
};
};
inline CardSwipe::Base::Base( void )
: RTRootProtocol()
{
}
inline CardSwipe::Base::~Base( void )
{
}
inline RTInSignal CardSwipe::Base::cardSwipe( void )
{
return RTInSignal( this, rti_cardSwipe );
}
inline CardSwipe::Conjugate::Conjugate( void )
: RTRootProtocol()
{
}
inline CardSwipe::Conjugate::~Conjugate( void )
{
}
inline RTOutSignal CardSwipe::Conjugate::cardSwipe( const RTTypedValue_CardInfo & data )
{
return RTOutSignal( this, Base::rti_cardSwipe, data.data, data.type );
}
#endif /* CardSwipe_H */
// }}}RME
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/evan-xia-mew/rtsystem-alarm.git
git@gitee.com:evan-xia-mew/rtsystem-alarm.git
evan-xia-mew
rtsystem-alarm
RTSystem-alarm
master

搜索帮助