brewbutton.h

来自「含有uml的多个实例及实例的java源码。」· C头文件 代码 · 共 96 行

H
96
字号
// {{{RME classifier 'Logical View::HWDrivers::BrewButton'#ifndef rtg_BrewButton_H#define rtg_BrewButton_H#ifdef PRAGMA#pragma interface "rtg/BrewButton.h"#endif#include <RTSystem/MarkI_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 + =
减小字号Ctrl + -
显示快捷键?