AWViz-ROS
Loading...
Searching...
No Matches
awviz_common::TopicScanner Class Referencefinal

Concrete topic scanner using rclcpp node discovery. More...

#include <topic_scanner.hpp>

Inheritance diagram for awviz_common::TopicScanner:
awviz_common::ITopicScanner

Public Member Functions

 TopicScanner (rclcpp::Node::SharedPtr node)
 
TopicMap scan () const override
 Scan current topics and return their names and types.
 
- Public Member Functions inherited from awviz_common::ITopicScanner
 ITopicScanner ()=default
 Construct a new topic scanner interface.
 
virtual ~ITopicScanner ()=default
 
virtual TopicMap scan () const =0
 Scan current topics and return their names and types.
 

Additional Inherited Members

- Public Types inherited from awviz_common::ITopicScanner
using TopicMap = std::map< std::string, std::vector< std::string > >
 

Detailed Description

Concrete topic scanner using rclcpp node discovery.

Constructor & Destructor Documentation

◆ TopicScanner()

awviz_common::TopicScanner::TopicScanner ( rclcpp::Node::SharedPtr  node)
inlineexplicit

Member Function Documentation

◆ scan()

TopicMap awviz_common::TopicScanner::scan ( ) const
inlineoverridevirtual

Scan current topics and return their names and types.

Returns
Map of topic name to a list of types.

Implements awviz_common::ITopicScanner.


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