DUNE: Uniform Navigational Environment
2019.02.1
|
Virtual World properties.
Public Member Functions | |
World (int ident, double grv[3], double tstep) | |
~World () | |
void | setTimeStep (double ts) |
double | getTimeStep (void) |
void | addObject (Object *) |
void | addVehicle (Vehicle *) |
void | takeStep (void) |
Simulators::VSIM::World::World | ( | int | ident, |
double | grv[3], | ||
double | tstep | ||
) |
Constructor.
Simulators::VSIM::World::~World | ( | void | ) |
Destructor.
void Simulators::VSIM::World::addObject | ( | Object * | obj | ) |
Add object to world.
[in] | obj | new object. |
References Simulators::VSIM::Object::insertInWorld().
Referenced by getTimeStep().
void Simulators::VSIM::World::addVehicle | ( | Vehicle * | veh | ) |
Add vehicle to world.
[in] | veh | new vehicle. |
References Simulators::VSIM::Object::insertInWorld().
Referenced by getTimeStep(), and Simulators::VSIM::Task::onResourceInitialization().
|
inline |
Returns world's integration timestep.
References addObject(), addVehicle(), and takeStep().
|
inline |
Define world's integration timestep.
[in] | ts | integration timestep. |
Referenced by Simulators::VSIM::Task::onResourceInitialization().
void Simulators::VSIM::World::takeStep | ( | void | ) |
Simulation's tick.
Referenced by getTimeStep(), and Simulators::VSIM::Task::task().