scenario_simulator_v2 C++ API
Public Member Functions | Public Attributes | List of all members
concealer::Subscriber< Message > Struct Template Reference

#include <subscriber.hpp>

Public Member Functions

auto operator() () const -> const auto &
 
template<typename Autoware , typename Callback >
 Subscriber (const std::string &topic, const rclcpp::QoS &quality_of_service, Autoware &autoware, const Callback &callback)
 
template<typename Autoware >
 Subscriber (const std::string &topic, const rclcpp::QoS &quality_of_service, Autoware &autoware)
 

Public Attributes

Message::ConstSharedPtr current_value = std::make_shared<const Message>()
 
rclcpp::Subscription< Message >::SharedPtr subscription
 

Constructor & Destructor Documentation

◆ Subscriber() [1/2]

template<typename Message >
template<typename Autoware , typename Callback >
concealer::Subscriber< Message >::Subscriber ( const std::string &  topic,
const rclcpp::QoS &  quality_of_service,
Autoware &  autoware,
const Callback &  callback 
)
inlineexplicit

◆ Subscriber() [2/2]

template<typename Message >
template<typename Autoware >
concealer::Subscriber< Message >::Subscriber ( const std::string &  topic,
const rclcpp::QoS &  quality_of_service,
Autoware &  autoware 
)
inlineexplicit

Member Function Documentation

◆ operator()()

template<typename Message >
auto concealer::Subscriber< Message >::operator() ( ) const -> const auto &
inline

Member Data Documentation

◆ current_value

template<typename Message >
Message::ConstSharedPtr concealer::Subscriber< Message >::current_value = std::make_shared<const Message>()

◆ subscription

template<typename Message >
rclcpp::Subscription<Message>::SharedPtr concealer::Subscriber< Message >::subscription

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