ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::sim::AFactory Class Referenceabstract

abstract factory for adore::sim communication More...

#include <afactory.h>

Inheritance diagram for adore::sim::AFactory:
Inheritance graph
Collaboration diagram for adore::sim::AFactory:
Collaboration graph

Public Types

typedef adore::mad::AReader< adore::fun::MotionCommandTMotionCommandReader
 
typedef adore::mad::AReader< adore::fun::GearSelectionCommandTGearSelectionCommandReader
 
typedef adore::mad::AReader< adore::fun::IndicatorCommandTIndicatorCommandReader
 
typedef adore::mad::AReader< double > TSimulationTimeReader
 
typedef adore::mad::AWriter< double > TSimulationTimeWriter
 
typedef adore::mad::AWriter< adore::fun::VehicleMotionState9dTVehicleMotionStateWriter
 
typedef adore::mad::AReader< adore::fun::VehicleMotionState9dTVehicleMotionStateReader
 
typedef adore::mad::AWriter< adore::fun::VehicleExtendedStateTVehicleExtendedStateWriter
 
typedef adore::mad::AFeed< adore::sim::ResetVehiclePoseTVehiclePoseResetFeed
 
typedef adore::mad::AFeed< adore::sim::ResetVehicleTwistTVehicleTwistResetFeed
 
typedef adore::mad::AWriter< adore::sim::ResetVehiclePoseTVehiclePoseResetWriter
 
typedef adore::mad::AWriter< adore::sim::ResetVehicleTwistTVehicleTwistResetWriter
 
typedef adore::mad::AFeed< int64_t > TSimulationIDResetFeed
 
typedef adore::mad::AFeed< int64_t > TV2XStationIDResetFeed
 
typedef adore::mad::AWriter< adore::sim::ResetVehicleDimensionsTVehicleDimensionsResetWriter
 
typedef adore::mad::AFeed< adore::sim::ResetVehicleDimensionsTVehicleDimensionsResetFeed
 
typedef adore::mad::AWriter< adore::env::traffic::TParticipantSetTParticipantSetWriter
 
typedef adore::mad::AWriter< adore::env::traffic::ParticipantTParticipantWriter
 
typedef adore::mad::AFeed< adore::env::traffic::ParticipantTParticipantFeed
 
typedef adore::mad::AWriter< std::pair< uint32_t, uint32_t > > TClockTimeWriter
 
typedef adore::mad::AWriter< adore::env::SimTrafficLightTSimTrafficLightWriter
 
typedef adore::mad::AReader< adore::env::SimTrafficLightMapTSimTrafficLightReader
 
typedef adore::mad::AFeedWithCallback< std::string > TSimulationCoordinationFeed
 
typedef adore::mad::AWriter< std::string > TSimulationCoordinationWriter
 

Public Member Functions

virtual TMotionCommandReadergetMotionCommandReader ()=0
 read a motion command More...
 
virtual TGearSelectionCommandReadergetGearSelectionCommandReader ()=0
 read a gear selection command More...
 
virtual TIndicatorCommandReadergetIndicatorCommandReader ()=0
 read an indicator command More...
 
virtual TSimulationTimeReadergetSimulationTimeReader ()=0
 read the simulation time More...
 
virtual TSimulationTimeWritergetSimulationTimeWriter ()=0
 write the simulation time More...
 
virtual TVehicleMotionStateWritergetVehicleMotionStateWriter ()=0
 write updates on the true vehicle motion state More...
 
virtual TVehicleMotionStateWritergetOdometryEstimatedVehicleStateWriter ()=0
 write updates on the odometry estimated vehicle motion state More...
 
virtual TVehicleMotionStateWritergetLocalizationEstimatedVehicleStateWriter ()=0
 write updates on the localization estimated vehicle motion state More...
 
virtual TVehicleMotionStateReadergetVehicleMotionStateReader ()=0
 read updates on the true vehicle motion state More...
 
virtual TVehicleExtendedStateWritergetVehicleExtendedStateWriter ()=0
 write updates on the vehicle extended state (buttons, etc.) More...
 
virtual TVehiclePoseResetFeedgetVehiclePoseResetFeed ()=0
 read simulation commands for vehicle position and orientation resetting More...
 
virtual TVehicleTwistResetFeedgetVehicleTwistResetFeed ()=0
 read simulation commands for vehicle speed resetting More...
 
