LCOV - code coverage report
Current view: top level - DCPS - Marked_Default_Qos.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 33 0.0 %
Date: 2023-04-30 01:32:43 Functions: 0 8 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 "Marked_Default_Qos.h"
      10             : #include "Service_Participant.h"
      11             : 
      12             : OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
      13             : 
      14             : namespace OpenDDS {
      15             : namespace DCPS {
      16             : 
      17             : int const INVALID_ENUM_VALUE = 999;
      18             : 
      19             : DDS::DomainParticipantQos
      20           0 : Marked_Default_Qos::marked_default_DomainParticipantQos()
      21             : {
      22             :   DDS::DomainParticipantQos qos =
      23           0 :     TheServiceParticipant->initial_DomainParticipantQos();
      24           0 :   void* const mem = &qos.entity_factory.autoenable_created_entities;
      25           0 :   *static_cast<char*>(mem) = 3;
      26           0 :   return qos;
      27             : }
      28             : 
      29             : DDS::TopicQos
      30           0 : Marked_Default_Qos::marked_default_TopicQos()
      31             : {
      32           0 :   DDS::TopicQos qos = TheServiceParticipant->initial_TopicQos();
      33             :   qos.liveliness.kind
      34           0 :   = static_cast<DDS::LivelinessQosPolicyKind>(
      35             :       INVALID_ENUM_VALUE);
      36           0 :   return qos;
      37             : }
      38             : 
      39             : DDS::DataWriterQos
      40           0 : Marked_Default_Qos::marked_default_DataWriterQos()
      41             : {
      42           0 :   DDS::DataWriterQos qos = TheServiceParticipant->initial_DataWriterQos();
      43             :   qos.liveliness.kind
      44           0 :   = static_cast<DDS::LivelinessQosPolicyKind>(
      45             :       INVALID_ENUM_VALUE);
      46           0 :   return qos;
      47             : }
      48             : 
      49             : DDS::PublisherQos
      50           0 : Marked_Default_Qos::marked_default_PublisherQos()
      51             : {
      52           0 :   DDS::PublisherQos qos = TheServiceParticipant->initial_PublisherQos();
      53             :   qos.presentation.access_scope
      54           0 :   = static_cast<DDS::PresentationQosPolicyAccessScopeKind>(
      55             :       INVALID_ENUM_VALUE);
      56           0 :   return qos;
      57             : }
      58             : 
      59             : DDS::DataReaderQos
      60           0 : Marked_Default_Qos::marked_default_DataReaderQos()
      61             : {
      62           0 :   DDS::DataReaderQos qos = TheServiceParticipant->initial_DataReaderQos();
      63             :   qos.liveliness.kind
      64           0 :   = static_cast<DDS::LivelinessQosPolicyKind>(
      65             :       INVALID_ENUM_VALUE);
      66           0 :   return qos;
      67             : }
      68             : 
      69             : DDS::SubscriberQos
      70           0 : Marked_Default_Qos::marked_default_SubscriberQos()
      71             : {
      72           0 :   DDS::SubscriberQos qos = TheServiceParticipant->initial_SubscriberQos();
      73             :   qos.presentation.access_scope
      74           0 :   = static_cast<DDS::PresentationQosPolicyAccessScopeKind>(
      75             :       INVALID_ENUM_VALUE);
      76           0 :   return qos;
      77             : }
      78             : 
      79             : DDS::DataWriterQos
      80           0 : Marked_Default_Qos::marked_default_DataWriter_Use_TopicQos()
      81             : {
      82           0 :   DDS::DataWriterQos qos = TheServiceParticipant->initial_DataWriterQos();
      83             :   qos.durability.kind
      84           0 :   = static_cast<DDS::DurabilityQosPolicyKind>(
      85             :       INVALID_ENUM_VALUE);
      86           0 :   return qos;
      87             : }
      88             : 
      89             : DDS::DataReaderQos
      90           0 : Marked_Default_Qos::marked_default_DataReader_Use_TopicQos()
      91             : {
      92           0 :   DDS::DataReaderQos qos = TheServiceParticipant->initial_DataReaderQos();
      93             :   qos.durability.kind
      94           0 :   = static_cast<DDS::DurabilityQosPolicyKind>(
      95             :       INVALID_ENUM_VALUE);
      96           0 :   return qos;
      97             : }
      98             : 
      99             : } // namespace DCPS
     100             : } // namespace OpenDDS
     101             : 
     102             : OPENDDS_END_VERSIONED_NAMESPACE_DECL

Generated by: LCOV version 1.16