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

#include <test_controlledconnection.h>

Inheritance diagram for adore::env::test::TestConnectionFeed:
Inheritance graph
Collaboration diagram for adore::env::test::TestConnectionFeed:
Collaboration graph

Public Types

typedef adore::env::ControlledConnection T
 

Public Member Functions

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

Public Attributes

std::vector< Tdata_
 

Detailed Description

A class required for unit test of ControlledConnectionSet

Member Typedef Documentation

◆ T

Member Function Documentation

◆ getLatest()

virtual void adore::env::test::TestConnectionFeed::getLatest ( T value)
inlineoverridevirtual

getLatest reads the latest data element and discards all previous

Implements adore::mad::AFeed< adore::env::ControlledConnection >.

◆ getNext()

virtual void adore::env::test::TestConnectionFeed::getNext ( T value)
inlineoverridevirtual

getNext reads the next data element

Implements adore::mad::AFeed< adore::env::ControlledConnection >.

◆ hasNext()

virtual bool adore::env::test::TestConnectionFeed::hasNext ( ) const
inlineoverridevirtual

hasNext indicates whether there is more data to read

Implements adore::mad::AFeed< adore::env::ControlledConnection >.

Member Data Documentation

◆ data_

std::vector<T> adore::env::test::TestConnectionFeed::data_

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