scenario_simulator_v2 C++ API
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
openscenario_interpreter::syntax::MagicSubscription< T > Struct Template Reference
Inheritance diagram for openscenario_interpreter::syntax::MagicSubscription< T >:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::syntax::MagicSubscription< T >:
Collaboration graph
[legend]

Classes

struct  Node
 

Public Member Functions

 MagicSubscription (const std::string &topic_name)
 
 ~MagicSubscription ()
 
auto get () const -> const auto &
 

Public Attributes

rclcpp::Subscription< T >::SharedPtr subscription
 

Static Public Attributes

static std::size_t count = 0
 
static std::unique_ptr< Nodenode = nullptr
 

Constructor & Destructor Documentation

◆ MagicSubscription()

template<typename T >
openscenario_interpreter::syntax::MagicSubscription< T >::MagicSubscription ( const std::string &  topic_name)
inlineexplicit

◆ ~MagicSubscription()

Member Function Documentation

◆ get()

template<typename T >
auto openscenario_interpreter::syntax::MagicSubscription< T >::get ( ) const -> const auto &
inline

Member Data Documentation

◆ count

template<typename T >
std::size_t openscenario_interpreter::syntax::MagicSubscription< T >::count = 0
inlinestatic

◆ node

template<typename T >
std::unique_ptr<Node> openscenario_interpreter::syntax::MagicSubscription< T >::node = nullptr
inlinestatic

◆ subscription

template<typename T >
rclcpp::Subscription<T>::SharedPtr openscenario_interpreter::syntax::MagicSubscription< T >::subscription

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