📄 brewbutton.h
字号:
// {{{RME classifier 'Logical View::HWDrivers::BrewButton'#ifndef rtg_BrewButton_H#define rtg_BrewButton_H#ifdef PRAGMA#pragma interface "rtg/BrewButton.h"#endif#include <RTSystem/AutoTestMarkI_x86VisualCpp60.h>struct BrewButton{ class Base : public RTRootProtocol { public: inline Base( void ); inline ~Base( void ); protected: enum { rtiLast_BrewButton = rtiLast_RTRootProtocol }; public: inline RTOutSignal brewButtonPushed( void ); inline RTOutSignal brewButtonNotPushed( void ); static const RTProtocolDescriptor rt_class; private: static const RTSignalDescriptor rt_signals[]; }; class Conjugate : public RTRootProtocol { public: inline Conjugate( void ); inline ~Conjugate( void ); enum { rti_brewButtonPushed = rtiLast_RTRootProtocol + 1 , rti_brewButtonNotPushed }; protected: enum { rtiLast_BrewButton = rti_brewButtonNotPushed }; public: inline RTInSignal brewButtonPushed( void ); inline RTInSignal brewButtonNotPushed( void ); static const RTProtocolDescriptor rt_class; private: static const RTSignalDescriptor rt_signals[]; };};inline BrewButton::Base::Base( void ) : RTRootProtocol(){}inline BrewButton::Base::~Base( void ){}inline RTOutSignal BrewButton::Base::brewButtonPushed( void ){ return RTOutSignal( this, Conjugate::rti_brewButtonPushed, (const void *)0, &RTType_void );}inline RTOutSignal BrewButton::Base::brewButtonNotPushed( void ){ return RTOutSignal( this, Conjugate::rti_brewButtonNotPushed, (const void *)0, &RTType_void );}inline BrewButton::Conjugate::Conjugate( void ) : RTRootProtocol(){}inline BrewButton::Conjugate::~Conjugate( void ){}inline RTInSignal BrewButton::Conjugate::brewButtonPushed( void ){ return RTInSignal( this, rti_brewButtonPushed );}inline RTInSignal BrewButton::Conjugate::brewButtonNotPushed( void ){ return RTInSignal( this, rti_brewButtonNotPushed );}#endif /* rtg_BrewButton_H */// }}}RME
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -