ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::if_ROS::MissionDataWriter Class Reference

#include <missiondataconverter.h>

Inheritance diagram for adore::if_ROS::MissionDataWriter:
Inheritance graph
Collaboration diagram for adore::if_ROS::MissionDataWriter:
Collaboration graph

Public Member Functions

 MissionDataWriter (ros::NodeHandle *n, const std::string &mission_state_topic, int qsize)
 
virtual bool canWriteMore () const override
 
virtual void write (const adore::fun::MissionData &value) override
 
- Public Member Functions inherited from adore::mad::AWriter< adore::fun::MissionData >
virtual std::string getDesc ()
 
virtual uint32_t getNumberOfSubscribers () const
 

Private Attributes

ros::Publisher mission_state_publisher_
 

Detailed Description

ROS specific implementation of AWriter for adore::fun::MissionData. Transmits a adore::fun::MissionData by sending ROS std_msgs.

Constructor & Destructor Documentation

◆ MissionDataWriter()

adore::if_ROS::MissionDataWriter::MissionDataWriter ( ros::NodeHandle *  n,
const std::string &  mission_state_topic,
int  qsize 
)
inline

Member Function Documentation

◆ canWriteMore()

virtual bool adore::if_ROS::MissionDataWriter::canWriteMore ( ) const
inlineoverridevirtual

canWriteMore indicates whether more data can be written

Implements adore::mad::AWriter< adore::fun::MissionData >.

◆ write()

virtual void adore::if_ROS::MissionDataWriter::write ( const adore::fun::MissionData value)
inlineoverridevirtual

write sends out data value

Implements adore::mad::AWriter< adore::fun::MissionData >.

Here is the call graph for this function:

Member Data Documentation

◆ mission_state_publisher_

ros::Publisher adore::if_ROS::MissionDataWriter::mission_state_publisher_
private

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