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_RTORB
00036 #include <RtORB/cdrStream.h>
00037 #endif // ORB_IS_RTORB
00038 
00039 #ifdef ORB_IS_OMNIORB
00040 
00041 #ifdef WIN32
00042 #pragma warning( disable : 4267 )
00043 #pragma warning( disable : 4290 )
00044 #pragma warning( disable : 4311 )
00045 #pragma warning( disable : 4312 )
00046 #endif // WIN32
00047 
00048 #include <omniORB4/CORBA.h>
00049 #include <omnithread.h>
00050 
00051 #ifdef WIN32
00052 #pragma warning( default : 4267 )
00053 #pragma warning( default : 4290 )
00054 #pragma warning( default : 4311 )
00055 #pragma warning( default : 4312 )
00056 #endif // WIN32
00057 
00058 #endif // ORB_IS_OMNIORB
00059 
00060 #include <rtm/idl/OpenRTMSkel.h>
00061 
00062 #ifdef RTC_CORBA_CXXMAPPING11
00063 #define RefCountServantBase ServantBase
00064 #endif
00065 
00066 // for Windows DLL export 
00067 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
00068 #   define DLL_EXPORT __declspec(dllexport)
00069 // #   define usleep(x) Sleep(x/1000);
00070 // #   define LINE_MAX 256
00071 BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved);
00072 #else 
00073 #   define DLL_EXPORT 
00074 #   define WINAPI
00075 #endif /* Windows */
00076 
00077 
00078 //#if defined(COMPAT_OPENRTM_0_4)
00079 #include <coil/Properties.h>
00080 
00081 namespace RTC
00082 {
00083   typedef coil::Properties Properties;
00084 };
00085 
00086 //#endif // COMPAT_OPENRTM_0_4
00087 
00088 #endif // RTC_H


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:38