00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/ 00009 00010 #include "dds/DdsDcpsGuidC.h" 00011 00012 #include "InstanceHandle.h" 00013 00014 namespace OpenDDS { 00015 namespace DCPS { 00016 00017 InstanceHandleGenerator::InstanceHandleGenerator(long begin) 00018 : sequence_(begin) 00019 { 00020 } 00021 00022 InstanceHandleGenerator::~InstanceHandleGenerator() 00023 { 00024 } 00025 00026 DDS::InstanceHandle_t 00027 InstanceHandleGenerator::next() 00028 { 00029 return ++sequence_; 00030 } 00031 00032 } // namespace DCPS 00033 } // namespace OpenDDS