AWViz-ROS C++ API Reference
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
awviz_plugin::CameraInfoDisplay Class Reference

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

#include <camera_info_display.hpp>

Inheritance diagram for awviz_plugin::CameraInfoDisplay:
awviz_common::RosTopicDisplay< sensor_msgs::msg::CameraInfo > awviz_common::Display

Public Member Functions

 CameraInfoDisplay ()
 Construct a new object.
 
- Public Member Functions inherited from awviz_common::RosTopicDisplay< sensor_msgs::msg::CameraInfo >
 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::CameraInfo::ConstSharedPtr msg) override
 
- Protected Member Functions inherited from awviz_common::RosTopicDisplay< sensor_msgs::msg::CameraInfo >
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::CameraInfo >
rclcpp::Subscription< sensor_msgs::msg::CameraInfo >::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::CameraInfo >
static constexpr const char * TIMELINE_NAME
 Entity name of timeline record.
 

Detailed Description

Display plugin of sensor_msgs::msg::CameraInfo.

Constructor & Destructor Documentation

◆ CameraInfoDisplay()

awviz_plugin::CameraInfoDisplay::CameraInfoDisplay ( )

Construct a new object.

Member Function Documentation

◆ log_message()

void awviz_plugin::CameraInfoDisplay::log_message ( sensor_msgs::msg::CameraInfo::ConstSharedPtr  msg)
overrideprotected

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