ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr > Class Template Reference

#include <channel2station.h>

Collaboration diagram for adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >:
Collaboration graph

Public Member Functions

 ChannelToStation (ros::NodeHandle &n, std::string channel_incoming_topic, std::string channel_outgoing_topic, std::string station_incoming_topic, std::string station_outgoing_topic, Station *station, Channel *channel)
 

Private Member Functions

void station_receive (TStationMsgConstPtr msg)
 
void channel_receive (TChannelMsgConstPtr msg)
 

Private Attributes

ros::Publisher to_channel_publisher_
 
ros::Publisher to_station_publisher_
 
ros::Subscriber from_channel_subscriber_
 
ros::Subscriber from_station_subscriber_
 
Stationstation_
 
Channelchannel_
 

Detailed Description

template<typename TChannelMsg, typename TChannelMsgConstPtr, typename TStationMsg, typename TStationMsgConstPtr>
class adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >

ChannelToStation class handles message hand-over between simulated channel and station v2x topic

Constructor & Destructor Documentation

◆ ChannelToStation()

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::ChannelToStation ( ros::NodeHandle &  n,
std::string  channel_incoming_topic,
std::string  channel_outgoing_topic,
std::string  station_incoming_topic,
std::string  station_outgoing_topic,
Station station,
Channel channel 
)
inline
Here is the call graph for this function:

Member Function Documentation

◆ channel_receive()

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
void adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::channel_receive ( TChannelMsgConstPtr  msg)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ station_receive()

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
void adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::station_receive ( TStationMsgConstPtr  msg)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ channel_

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
Channel* adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::channel_
private

◆ from_channel_subscriber_

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
ros::Subscriber adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::from_channel_subscriber_
private

◆ from_station_subscriber_

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
ros::Subscriber adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::from_station_subscriber_
private

◆ station_

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
Station* adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::station_
private

◆ to_channel_publisher_

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
ros::Publisher adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::to_channel_publisher_
private

◆ to_station_publisher_

template<typename TChannelMsg , typename TChannelMsgConstPtr , typename TStationMsg , typename TStationMsgConstPtr >
ros::Publisher adore_v2x_sim::ChannelToStation< TChannelMsg, TChannelMsgConstPtr, TStationMsg, TStationMsgConstPtr >::to_station_publisher_
private

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