DUNE: Uniform Navigational Environment  2017.01.0
Simulators::VSIM::Factory Class Reference

Detailed Description

Factory to produce world and vehicle objects from configuration file parameters.

Static Public Member Functions

static Simulators::VSIM::WorldproduceWorld (DUNE::Parsers::Config &cfg)
 
static Simulators::VSIM::VehicleproduceVehicle (DUNE::Parsers::Config &cfg)
 

Member Function Documentation

Simulators::VSIM::World * Simulators::VSIM::Factory::produceWorld ( DUNE::Parsers::Config cfg)
static

This task is responsible for creating the world.

Parameters
[in]cfgconfiguration file.
Returns
pointer to a VSIM::World object.

Referenced by Simulators::VSIM::Task::onResourceInitialization().

Collaboration diagram for Simulators::VSIM::Factory:
Collaboration graph