virtual TVehiclePoseResetWritergetVehiclePoseResetWriter ()=0
 
virtual TVehicleTwistResetWritergetVehicleTwistResetWriter ()=0
 send simulation commands for vehicle speed resetting More...
 
virtual TSimulationIDResetFeedgetSimulationIDResetFeed ()=0
 read simulation commands for simulation id resetting More...
 
virtual TV2XStationIDResetFeedgetV2XStationIDResetFeed ()=0
 read simulation commands for v2x station id resetting More...
 
virtual TVehicleDimensionsResetWritergetVehicleDimensionsResetWriter (std::string ns)=0
 write simulation command for vehicle dimensions resetting More...
 
virtual TVehicleDimensionsResetFeedgetVehicleDimensionsResetFeed ()=0
 read simulation commands for vehicle dimensions resetting More...
 
virtual TParticipantSetWritergetParticipantSetWriter ()=0
 send simulated sensor data More...
 
virtual TParticipantWritergetParticipantWriter ()=0
 send ego state to simulation feed More...
 
virtual TParticipantFeedgetParticipantFeed ()=0
 get state updates from all vehicles More...
 
virtual TClockTimeWritergetClockTimeWriter ()=0
 write clock time More...
 
virtual TSimTrafficLightWritergetTrafficLightWriter ()=0
 send simulated traffic light states
More...
 
virtual TSimTrafficLightReadergetTrafficLightReader ()=0
 receive simulated traffic light states More...
 
virtual adore::mad::AWriter< int64_t > * getTransformIDtoAdoreWriter ()=0
 send id of vehicle to transform More...
 

Detailed Description

abstract factory for adore::sim communication

Member Typedef Documentation

◆ TClockTimeWriter

typedef adore::mad::AWriter<std::pair<uint32_t,uint32_t> > adore::sim::AFactory::TClockTimeWriter

◆ TGearSelectionCommandReader

◆ TIndicatorCommandReader

◆ TMotionCommandReader

◆ TParticipantFeed

◆ TParticipantSetWriter

◆ TParticipantWriter

◆ TSimTrafficLightReader

◆ TSimTrafficLightWriter

◆ TSimulationCoordinationFeed

◆ TSimulationCoordinationWriter

◆ TSimulationIDResetFeed

◆ TSimulationTimeReader

◆ TSimulationTimeWriter

◆ TV2XStationIDResetFeed

◆ TVehicleDimensionsResetFeed

◆ TVehicleDimensionsResetWriter

◆ TVehicleExtendedStateWriter

◆ TVehicleMotionStateReader

◆ TVehicleMotionStateWriter

◆ TVehiclePoseResetFeed

◆ TVehiclePoseResetWriter

◆ TVehicleTwistResetFeed

◆ TVehicleTwistResetWriter

Member Function Documentation

◆ getClockTimeWriter()

virtual TClockTimeWriter* adore::sim::AFactory::getClockTimeWriter ( )
pure virtual

write clock time

Implemented in adore::if_ROS::SIM_Factory.

◆ getGearSelectionCommandReader()

virtual TGearSelectionCommandReader* adore::sim::AFactory::getGearSelectionCommandReader ( )
pure virtual

read a gear selection command

Implemented in adore::if_ROS::SIM_Factory.

◆ getIndicatorCommandReader()

virtual TIndicatorCommandReader* adore::sim::AFactory::getIndicatorCommandReader ( )
pure virtual

read an indicator command

Implemented in adore::if_ROS::SIM_Factory.

◆ getLocalizationEstimatedVehicleStateWriter()

virtual TVehicleMotionStateWriter* adore::sim::AFactory::getLocalizationEstimatedVehicleStateWriter ( )
pure virtual

write updates on the localization estimated vehicle motion state

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getMotionCommandReader()

virtual TMotionCommandReader* adore::sim::AFactory::getMotionCommandReader ( )
pure virtual

read a motion command

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getOdometryEstimatedVehicleStateWriter()

virtual TVehicleMotionStateWriter* adore::sim::AFactory::getOdometryEstimatedVehicleStateWriter ( )
pure virtual

write updates on the odometry estimated vehicle motion state

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getParticipantFeed()

virtual TParticipantFeed* adore::sim::AFactory::getParticipantFeed ( )
pure virtual

