.. _program_listing_file__tmp_ws_src_fastrtps_include_fastdds_rtps_builtin_discovery_participant_PDPSimple.h: Program Listing for File PDPSimple.h ==================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/fastrtps/include/fastdds/rtps/builtin/discovery/participant/PDPSimple.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_BUILTIN_DISCOVERY_PARTICIPANT_PDPSIMPLE_H_ #define _FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT_PDPSIMPLE_H_ #ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC #include namespace eprosima { namespace fastrtps { namespace rtps { class StatelessWriter; class StatelessReader; class PDPSimple : public PDP { public: PDPSimple( BuiltinProtocols* builtin, const RTPSParticipantAllocationAttributes& allocation); virtual ~PDPSimple(); bool init( RTPSParticipantImpl* part) override; ParticipantProxyData* createParticipantProxyData( const ParticipantProxyData& p, const GUID_t& writer_guid) override; bool updateInfoMatchesEDP() override; void announceParticipantState( bool new_change, bool dispose = false, WriteParams& wparams = WriteParams::WRITE_PARAM_DEFAULT) override; void assignRemoteEndpoints( ParticipantProxyData* pdata) override; void removeRemoteEndpoints( ParticipantProxyData* pdata) override; void notifyAboveRemoteEndpoints( const ParticipantProxyData& pdata) override; bool newRemoteEndpointStaticallyDiscovered( const GUID_t& pguid, int16_t userDefinedId, EndpointKind_t kind); void update_builtin_locators() override; private: void initializeParticipantProxyData( ParticipantProxyData* participant_data) override; bool createPDPEndpoints() override; }; } /* namespace rtps */ } /* namespace fastrtps */ } /* namespace eprosima */ #endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC #endif //_FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT_PDPSIMPLE_H_