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 fastdds::rtps::PublicationBuiltinTopicData& info,
bool& should_be_ignored) override;

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

protected:

//! Copy of Type Object Internal Reader
Expand All @@ -120,6 +114,7 @@ class DynTypesParticipant : public rtps::SimpleParticipant
protected:

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

//! Type Object Internal Reader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ std::shared_ptr<IReader> DynTypesParticipant::create_reader(
// If type object topic, return the internal reader for type objects
if (core::types::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