#include <InstanceHandle.h>
Public Member Functions | |
InstanceHandleGenerator (long begin=HANDLE_UNKNOWN) | |
~InstanceHandleGenerator () | |
DDS::InstanceHandle_t | next () |
Private Attributes | |
ACE_Atomic_Op< ACE_Thread_Mutex, long > | sequence_ |
Definition at line 23 of file InstanceHandle.h.
OpenDDS::DCPS::InstanceHandleGenerator::InstanceHandleGenerator | ( | long | begin = HANDLE_UNKNOWN |
) | [explicit] |
OpenDDS::DCPS::InstanceHandleGenerator::~InstanceHandleGenerator | ( | ) |
DDS::InstanceHandle_t OpenDDS::DCPS::InstanceHandleGenerator::next | ( | ) |
Definition at line 27 of file InstanceHandle.cpp.
References sequence_.
Referenced by OpenDDS::DCPS::DomainParticipantImpl::create_publisher(), OpenDDS::DCPS::DomainParticipantImpl::create_subscriber(), and OpenDDS::DCPS::DomainParticipantImpl::id_to_handle().
00028 { 00029 return ++sequence_; 00030 }
ACE_Atomic_Op<ACE_Thread_Mutex, long> OpenDDS::DCPS::InstanceHandleGenerator::sequence_ [private] |