ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
dummyfactory.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2017-2020 German Aerospace Center (DLR).
3  * Eclipse ADORe, Automated Driving Open Research https://eclipse.org/adore
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License 2.0 which is available at
7  * http://www.eclipse.org/legal/epl-2.0.
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  * Jan Lauermann - initial API and implementation
13  ********************************************************************************/
14 
15 #pragma once
16 
17 #include <adore/params/afactory.h>
21 // #include <adore/params/ap_tactical_planner_dummy.h>
23 // #include <adore/params/ap_navigation_dummy.h>
24 // #include <adore/params/ap_cooperation_dummy.h>
26 // #include <adore/params/ap_function_management_dummy.h>
33 
34 
35 
36 
37 namespace adore
38 {
39  namespace params
40  {
45  class DummyFactory: public AFactory
46  {
47 
48  public:
49  virtual APVehicle* getVehicle()const{return new APVehicleDummy();}
52  virtual APTacticalPlanner* getTacticalPlanner()const{return nullptr;}
53  virtual APMapProvider* getMapProvider()const{return new APMapProviderDummy();}
54  virtual APNavigation* getNavigation()const{return nullptr;}
55  virtual APCooperation* getCooperation()const{return nullptr;}
57  virtual APFunctionManagement* getFunctionmanagement()const{return nullptr;}
60  virtual APLocalRoadMap* getLocalRoadMap()const{return new APLocalRoadMapDummy();}
64 
65  };
66  }
67 }
abstract factory for adore::params classes
Definition: afactory.h:54
abstract class containing cooperative behaviour parameters
Definition: ap_cooperation.h:26
a dummy implementation for testing purposes
Definition: ap_emergency_operation_dummy.h:26
abstract class containing parameters concerning emergency operation behaviour
Definition: ap_emergency_operation.h:25
abstract class containing parameters for function management configuration
Definition: ap_function_management.h:25
a dummy implementation for testing purposes
Definition: ap_lane_change_view_dummy.h:26
abstract class containing parameters for a lane change view
Definition: ap_lane_change_view.h:25
a dummy implementation for testing purposes
Definition: ap_lane_following_view_dummy.h:26
abstract class containing parameters for a lane following view
Definition: ap_lane_following_view.h:25
a dummy implementation for testing purposes
Definition: ap_lateral_planner_dummy.h:27
abstract class containing parameters related to configuring the lateral planner
Definition: ap_lateral_planner.h:26
a dummy implementation for testing purposes
Definition: ap_local_road_map_dummy.h:27
abstract class to configure the local view of the road map
Definition: ap_local_road_map.h:26
a dummy implementation for testing purposes
Definition: ap_longitudinal_planner_dummy.h:27
abstract class containing parameters related to configuring the longitudinal planner
Definition: ap_longitudinal_planner.h:26
a dummy implementation for testing purposes
Definition: ap_map_provider_dummy.h:26
abstract class containing parameters to configure aspects of the map provider
Definition: ap_map_provider.h:25
abstract class containing parameters which configure navigation behaviour
Definition: ap_navigation.h:25
abstract classs containing parameters to configure aspects and constraints of the tactical planner
Definition: ap_tactical_planner.h:25
a dummy implementation for testing purposes
Definition: ap_traffic_light_sim_dummy.h:28
abstract class containing parameters to configure aspects of the map provider
Definition: ap_traffic_light_sim.h:27
a dummy implementation for testing purposes
Definition: ap_trajectory_generation_dummy.h:27
abstract class containing parameters to configure the behaviour of trajectory generation
Definition: ap_trajectory_generation.h:26
a dummy implementation for testing purposes
Definition: ap_trajectory_tracking_dummy.h:28
abstract class containing parameters to configure the behaviour of the trajactory tracking controller
Definition: ap_trajectory_tracking.h:26
dummy implementation of an abstract vehicle parameter object for testing purposes
Definition: ap_vehicle_dummy.h:26
abstract class for vehicle configuration related paremeters
Definition: ap_vehicle.h:29
a dummy implementation of the adore::params::afactory for testing purposes
Definition: dummyfactory.h:46
virtual APTrajectoryTracking * getTrajectoryTracking() const
Definition: dummyfactory.h:51
virtual APNavigation * getNavigation() const
Definition: dummyfactory.h:54
virtual APTrafficLightSim * getTrafficLightSim() const
Definition: dummyfactory.h:63
virtual APMapProvider * getMapProvider() const
Definition: dummyfactory.h:53
virtual APVehicle * getVehicle() const
Definition: dummyfactory.h:49
virtual APEmergencyOperation * getEmergencyOperation() const
Definition: dummyfactory.h:56
virtual APCooperation * getCooperation() const
Definition: dummyfactory.h:55
virtual APTacticalPlanner * getTacticalPlanner() const
Definition: dummyfactory.h:52
virtual APFunctionManagement * getFunctionmanagement() const
Definition: dummyfactory.h:57
virtual APLocalRoadMap * getLocalRoadMap() const
Definition: dummyfactory.h:60
virtual APLaneChangeView * getLaneChangeView() const
Definition: dummyfactory.h:58
virtual APLongitudinalPlanner * getLongitudinalPlanner() const
Definition: dummyfactory.h:61
virtual APLateralPlanner * getLateralPlanner() const
Definition: dummyfactory.h:62
virtual APLaneFollowingView * getLaneFollowingView() const
Definition: dummyfactory.h:59
virtual APTrajectoryGeneration * getTrajectoryGeneration() const
Definition: dummyfactory.h:50
Definition: areaofeffectconverter.h:20