ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::mad::AFeed< T > Class Template Referenceabstract

#include <com_patterns.h>

Inheritance diagram for adore::mad::AFeed< T >:
Inheritance graph
Collaboration diagram for adore::mad::AFeed< T >:
Collaboration graph

Public Member Functions

virtual bool hasNext () const =0
 
virtual void getNext (T &value)=0
 
virtual void getLatest (T &value)=0
 

Detailed Description

template<typename T>
class adore::mad::AFeed< T >

A communication pattern, which allows a client to read all messages received since last queried.

Member Function Documentation

◆ getLatest()

template<typename T >
virtual void adore::mad::AFeed< T >::getLatest ( T &  value)
pure virtual

getLatest reads the latest data element and discards all previous

Implemented in adore::env::test::TestConnectionFeed, adore::if_ROS::Feed< T, TMSG, CONVERTER >, adore::if_ROS::MotionStateFeed, and adore::if_ROS::TrafficSimulationFeed.

Here is the caller graph for this function:

◆ getNext()

template<typename T >
virtual void adore::mad::AFeed< T >::getNext ( T &  value)
pure virtual

getNext reads the next data element

Implemented in adore::env::test::TestConnectionFeed, adore::if_ROS::Feed< T, TMSG, CONVERTER >, adore::if_ROS::MotionStateFeed, and adore::if_ROS::TrafficSimulationFeed.

Here is the caller graph for this function:

◆ hasNext()

template<typename T >
virtual bool adore::mad::AFeed< T >::hasNext ( ) const
pure virtual

hasNext indicates whether there is more data to read

Implemented in adore::env::test::TestConnectionFeed, adore::if_ROS::Feed< T, TMSG, CONVERTER >, adore::if_ROS::TrafficSimulationFeed, and adore::if_ROS::MotionStateFeed.

Here is the caller graph for this function:

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