.. _program_listing_file__tmp_ws_src_fastrtps_include_fastdds_rtps_builtin_discovery_endpoint_EDPStatic.h: Program Listing for File EDPStatic.h ==================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/fastrtps/include/fastdds/rtps/builtin/discovery/endpoint/EDPStatic.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #ifndef _FASTDDS_RTPS_EDPSTATIC_H_ #define _FASTDDS_RTPS_EDPSTATIC_H_ #ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC #include namespace eprosima { namespace fastrtps { namespace xmlparser { class XMLEndpointParser; } // namespace xmlparser namespace rtps { class EDPStatic : public EDP { public: enum class ExchangeFormat : uint32_t { v1, v1_Reduced }; EDPStatic( PDP* p, RTPSParticipantImpl* part); virtual ~EDPStatic(); bool initEDP( BuiltinAttributes& attributes) override; void assignRemoteEndpoints( const ParticipantProxyData& pdata) override; bool removeLocalReader( RTPSReader* R) override; bool removeLocalWriter( RTPSWriter* W) override; bool processLocalReaderProxyData( RTPSReader* reader, ReaderProxyData* rdata) override; bool processLocalWriterProxyData( RTPSWriter* writer, WriterProxyData* wdata) override; bool newRemoteWriter( const GUID_t& participant_guid, const string_255& participant_name, uint16_t user_id, EntityId_t ent_id = c_EntityId_Unknown, const GUID_t& persistence_guid = GUID_t::unknown()); bool newRemoteReader( const GUID_t& participant_guid, const string_255& participant_name, uint16_t user_id, EntityId_t ent_id = c_EntityId_Unknown); bool checkEntityId( ReaderProxyData* rdata); bool checkEntityId( WriterProxyData* wdata); private: xmlparser::XMLEndpointParser* mp_edpXML; BuiltinAttributes m_attributes; ExchangeFormat exchange_format_ = ExchangeFormat::v1; }; } // namespace rtps } /* namespace rtps */ } /* namespace eprosima */ #endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC #endif /* _FASTDDS_RTPS_EDPSTATIC_H_ */