RtpsDiscovery.cpp File Reference

#include "RtpsDiscovery.h"
#include "dds/DCPS/Service_Participant.h"
#include "dds/DCPS/ConfigUtils.h"
#include "dds/DCPS/DomainParticipantImpl.h"
#include "dds/DCPS/SubscriberImpl.h"
#include "dds/DCPS/Marked_Default_Qos.h"
#include "dds/DCPS/BuiltInTopicUtils.h"
#include "dds/DCPS/Registered_Data_Types.h"
#include "dds/DdsDcpsInfoUtilsC.h"
#include "ace/Reactor.h"
#include "ace/Select_Reactor.h"
#include <cstdlib>

Include dependency graph for RtpsDiscovery.cpp:

Go to the source code of this file.

Namespaces

namespace  OpenDDS
namespace  OpenDDS::RTPS

Functions

u_short get_default_d0 (u_short fallback)

Variables

const ACE_TCHAR OpenDDS::RTPS::RTPS_SECTION_NAME [] = ACE_TEXT("rtps_discovery")


Function Documentation

u_short @33::get_default_d0 ( u_short  fallback  )  [static]

Definition at line 25 of file RtpsDiscovery.cpp.

00026   {
00027 #if !defined ACE_LACKS_GETENV && !defined ACE_LACKS_ENV
00028     const char* from_env = std::getenv("OPENDDS_RTPS_DEFAULT_D0");
00029     if (from_env) {
00030       return static_cast<u_short>(std::atoi(from_env));
00031     }
00032 #endif
00033     return fallback;
00034   }


Generated on Fri Feb 12 20:05:42 2016 for OpenDDS by  doxygen 1.4.7