get state updates from all vehicles

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getParticipantSetWriter()

virtual TParticipantSetWriter* adore::sim::AFactory::getParticipantSetWriter ( )
pure virtual

send simulated sensor data

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getParticipantWriter()

virtual TParticipantWriter* adore::sim::AFactory::getParticipantWriter ( )
pure virtual

send ego state to simulation feed

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getSimulationIDResetFeed()

virtual TSimulationIDResetFeed* adore::sim::AFactory::getSimulationIDResetFeed ( )
pure virtual

read simulation commands for simulation id resetting

Implemented in adore::if_ROS::SIM_Factory.

◆ getSimulationTimeReader()

virtual TSimulationTimeReader* adore::sim::AFactory::getSimulationTimeReader ( )
pure virtual

read the simulation time

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getSimulationTimeWriter()

virtual TSimulationTimeWriter* adore::sim::AFactory::getSimulationTimeWriter ( )
pure virtual

write the simulation time

Implemented in adore::if_ROS::SIM_Factory.

◆ getTrafficLightReader()

virtual TSimTrafficLightReader* adore::sim::AFactory::getTrafficLightReader ( )
pure virtual

receive simulated traffic light states

Implemented in adore::if_ROS::SIM_Factory.

◆ getTrafficLightWriter()

virtual TSimTrafficLightWriter* adore::sim::AFactory::getTrafficLightWriter ( )
pure virtual

send simulated traffic light states

Implemented in adore::if_ROS::SIM_Factory.

◆ getTransformIDtoAdoreWriter()

virtual adore::mad::AWriter<int64_t>* adore::sim::AFactory::getTransformIDtoAdoreWriter ( )
pure virtual

send id of vehicle to transform

Implemented in adore::if_ROS::SIM_Factory.

◆ getV2XStationIDResetFeed()

virtual TV2XStationIDResetFeed* adore::sim::AFactory::getV2XStationIDResetFeed ( )
pure virtual

read simulation commands for v2x station id resetting

Implemented in adore::if_ROS::SIM_Factory.

◆ getVehicleDimensionsResetFeed()

virtual TVehicleDimensionsResetFeed* adore::sim::AFactory::getVehicleDimensionsResetFeed ( )
pure virtual

read simulation commands for vehicle dimensions resetting

Implemented in adore::if_ROS::SIM_Factory.

◆ getVehicleDimensionsResetWriter()

virtual TVehicleDimensionsResetWriter* adore::sim::AFactory::getVehicleDimensionsResetWriter ( std::string  ns)
pure virtual

write simulation command for vehicle dimensions resetting

Implemented in adore::if_ROS::SIM_Factory.

◆ getVehicleExtendedStateWriter()

virtual TVehicleExtendedStateWriter* adore::sim::AFactory::getVehicleExtendedStateWriter ( )
pure virtual

write updates on the vehicle extended state (buttons, etc.)

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getVehicleMotionStateReader()

virtual TVehicleMotionStateReader* adore::sim::AFactory::getVehicleMotionStateReader ( )
pure virtual

read updates on the true vehicle motion state

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getVehicleMotionStateWriter()

virtual TVehicleMotionStateWriter* adore::sim::AFactory::getVehicleMotionStateWriter ( )
pure virtual

write updates on the true vehicle motion state

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getVehiclePoseResetFeed()

virtual TVehiclePoseResetFeed* adore::sim::AFactory::getVehiclePoseResetFeed ( )
pure virtual

read simulation commands for vehicle position and orientation resetting

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getVehiclePoseResetWriter()

virtual TVehiclePoseResetWriter* adore::sim::AFactory::getVehiclePoseResetWriter ( )
pure virtual

Implemented in adore::if_ROS::SIM_Factory.

◆ getVehicleTwistResetFeed()

virtual TVehicleTwistResetFeed* adore::sim::AFactory::getVehicleTwistResetFeed ( )
pure virtual

read simulation commands for vehicle speed resetting

Implemented in adore::if_ROS::SIM_Factory.

Here is the caller graph for this function:

◆ getVehicleTwistResetWriter()

virtual TVehicleTwistResetWriter* adore::sim::AFactory::getVehicleTwistResetWriter ( )
pure virtual

send simulation commands for vehicle speed resetting

Implemented in adore::if_ROS::SIM_Factory.


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