AWViz-ROS
Loading...
Searching...
No Matches
image_display.hpp
Go to the documentation of this file.
1// Copyright 2024 Kotaro Uetake.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#ifndef AWVIZ_PLUGIN__IMAGE__IMAGE_DISPLAY_HPP_
16#define AWVIZ_PLUGIN__IMAGE__IMAGE_DISPLAY_HPP_
17
19
20#include <sensor_msgs/msg/image.hpp>
21
22namespace awviz_plugin
23{
27class ImageDisplay : public awviz_common::RosTopicDisplay<sensor_msgs::msg::Image>
28{
29public:
34
35protected:
36 void log_message(sensor_msgs::msg::Image::ConstSharedPtr msg) override;
37};
38} // namespace awviz_plugin
39
40#endif // AWVIZ_PLUGIN__IMAGE__IMAGE_DISPLAY_HPP_
Inherited plugin class to display ROS topics.
Definition: display.hpp:85
Display plugin of sensor_msgs::msg::Image.
Definition: image_display.hpp:28
void log_message(sensor_msgs::msg::Image::ConstSharedPtr msg) override
Definition: image_display.cpp:29
ImageDisplay()
Construct a new object.
Definition: image_display.cpp:25
Definition: detected_objects_display.hpp:23