win32/coil/UUID.h
Go to the documentation of this file.
1 // -*- C++ -*-
20 #ifndef COIL_UUID_H
21 #define COIL_UUID_H
22 
23 #include <rpc.h>
24 
25 namespace coil
26 {
27 #ifdef uuid_t
28 #undef uuid_t
29  typedef ::GUID uuid_t;
30 #endif
31  //------------------------------------------------------------
32  // UUID class
33  //------------------------------------------------------------
43  class UUID
44  {
45  public:
55  UUID();
56 
66  UUID(const uuid_t& uuid);
67 
77  ~UUID();
78 
88  const char* to_string();
89 
90  private:
91  uuid_t m_uuid;
92  char* m_uuidstr;
93  }; // class UUID
94 
95 
96  //------------------------------------------------------------
97  // UUID_Generator class
98  //------------------------------------------------------------
108  class UUID_Generator
109  {
110  public:
120  UUID_Generator();
121 
131  ~UUID_Generator();
132 
142  void init();
143 
161  coil::UUID* generateUUID(int n, int h);
162  }; // class UUID_Generator
163 }; // coil
164 
165 #endif // COIL_UUID_H
UUID()
UUID class constructor.
UUID value class.
char * m_uuidstr
const char * to_string()
Converting from UUID value to string.
~UUID()
UUID class destructor.
Common Object Interface Layer.


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:56