00001
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 #ifndef RTC_h
00045 #define RTC_h
00046
00047 #include "rtm/config_rtc.h"
00048
00049 #ifdef ORB_IS_MICO
00050 #include <CORBA.h>
00051 #include <coss/CosNaming.h>
00052 #endif
00053
00054 #ifdef ORB_IS_TAO
00055 #include <tao/corba.h>
00056 #include <orbsvcs/CosNamingC.h>
00057 #endif
00058
00059 #ifdef ORB_IS_OMNIORB
00060 #undef PACKAGE_BUGREPORT
00061 #undef PACKAGE_NAME
00062 #undef PACKAGE_STRING
00063 #undef PACKAGE_TARNAME
00064 #undef PACKAGE_VERSION
00065 #include <omniORB4/CORBA.h>
00066 #include <omnithread.h>
00067 #endif
00068
00069
00070
00071 #ifdef WIN32
00072
00073
00074
00075
00076
00077
00078
00079 #define LINE_MAX 256
00080 BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved);
00081
00082 #else // WIN32
00083
00084 #define EXPORTS
00085 #define WINAPI
00086
00087 #endif // WIN32
00088
00089 #include "rtm/idl/OpenRTMSkel.h"
00090
00091
00092 #ifdef WIN32
00093 #define usleep(x) Sleep(x/1000);
00094 #endif // WIN32
00095
00096 #endif // RTC_h