AWViz-ROS
Loading...
Searching...
No Matches
awviz_plugin::ImageDisplay Class Reference

Display plugin of sensor_msgs::msg::Image. More...

#include <image_display.hpp>

Inheritance diagram for awviz_plugin::ImageDisplay:
awviz_common::RosTopicDisplay< sensor_msgs::msg::Image > awviz_common::Display

Public Member Functions

 ImageDisplay ()
 Construct a new object.
 
- Public Member Functions inherited from awviz_common::RosTopicDisplay< sensor_msgs::msg::Image >
 RosTopicDisplay ()
 Construct an instance.
 
 ~RosTopicDisplay () override
 Destruct an instance.
 
void initialize (rclcpp::Node::SharedPtr node, std::shared_ptr< rerun::RecordingStream > stream) override
 Initialize the instance specifying the root ROS node and recording stream.
 
void set_property (const std::string &topic, const std::shared_ptr< std::unordered_map< std::string, std::string > > entity_roots) override
 Set status of attributes.
 
void start () override
 Start to display.
 
void end () override
 End to display.
 
bool is_initialized () const override
 Return true if the initialization is completed.
 
- Public Member Functions inherited from awviz_common::Display
 Display ()=default
 
virtual ~Display ()=default
 
virtual void initialize (rclcpp::Node::SharedPtr node, std::shared_ptr< rerun::RecordingStream > stream)=0
 Initialize attributes.
 
virtual void set_property (const std::string &topic, const std::shared_ptr< std::unordered_map< std::string, std::string > > entity_roots)=0
 Set attributes of property.
 
virtual void start ()=0
 Start to display.
 
virtual void end ()=0
 End to display.
 
virtual bool is_initialized () const
 Return true if the initialization is completed.
 

Protected Member Functions

void log_message (sensor_msgs::msg::Image::ConstSharedPtr msg) override
 
- Protected Member Functions inherited from awviz_common::RosTopicDisplay< sensor_msgs::msg::Image >
virtual void subscribe ()
 Start to subscribing the specified topic.
 
virtual void unsubscribe ()
 End to subscribing the topic.
 
virtual void log_message (typename MsgType::ConstSharedPtr msg)=0
 Log subscribed ROS message to recording stream.
 

Additional Inherited Members

- Protected Attributes inherited from awviz_common::RosTopicDisplay< sensor_msgs::msg::Image >
rclcpp::Subscription< sensor_msgs::msg::Image >::SharedPtr subscription_
 Subscription of the topic.
 
RosTopicProperty property_
 Topic property.
 
- Protected Attributes inherited from awviz_common::Display
rclcpp::Node::SharedPtr node_
 Node shared pointer.
 
std::shared_ptr< rerun::RecordingStream > stream_
 RecordingStream shared pointer.
 
bool is_initialized_
 Whether the object has been initialized.
 
- Static Protected Attributes inherited from awviz_common::RosTopicDisplay< sensor_msgs::msg::Image >
static constexpr const char * TIMELINE_NAME
 Entity name of timeline record.
 

Detailed Description

Display plugin of sensor_msgs::msg::Image.

Constructor & Destructor Documentation

◆ ImageDisplay()

awviz_plugin::ImageDisplay::ImageDisplay ( )

Construct a new object.

Member Function Documentation

◆ log_message()

void awviz_plugin::ImageDisplay::log_message ( sensor_msgs::msg::Image::ConstSharedPtr  msg)
overrideprotected

The documentation for this class was generated from the following files: