1 Star 0 Fork 0

evan_xia_mew/RTSystem-alarm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DoorProtocol.cpp 1.82 KB
一键复制 编辑 原始数据 按行查看 历史
evan_xia_mew 提交于 2022-01-02 14:33 . 4805
// {{{RME classifier 'Logical View::DoorProtocol'
#if defined( PRAGMA ) && ! defined( PRAGMA_IMPLEMENTED )
#pragma implementation "DoorProtocol.h"
#endif
#include <RTSystem/TestComponent.h>
#include <DoorProtocol.h>
const RTProtocolDescriptor DoorProtocol::Base::rt_class =
{
&RTRootProtocol::rt_class
, &DoorProtocol::Conjugate::rt_class
, "DoorProtocol"
, 0
, 6
, DoorProtocol::Base::rt_signals
#if RTRUNTIMEBC
, &RTProtocolDescriptor::getUnknownGlobalSignal, &RTProtocolDescriptor::getUnknownLocalSignal
#endif
};
const RTSignalDescriptor DoorProtocol::Base::rt_signals[] =
{
{
"doorClosed"
, &RTType_void
, DoorProtocol::Base::rti_doorClosed
}
, {
"doorHeld1"
, &RTType_void
, DoorProtocol::Base::rti_doorHeld1
}
, {
"doorHeld5"
, &RTType_void
, DoorProtocol::Base::rti_doorHeld5
}
, {
"doorOpen"
, &RTType_void
, DoorProtocol::Base::rti_doorOpen
}
, {
"rtBound"
, (const RTObject_class *)0
, DoorProtocol::Base::rti_rtBound
}
, {
"rtUnbound"
, (const RTObject_class *)0
, DoorProtocol::Base::rti_rtUnbound
}
};
const RTProtocolDescriptor DoorProtocol::Conjugate::rt_class =
{
&RTRootProtocol::rt_class
, &DoorProtocol::Base::rt_class
, "DoorProtocol"
, 0
, 4
, DoorProtocol::Conjugate::rt_signals
#if RTRUNTIMEBC
, &RTProtocolDescriptor::getUnknownGlobalSignal, &RTProtocolDescriptor::getUnknownLocalSignal
#endif
};
const RTSignalDescriptor DoorProtocol::Conjugate::rt_signals[] =
{
{
"doorClosed"
, &RTType_void
, DoorProtocol::Conjugate::rti_doorClosed
}
, {
"doorUnlock"
, &RTType_void
, DoorProtocol::Conjugate::rti_doorUnlock
}
, {
"rtBound"
, (const RTObject_class *)0
, DoorProtocol::Conjugate::rti_rtBound
}
, {
"rtUnbound"
, (const RTObject_class *)0
, DoorProtocol::Conjugate::rti_rtUnbound
}
};
// }}}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

搜索帮助