00001 /* 00002 * 00003 * Distributed under the OpenDDS License. 00004 * See: http://www.opendds.org/license.html 00005 */ 00006 00007 #ifndef PARAMETER_LIST_CONVERTER_H 00008 #define PARAMETER_LIST_CONVERTER_H 00009 00010 #include "dds/DCPS/RTPS/rtps_export.h" 00011 #include "dds/DCPS/RTPS/RtpsCoreC.h" 00012 00013 namespace OpenDDS { namespace RTPS { 00014 00015 namespace ParameterListConverter { 00016 OpenDDS_Rtps_Export 00017 int to_param_list(const SPDPdiscoveredParticipantData& participant_data, 00018 ParameterList& param_list); 00019 OpenDDS_Rtps_Export 00020 int to_param_list(const OpenDDS::DCPS::DiscoveredWriterData& writer_data, 00021 ParameterList& param_list, bool map = false /*map IPV4 to IPV6 addr*/); 00022 OpenDDS_Rtps_Export 00023 int to_param_list(const OpenDDS::DCPS::DiscoveredReaderData& writer_data, 00024 ParameterList& param_list, bool map = false /*map IPV4 to IPV6 addr*/); 00025 OpenDDS_Rtps_Export 00026 int from_param_list(const ParameterList& param_list, 00027 SPDPdiscoveredParticipantData& participant_data); 00028 OpenDDS_Rtps_Export 00029 int from_param_list(const ParameterList& param_list, 00030 OpenDDS::DCPS::DiscoveredWriterData& writer_data); 00031 OpenDDS_Rtps_Export 00032 int from_param_list(const ParameterList& param_list, 00033 OpenDDS::DCPS::DiscoveredReaderData& writer_data); 00034 } 00035 } } 00036 00037 #endif