LCOV - code coverage report
Current view: top level - DCPS - ReadConditionImpl.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 11 0.0 %
Date: 2023-04-30 01:32:43 Functions: 0 5 0.0 %

          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             : #include "ReadConditionImpl.h"
      10             : #include "DataReaderImpl.h"
      11             : 
      12             : OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
      13             : 
      14             : namespace OpenDDS {
      15             : namespace DCPS {
      16             : 
      17           0 : CORBA::Boolean ReadConditionImpl::get_trigger_value()
      18             : {
      19           0 :   return parent_->contains_sample(sample_states_,
      20           0 :                                   view_states_, instance_states_);
      21             : }
      22             : 
      23           0 : DDS::SampleStateMask ReadConditionImpl::get_sample_state_mask()
      24             : {
      25           0 :   return sample_states_;
      26             : }
      27             : 
      28           0 : DDS::ViewStateMask ReadConditionImpl::get_view_state_mask()
      29             : {
      30           0 :   return view_states_;
      31             : }
      32             : 
      33           0 : DDS::InstanceStateMask ReadConditionImpl::get_instance_state_mask()
      34             : {
      35           0 :   return instance_states_;
      36             : }
      37             : 
      38           0 : DDS::DataReader_ptr ReadConditionImpl::get_datareader()
      39             : {
      40           0 :   return DDS::DataReader::_duplicate(parent_);
      41             : }
      42             : 
      43             : } // namespace DCPS
      44             : } // namespace OpenDDS
      45             : 
      46             : OPENDDS_END_VERSIONED_NAMESPACE_DECL

Generated by: LCOV version 1.16