RTC.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00019 #ifndef RTC_h
00020 #define RTC_h
00021 
00022 #include "rtm/config_rtc.h"
00023 
00024 #ifdef ORB_IS_MICO
00025 #include <CORBA.h>
00026 #include <coss/CosNaming.h>
00027 #include <rtm/idl/RTC.h>
00028 #endif
00029 
00030 #ifdef ORB_IS_TAO
00031 #include <tao/corba.h>
00032 #include <orbsvcs/CosNamingC.h>
00033 #endif
00034 
00035 #ifdef ORB_IS_OMNIORB
00036 #undef PACKAGE_BUGREPORT
00037 #undef PACKAGE_NAME
00038 #undef PACKAGE_STRING
00039 #undef PACKAGE_TARNAME
00040 #undef PACKAGE_VERSION
00041 #undef PACKAGE_TARNAME
00042 #include <omniORB4/CORBA.h>
00043 #include <omnithread.h>
00044 #endif
00045 
00046 #include "rtm/idl/OpenRTMSkel.h"
00047 
00048 #ifdef RTC_CORBA_CXXMAPPING11
00049 #define RefCountServantBase ServantBase
00050 #endif
00051 
00052 // for Windows DLL export 
00053 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
00054 #   define DLL_EXPORT __declspec(dllexport)
00055 #   define usleep(x) Sleep(x/1000);
00056 #   define LINE_MAX 256
00057 BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved);
00058 #else 
00059 #   define DLL_EXPORT 
00060 #   define WINAPI
00061 #endif /* Windows */
00062 
00063 
00064 
00065 
00066 
00067 #endif // RTC_h

Generated on Thu May 29 15:03:33 2008 for OpenRTM by  doxygen 1.5.3