Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MagellanMC.h

Go to the documentation of this file.
00001 
00002 //
00003 //       Title           : MagellanMC.hpp
00004 //       Project         : D&D
00005 //       Created         : Tuesday May 18, 1999
00006 //       Author          : Chalongrath Pholsiri
00007 //       Platforms       : WIN32                        
00008 //       Copyright       : The University of Texas at Austin
00009 //                         All Rights Reserved.
00010 //       Access          : Company Confidential
00011 //       Purpose         : Magellan listener            
00012 //
00013 //-------------------------------------------------------------------------
00014 //
00015 //       Classes:
00016 //               MagellanMC
00017 //
00018 //       Global Functions:
00019 //               <none>
00020 //
00021 //       Global Variables:
00022 //               <none>
00023 //
00024 //-------------------------------------------------------------------------
00025 //
00026 //       $Revisions$
00027 //          
00028 //
00029 //       $Log: MagellanMC.h,v $
00030 //       Revision 1.3  2005/03/14 21:54:07  pmarch
00031 //       Added to namespace OSCAR and removed "RR" from front of class names.
00032 //
00033 //       Revision 1.2  2004/05/27 19:24:05  pmarch
00034 //       Added /defgroup and /ingroup tags.
00035 //
00036 //       Revision 1.1  2003/08/18 21:23:27  pmarch
00037 //       Initial commit of ManualController
00038 //
00039 //
00041 
00042 #ifndef MagellanMC_h
00043 #define MagellanMC_h
00044 
00045 //=========================================================================
00046 //      Includes
00047 //=========================================================================
00048 
00049 #include "DeltaMC.h"
00050 
00052 namespace OSCAR {
00053 
00058   class MagellanMC: public DeltaMC
00059   {
00060   public:
00061           // constructor
00062           MagellanMC(MC_TYPE type = LOCAL, 
00063                                   const String& IP = String(LISA_IP_ADDRESS),
00064                                   const HandPose& startingHand = HandPose(),
00065                       const String& name = String(" "));
00066 
00067           // destructor
00068           ~MagellanMC();
00069 
00070           int Initialize();
00071           int GetPacketFromMC();
00072 
00073   protected:
00074           HANDLE        hMap;                   // handle to the file-mapping object
00075           LPVOID        lpvShared;              // pointer to the shared memory
00076   };
00077 
00078 }
00079 #endif // MagellanMC_h
RRG Homepage OSCAR Overview OSCAR Tutorials Simulations