Skip to content

Commit

Permalink
Remove print methods
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Apr 7, 2023
1 parent d871af0 commit 30210a2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 28 deletions.
4 changes: 0 additions & 4 deletions rclcpp/include/rclcpp/dynamic_typesupport/dynamic_message.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,6 @@ class DynamicMessage : public std::enable_shared_from_this<DynamicMessage>
void
remove_sequence_data(rosidl_dynamic_typesupport_member_id_t index);

RCLCPP_PUBLIC
void
print() const;

RCLCPP_PUBLIC
bool
serialize(rcl_serialized_message_t * buffer);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,6 @@ class DynamicMessageTypeSupport : public std::enable_shared_from_this<DynamicMes
DynamicMessage::ConstSharedPtr
get_shared_dynamic_message() const;


// METHODS =======================================================================================
RCLCPP_PUBLIC
void
print_description() const;

protected:
RCLCPP_DISABLE_COPY(DynamicMessageTypeSupport)

Expand Down
7 changes: 0 additions & 7 deletions rclcpp/src/rclcpp/dynamic_typesupport/dynamic_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,13 +539,6 @@ DynamicMessage::remove_sequence_data(rosidl_dynamic_typesupport_member_id_t inde
}


void
DynamicMessage::print() const
{
rosidl_dynamic_typesupport_dynamic_data_print(get_rosidl_dynamic_data());
}


bool
DynamicMessage::serialize(rcl_serialized_message_t * buffer)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,3 @@ DynamicMessageTypeSupport::get_shared_dynamic_message() const
{
return dynamic_message_;
}


// METHODS =========================================================================================
void
DynamicMessageTypeSupport::print_description() const
{
if (!description_) {
RCUTILS_LOG_ERROR("Can't print description, no bound description.");
}
rosidl_runtime_c_type_description_utils_print_type_description(description_.get());
}

0 comments on commit 30210a2

Please sign in to comment.