OpenDDS::DCPS::DomainParticipantImpl::RepoIdSequence Class Reference

#include <DomainParticipantImpl.h>

Collaboration diagram for OpenDDS::DCPS::DomainParticipantImpl::RepoIdSequence:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RepoIdSequence (RepoId &base)
RepoId next ()

Private Attributes

RepoId base_
long serial_
GuidBuilder builder_

Detailed Description

Definition at line 90 of file DomainParticipantImpl.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::DomainParticipantImpl::RepoIdSequence::RepoIdSequence ( RepoId base  )  [explicit]

Definition at line 1761 of file DomainParticipantImpl.cpp.

01761                                                                 :
01762   base_(base),
01763   serial_(0),
01764   builder_(base_)
01765 {
01766 }


Member Function Documentation

RepoId OpenDDS::DCPS::DomainParticipantImpl::RepoIdSequence::next (  ) 

Definition at line 1769 of file DomainParticipantImpl.cpp.

References builder_, OpenDDS::DCPS::GuidBuilder::entityKey(), and serial_.

Referenced by OpenDDS::DCPS::DomainParticipantImpl::create_publisher().

01770 {
01771   builder_.entityKey(++serial_);
01772   return builder_;
01773 }


Member Data Documentation

RepoId OpenDDS::DCPS::DomainParticipantImpl::RepoIdSequence::base_ [private]

Definition at line 95 of file DomainParticipantImpl.h.

GuidBuilder OpenDDS::DCPS::DomainParticipantImpl::RepoIdSequence::builder_ [private]

Definition at line 97 of file DomainParticipantImpl.h.

Referenced by next().

long OpenDDS::DCPS::DomainParticipantImpl::RepoIdSequence::serial_ [private]

Definition at line 96 of file DomainParticipantImpl.h.

Referenced by next().


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