UUID.h
Go to the documentation of this file.
00001 // -*- C++ -*-
00020 #ifndef COIL_UUID_H
00021 #define COIL_UUID_H
00022 
00023 #include <coil/config_coil.h>
00024 #if defined (WIN32)
00025 #pragma warning( disable : 4244 ) 
00026 #pragma warning( disable : 4312 ) 
00027 #endif
00028 #include <ace/UUID.h>
00029 #if defined (WIN32)
00030 #pragma warning( default : 4244 ) 
00031 #pragma warning( default : 4312 ) 
00032 #endif
00033 
00034 namespace coil
00035 {
00036   typedef ACE_Utils::UUID UUID;
00037 
00038   class UUID_Generator
00039     : public ACE_Utils::UUID_Generator
00040   {
00041   public:
00042     UUID_Generator() : ACE_Utils::UUID_Generator() {};
00043 #ifndef ACE_5_6_1_OR_EARLIER  
00044     coil::UUID*
00045     generateUUID(ACE_UINT16 version=0x0001, u_char variant=0x80)
00046     {
00047       return ACE_Utils::UUID_Generator::generate_UUID(version, variant);
00048     }
00049 #endif
00050   };
00051 };
00052 #endif // COIL_UUID_H


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:17