Skip to content

Commit

Permalink
Add internal builtin topics as DdsTopic(s) (#60)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Lopez Fernandez <[email protected]>
  • Loading branch information
juanlofer-eprosima authored Nov 23, 2023
1 parent 76bd140 commit 1e3cc74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ std::shared_ptr<DdsPipe> create_pipe(

// Create a built-in topic to transmit endpoint information
ddspipe_configuration.builtin_topics.insert(
utils::Heritable<types::DistributedTopic>::make_heritable(
utils::Heritable<types::DdsTopic>::make_heritable(
spy::participants::endpoint_info_topic()));

std::shared_ptr<DdsPipe> pipe =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ std::shared_ptr<DdsPipe> create_pipe(

// Create a built-in topic to transmit participant information
ddspipe_configuration.builtin_topics.insert(
utils::Heritable<types::DistributedTopic>::make_heritable(
utils::Heritable<types::DdsTopic>::make_heritable(
spy::participants::participant_info_topic()));

std::shared_ptr<DdsPipe> pipe =
Expand Down
6 changes: 3 additions & 3 deletions fastddsspy_tool/src/cpp/tool/Backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ Backend::Backend(

// Create a built-in topic to transmit participant information
configuration_.ddspipe_configuration.builtin_topics.insert(
utils::Heritable<eprosima::ddspipe::core::types::DistributedTopic>::make_heritable(
utils::Heritable<eprosima::ddspipe::core::types::DdsTopic>::make_heritable(
spy::participants::participant_info_topic()));

// Create a built-in topic to transmit endpoint information
configuration_.ddspipe_configuration.builtin_topics.insert(
utils::Heritable<eprosima::ddspipe::core::types::DistributedTopic>::make_heritable(
utils::Heritable<eprosima::ddspipe::core::types::DdsTopic>::make_heritable(
spy::participants::endpoint_info_topic()));

// Create an internal topic to transmit the dynamic types
configuration_.ddspipe_configuration.builtin_topics.insert(
utils::Heritable<eprosima::ddspipe::core::types::DistributedTopic>::make_heritable(
utils::Heritable<eprosima::ddspipe::core::types::DdsTopic>::make_heritable(
eprosima::ddspipe::core::types::type_object_topic()));

if (!configuration_.ddspipe_configuration.allowlist.empty())
Expand Down

0 comments on commit 1e3cc74

Please sign in to comment.