📄 pos.h
字号:
#if !defined(__POS_H__) || defined(MICO_NO_TOPLEVEL_MODULES)#define __POS_H__#ifndef MICO_NO_TOPLEVEL_MODULES#include <CORBA.h>#include <mico/throw.h>#endif#ifndef MICO_NO_TOPLEVEL_MODULESMICO_NAMESPACE_DECL POS {#endif#if !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE_POS)typedef CORBA::Long POSId;MICO_EXPORT_VAR_DECL CORBA::TypeCodeConst _tc_POSId;typedef char* Barcode;typedef CORBA::String_var Barcode_var;typedef CORBA::String_out Barcode_out;MICO_EXPORT_VAR_DECL CORBA::TypeCodeConst _tc_Barcode;class InputMedia;typedef InputMedia *InputMedia_ptr;typedef InputMedia_ptr InputMediaRef;typedef ObjVar<InputMedia> InputMedia_var;typedef InputMedia_var InputMedia_out;// Common definitions for interface InputMediaclass InputMedia : virtual public CORBA::Object{ public: virtual ~InputMedia(); static InputMedia_ptr _duplicate( InputMedia_ptr obj ); static InputMedia_ptr _narrow( CORBA::Object_ptr obj ); static InputMedia_ptr _nil(); virtual void *_narrow_helper( const char *repoid ); static vector<CORBA::Narrow_proto> *_narrow_helpers; static bool _narrow_helper2( CORBA::Object_ptr obj ); typedef char* OperatorCmd; typedef CORBA::String_var OperatorCmd_var; typedef CORBA::String_out OperatorCmd_out; static CORBA::TypeCodeConst _tc_OperatorCmd; virtual void BarcodeInput( const char* Item ) = 0; virtual void KeypadInput( const char* Cmd ) = 0; protected: InputMedia() {}; private: InputMedia( const InputMedia& ); void operator=( const InputMedia& );};MICO_EXPORT_VAR_DECL CORBA::TypeCodeConst _tc_InputMedia;// Stub for interface InputMediaclass InputMedia_stub : virtual public InputMedia{ public: virtual ~InputMedia_stub(); void BarcodeInput( const char* Item ); void KeypadInput( const char* Cmd ); private: void operator=( const InputMedia_stub& );};class InputMedia_skel : virtual public MethodDispatcher, virtual public InputMedia{ public: InputMedia_skel( const CORBA::BOA::ReferenceData & = CORBA::BOA::ReferenceData() ); virtual ~InputMedia_skel(); InputMedia_skel( CORBA::Object_ptr obj ); virtual bool dispatch( CORBA::ServerRequest_ptr _req, CORBA::Environment &_env ); InputMedia_ptr _this();};class OutputMedia;typedef OutputMedia *OutputMedia_ptr;typedef OutputMedia_ptr OutputMediaRef;typedef ObjVar<OutputMedia> OutputMedia_var;typedef OutputMedia_var OutputMedia_out;// Common definitions for interface OutputMediaclass OutputMedia : virtual public CORBA::Object{ public: virtual ~OutputMedia(); static OutputMedia_ptr _duplicate( OutputMedia_ptr obj ); static OutputMedia_ptr _narrow( CORBA::Object_ptr obj ); static OutputMedia_ptr _nil(); virtual void *_narrow_helper( const char *repoid ); static vector<CORBA::Narrow_proto> *_narrow_helpers; static bool _narrow_helper2( CORBA::Object_ptr obj ); virtual CORBA::Boolean OutputText( const char* StringToPrint ) = 0; protected: OutputMedia() {}; private: OutputMedia( const OutputMedia& ); void operator=( const OutputMedia& );};MICO_EXPORT_VAR_DECL CORBA::TypeCodeConst _tc_OutputMedia;// Stub for interface OutputMediaclass OutputMedia_stub : virtual public OutputMedia{ public: virtual ~OutputMedia_stub(); CORBA::Boolean OutputText( const char* StringToPrint ); private: void operator=( const OutputMedia_stub& );};class OutputMedia_skel : virtual public MethodDispatcher, virtual public OutputMedia{ public: OutputMedia_skel( const CORBA::BOA::ReferenceData & = CORBA::BOA::ReferenceData() ); virtual ~OutputMedia_skel(); OutputMedia_skel( CORBA::Object_ptr obj ); virtual bool dispatch( CORBA::ServerRequest_ptr _req, CORBA::Environment &_env ); OutputMedia_ptr _this();};class POSTerminal;typedef POSTerminal *POSTerminal_ptr;typedef POSTerminal_ptr POSTerminalRef;typedef ObjVar<POSTerminal> POSTerminal_var;typedef POSTerminal_var POSTerminal_out;// Common definitions for interface POSTerminalclass POSTerminal : virtual public CORBA::Object{ public: virtual ~POSTerminal(); static POSTerminal_ptr _duplicate( POSTerminal_ptr obj ); static POSTerminal_ptr _narrow( CORBA::Object_ptr obj ); static POSTerminal_ptr _nil(); virtual void *_narrow_helper( const char *repoid ); static vector<CORBA::Narrow_proto> *_narrow_helpers; static bool _narrow_helper2( CORBA::Object_ptr obj ); virtual void Login() = 0; virtual void PrintPOSSalesSummary() = 0; virtual void PrintStoreSalesSummary() = 0; virtual void SendBarcode( const char* Item ) = 0; virtual void ItemQuantity( CORBA::Long Quantity ) = 0; virtual void EndOfSale() = 0; protected: POSTerminal() {}; private: POSTerminal( const POSTerminal& ); void operator=( const POSTerminal& );};MICO_EXPORT_VAR_DECL CORBA::TypeCodeConst _tc_POSTerminal;// Stub for interface POSTerminalclass POSTerminal_stub : virtual public POSTerminal{ public: virtual ~POSTerminal_stub(); void Login(); void PrintPOSSalesSummary(); void PrintStoreSalesSummary(); void SendBarcode( const char* Item ); void ItemQuantity( CORBA::Long Quantity ); void EndOfSale(); private: void operator=( const POSTerminal_stub& );};class POSTerminal_skel : virtual public MethodDispatcher, virtual public POSTerminal{ public: POSTerminal_skel( const CORBA::BOA::ReferenceData & = CORBA::BOA::ReferenceData() ); virtual ~POSTerminal_skel(); POSTerminal_skel( CORBA::Object_ptr obj ); virtual bool dispatch( CORBA::ServerRequest_ptr _req, CORBA::Environment &_env ); POSTerminal_ptr _this();};#endif // !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE_POS)#ifndef MICO_NO_TOPLEVEL_MODULES};#endif#if !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE__GLOBAL)CORBA::Boolean operator<<=( CORBA::Any &a, const POS::InputMedia_ptr obj );CORBA::Boolean operator>>=( const CORBA::Any &a, POS::InputMedia_ptr &obj );CORBA::Boolean operator<<=( CORBA::Any &a, const POS::OutputMedia_ptr obj );CORBA::Boolean operator>>=( const CORBA::Any &a, POS::OutputMedia_ptr &obj );CORBA::Boolean operator<<=( CORBA::Any &a, const POS::POSTerminal_ptr obj );CORBA::Boolean operator>>=( const CORBA::Any &a, POS::POSTerminal_ptr &obj );#endif // !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE__GLOBAL)#if !defined(MICO_NO_TOPLEVEL_MODULES) && !defined(MICO_IN_GENERATED_CODE)#include <mico/template_impl.h>#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -