OpenDDS::DCPS::InstanceHandleGenerator Class Reference

#include <InstanceHandle.h>

List of all members.

Public Member Functions

 InstanceHandleGenerator (long begin=HANDLE_UNKNOWN)
 ~InstanceHandleGenerator ()
DDS::InstanceHandle_t next ()

Private Attributes

ACE_Atomic_Op< ACE_Thread_Mutex,
long > 
sequence_


Detailed Description

Definition at line 23 of file InstanceHandle.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::InstanceHandleGenerator::InstanceHandleGenerator ( long  begin = HANDLE_UNKNOWN  )  [explicit]

Definition at line 17 of file InstanceHandle.cpp.

00018   : sequence_(begin)
00019 {
00020 }

OpenDDS::DCPS::InstanceHandleGenerator::~InstanceHandleGenerator (  ) 

Definition at line 22 of file InstanceHandle.cpp.

00023 {
00024 }


Member Function Documentation

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 }


Member Data Documentation

ACE_Atomic_Op<ACE_Thread_Mutex, long> OpenDDS::DCPS::InstanceHandleGenerator::sequence_ [private]

Definition at line 32 of file InstanceHandle.h.

Referenced by next().


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:06:19 2016 for OpenDDS by  doxygen 1.4.7