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

#include <com_patterns.h>

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

Public Member Functions

virtual bool hasNext () const =0
 
virtual void setCallback (std::function< void()> fcn)=0
 
virtual void getNext (T &value)=0
 
virtual void getLatest (T &value)=0
 

Member Function Documentation

◆ getLatest()

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

getLatest reads the latest data element and discards all previous

Implemented in adore::if_ROS::FeedWithCallback< T, TMSG, CONVERTER >.

Here is the caller graph for this function:

◆ getNext()

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

getNext reads the next data element

Implemented in adore::if_ROS::FeedWithCallback< T, TMSG, CONVERTER >.

◆ hasNext()

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

hasNext indicates whether there is more data to read

Implemented in adore::if_ROS::FeedWithCallback< T, TMSG, CONVERTER >.

Here is the caller graph for this function:

◆ setCallback()

template<typename T >
virtual void adore::mad::AFeedWithCallback< T >::setCallback ( std::function< void()>  fcn)
pure virtual

Implemented in adore::if_ROS::FeedWithCallback< T, TMSG, CONVERTER >.

Here is the caller graph for this function:

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