ParameterListConverter.h

Go to the documentation of this file.
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 #include "dds/DCPS/RTPS/RtpsSecurityC.h"
00013 
00014 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
00015 
00016 namespace OpenDDS {
00017 namespace RTPS {
00018 
00019 #if defined(OPENDDS_SECURITY)
00020 struct DiscoveredWriterData_SecurityWrapper;
00021 struct DiscoveredReaderData_SecurityWrapper;
00022 #endif
00023 
00024 namespace ParameterListConverter {
00025 
00026 // DDS::ParticipantBuiltinTopicData
00027 
00028 OpenDDS_Rtps_Export
00029 int to_param_list(const DDS::ParticipantBuiltinTopicData& pbtd,
00030                   ParameterList& param_list);
00031 
00032 OpenDDS_Rtps_Export
00033 int from_param_list(const ParameterList& param_list,
00034                     DDS::ParticipantBuiltinTopicData& pbtd);
00035 
00036 #if defined(OPENDDS_SECURITY)
00037 // DDS::Security::ParticipantBuiltinTopicData
00038 
00039 OpenDDS_Rtps_Export
00040 int to_param_list(const DDS::Security::ParticipantBuiltinTopicData& pbtd,
00041                   ParameterList& param_list);
00042 
00043 OpenDDS_Rtps_Export
00044 int from_param_list(const ParameterList& param_list,
00045                     DDS::Security::ParticipantBuiltinTopicData& pbtd);
00046 
00047 // DDS::Security::ParticipantBuiltinTopicDataSecure
00048 
00049 OpenDDS_Rtps_Export
00050 int to_param_list(const DDS::Security::ParticipantBuiltinTopicDataSecure& pbtds,
00051                   ParameterList& param_list);
00052 
00053 OpenDDS_Rtps_Export
00054 int from_param_list(const ParameterList& param_list,
00055                     DDS::Security::ParticipantBuiltinTopicDataSecure& pbtds);
00056 #endif
00057 
00058 // OpenDDS::RTPS::ParticipantProxy_t
00059 
00060 OpenDDS_Rtps_Export
00061 int to_param_list(const ParticipantProxy_t& proxy,
00062                   ParameterList& param_list);
00063 
00064 OpenDDS_Rtps_Export
00065 int from_param_list(const ParameterList& param_list,
00066                     ParticipantProxy_t& proxy);
00067 
00068 // OpenDDS::RTPS::Duration_t
00069 
00070 OpenDDS_Rtps_Export
00071 int to_param_list(const Duration_t& duration,
00072                   ParameterList& param_list);
00073 
00074 OpenDDS_Rtps_Export
00075 int from_param_list(const ParameterList& param_list,
00076                     Duration_t& duration);
00077 
00078 // OpenDDS::RTPS::SPDPdiscoveredParticipantData
00079 
00080 OpenDDS_Rtps_Export
00081 int to_param_list(const SPDPdiscoveredParticipantData& participant_data,
00082                   ParameterList& param_list);
00083 
00084 OpenDDS_Rtps_Export
00085 int from_param_list(const ParameterList& param_list,
00086                     SPDPdiscoveredParticipantData& participant_data);
00087 
00088 // OpenDDS::Security::SPDPdiscoveredParticipantData
00089 
00090 OpenDDS_Rtps_Export
00091 int to_param_list(const OpenDDS::Security::SPDPdiscoveredParticipantData& participant_data,
00092                   ParameterList& param_list);
00093 
00094 OpenDDS_Rtps_Export
00095 int from_param_list(const ParameterList& param_list,
00096                     OpenDDS::Security::SPDPdiscoveredParticipantData& participant_data);
00097 
00098 // OpenDDS::DCPS::DiscoveredWriterData
00099 
00100 OpenDDS_Rtps_Export
00101 int to_param_list(const DCPS::DiscoveredWriterData& writer_data,
00102                   ParameterList& param_list,
00103                   bool map = false /*map IPV4 to IPV6 addr*/);
00104 
00105 OpenDDS_Rtps_Export
00106 int from_param_list(const ParameterList& param_list,
00107                    DCPS::DiscoveredWriterData& writer_data);
00108 
00109 // OpenDDS::DCPS::DiscoveredReaderData
00110 
00111 OpenDDS_Rtps_Export
00112 int to_param_list(const DCPS::DiscoveredReaderData& reader_data,
00113                   ParameterList& param_list,
00114                   bool map = false /*map IPV4 to IPV6 addr*/);
00115 
00116 OpenDDS_Rtps_Export
00117 int from_param_list(const ParameterList& param_list,
00118                    DCPS::DiscoveredReaderData& reader_data);
00119 
00120 // DDS::Security::EndpointSecurityInfo
00121 
00122 OpenDDS_Rtps_Export
00123 int to_param_list(const DDS::Security::EndpointSecurityInfo& info,
00124                   ParameterList& param_list);
00125 
00126 OpenDDS_Rtps_Export
00127 int from_param_list(const ParameterList& param_list,
00128                     DDS::Security::EndpointSecurityInfo& info);
00129 
00130 // DDS::Security::DataTags& data_tags
00131 
00132 OpenDDS_Rtps_Export
00133 int to_param_list(const DDS::Security::DataTags& tags,
00134                   ParameterList& param_list);
00135 
00136 OpenDDS_Rtps_Export
00137 int from_param_list(const ParameterList& param_list,
00138                     DDS::Security::DataTags& tags);
00139 
00140 #if defined(OPENDDS_SECURITY)
00141 // DiscoveredWriterData_SecurityWrapper
00142 
00143 OpenDDS_Rtps_Export
00144 int to_param_list(const DiscoveredWriterData_SecurityWrapper& wrapper,
00145                   ParameterList& param_list,
00146                   bool map = false /*map IPV4 to IPV6 addr*/);
00147 
00148 OpenDDS_Rtps_Export
00149 int from_param_list(const ParameterList& param_list,
00150                    DiscoveredWriterData_SecurityWrapper& wrapper);
00151 
00152 // DiscoveredReaderData_SecurityWrapper
00153 
00154 OpenDDS_Rtps_Export
00155 int to_param_list(const DiscoveredReaderData_SecurityWrapper& wrapper,
00156                   ParameterList& param_list,
00157                   bool map = false /*map IPV4 to IPV6 addr*/);
00158 
00159 OpenDDS_Rtps_Export
00160 int from_param_list(const ParameterList& param_list,
00161                    DiscoveredReaderData_SecurityWrapper& wrapper);
00162 #endif
00163 
00164 }
00165 }
00166 }
00167 
00168 OPENDDS_END_VERSIONED_NAMESPACE_DECL
00169 
00170 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1