LCOV - code coverage report
Current view: top level - DCPS - InstanceHandle.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 5 7 71.4 %
Date: 2023-04-30 01:32:43 Functions: 2 3 66.7 %

          Line data    Source code
       1             : /*
       2             :  *
       3             :  *
       4             :  * Distributed under the OpenDDS License.
       5             :  * See: http://www.opendds.org/license.html
       6             :  */
       7             : 
       8             : #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/
       9             : 
      10             : #include "dds/DdsDcpsGuidC.h"
      11             : 
      12             : #include "InstanceHandle.h"
      13             : 
      14             : OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
      15             : 
      16             : namespace OpenDDS {
      17             : namespace DCPS {
      18             : 
      19           9 : InstanceHandleGenerator::InstanceHandleGenerator(long begin)
      20           9 :   : sequence_(begin)
      21             : {
      22           9 : }
      23             : 
      24           9 : InstanceHandleGenerator::~InstanceHandleGenerator()
      25             : {
      26           9 : }
      27             : 
      28             : DDS::InstanceHandle_t
      29           0 : InstanceHandleGenerator::next()
      30             : {
      31           0 :   return ++sequence_;
      32             : }
      33             : 
      34             : } // namespace DCPS
      35             : } // namespace OpenDDS
      36             : 
      37             : OPENDDS_END_VERSIONED_NAMESPACE_DECL

Generated by: LCOV version 1.16