Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ class DynTypesParticipant : public rtps::SimpleParticipant
const eprosima::fastrtps::string_255 type_name,
const eprosima::fastrtps::types::TypeInformation& type_information) override;

//! Type Object Reader getter
inline std::shared_ptr<InternalReader> type_object_reader() const
{
return type_object_reader_;
}

protected:

void internal_notify_type_object_(
Expand All @@ -124,6 +118,7 @@ class DynTypesParticipant : public rtps::SimpleParticipant
std::shared_ptr<InternalReader> type_object_reader_;

//! Override method from \c CommonParticipant to create the internal RTPS participant listener
DDSPIPE_PARTICIPANTS_DllAPI
std::unique_ptr<fastrtps::rtps::RTPSParticipantListener> create_listener_() override;

};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ std::shared_ptr<IReader> DynTypesParticipant::create_reader(
// If type object topic, return the internal reader for type objects
if (is_type_object_topic(topic))
{
return static_cast<DynTypesParticipant::DynTypesRtpsListener*>(rtps_participant_listener_.get())->
type_object_reader();
return type_object_reader_;
}

// If not type object, use the parent method
Expand Down
Loading