OpenDDS  Snapshot(2023/04/28-20:55)
GuidBuilder.inl
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
9 
10 namespace OpenDDS {
11 namespace DCPS {
12 
13 ACE_INLINE void
14 GuidBuilder::entityId(long entityId)
15 {
16  entityKey(entityId >> 8);
17  entityKind(static_cast<CORBA::Octet>(0xff & entityId));
18 }
19 
21 GuidBuilder::operator GUID_t()
22 {
23  return guid_;
24 }
25 
26 } // namespace DCPS
27 } // namespace OpenDDS
28 
void entityKind(CORBA::Octet entityKind)
void entityKey(long entityKey)
Definition: GuidBuilder.cpp:96
void entityId(EntityId_t entityId)
Definition: GuidBuilder.cpp:90
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define ACE_INLINE
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28