//## begin module%1.4%.codegen_version preserve=yes // Read the documentation to learn more about C++ code generator // versioning. //## end module%1.4%.codegen_version //## begin module%3D86D4470262.cm preserve=no // %X% %Q% %Z% %W% //## end module%3D86D4470262.cm //## begin module%3D86D4470262.cp preserve=no //## end module%3D86D4470262.cp //## Module: Keyboard%3D86D4470262; Pseudo Package body //## Source file: C:\Program Files\Rational\Rose\C++\source\Keyboard.cpp //## begin module%3D86D4470262.additionalIncludes preserve=no //## end module%3D86D4470262.additionalIncludes //## begin module%3D86D4470262.includes preserve=yes #include "eyebot.h" //## end module%3D86D4470262.includes // Keyboard #include "Keyboard.h" //## begin module%3D86D4470262.additionalDeclarations preserve=yes //## end module%3D86D4470262.additionalDeclarations // Class Keyboard //## begin Keyboard::KEY_1%3D9AA04C01FE.attr preserve=no public: static int {UC} KEY1 const int Keyboard::KEY_1 = KEY1; //## end Keyboard::KEY_1%3D9AA04C01FE.attr //## begin Keyboard::KEY_2%3D9AA06F03AC.attr preserve=no public: static int {UC} KEY2 const int Keyboard::KEY_2 = KEY2; //## end Keyboard::KEY_2%3D9AA06F03AC.attr //## begin Keyboard::KEY_3%3D9AA0700064.attr preserve=no public: static int {UC} KEY3 const int Keyboard::KEY_3 = KEY3; //## end Keyboard::KEY_3%3D9AA0700064.attr //## begin Keyboard::KEY_4%3D9AA070010E.attr preserve=no public: static int {UC} KEY4 const int Keyboard::KEY_4 = KEY4; //## end Keyboard::KEY_4%3D9AA070010E.attr Keyboard::Keyboard() //## begin Keyboard::Keyboard%3D86D4470262_const.hasinit preserve=no //## end Keyboard::Keyboard%3D86D4470262_const.hasinit //## begin Keyboard::Keyboard%3D86D4470262_const.initialization preserve=yes //## end Keyboard::Keyboard%3D86D4470262_const.initialization { //## begin Keyboard::Keyboard%3D86D4470262_const.body preserve=yes //## end Keyboard::Keyboard%3D86D4470262_const.body } //## Other Operations (implementation) void Keyboard::waitFor (int key) { //## begin Keyboard::waitFor%3D92911B0294.body preserve=yes //need Keyboard::ANY_KEY KEYWait(key); //## end Keyboard::waitFor%3D92911B0294.body } int Keyboard::getKey () { //## begin Keyboard::getKey%3D9291270212.body preserve=yes return KEYGet(); //## end Keyboard::getKey%3D9291270212.body } int Keyboard::readKey () { //## begin Keyboard::readKey%3D92913803DE.body preserve=yes //need Keyboard::NO_KEY return KEYRead(); //## end Keyboard::readKey%3D92913803DE.body } // Additional Declarations //## begin Keyboard%3D86D4470262.declarations preserve=yes //## end Keyboard%3D86D4470262.declarations //## begin module%3D86D4470262.epilog preserve=yes //## end module%3D86D4470262.epilog