#include <com_patterns.h>
Public Member Functions | |
virtual bool | hasData () const =0 |
virtual bool | hasUpdate () const =0 |
virtual void | getData (T &value)=0 |
virtual std::string | getDesc () |
A communication pattern, which allows a client to read the last message received.
|
pure virtual |
getData returns the latest data item
Implemented in adore::if_ROS::Reader< T, TMSG, CONVERTER >, adore::if_ROS::MotionStateReader, adore::if_ROS::VehicleExtendedStateReader, adore::if_ROS::MotionCommandReader, adore::if_ROS::MissionDataReader, adore::if_ROS::IndicatorCommandReader, adore::if_ROS::TPSetMultiReader, and adore::if_ROS::TrafficLightSimReader.
|
inlinevirtual |
describes the implementation of the reader
|
pure virtual |
hasData indicates whether the data has been initialized with a first data item
Implemented in adore::if_ROS::Reader< T, TMSG, CONVERTER >, adore::if_ROS::TPSetMultiReader, adore::if_ROS::TrafficLightSimReader, adore::if_ROS::MotionCommandReader, adore::if_ROS::MissionDataReader, adore::if_ROS::IndicatorCommandReader, adore::if_ROS::VehicleExtendedStateReader, and adore::if_ROS::MotionStateReader.
|
pure virtual |
hasUpdate indicates whether the data item was updated since last getdata
Implemented in adore::if_ROS::Reader< T, TMSG, CONVERTER >, adore::if_ROS::TPSetMultiReader, adore::if_ROS::TrafficLightSimReader, adore::if_ROS::MotionCommandReader, adore::if_ROS::MissionDataReader, adore::if_ROS::IndicatorCommandReader, adore::if_ROS::VehicleExtendedStateReader, and adore::if_ROS::MotionStateReader.