#include <mvsim_node_core.h>
Public Member Functions | |
MyWorld (MVSimNode &node) | |
virtual void | onNewObservation (const mvsim::VehicleBase &veh, const CObservation *obs) |
Public Member Functions inherited from mvsim::World | |
World () | |
Default ctor: inits an empty world. More... | |
~World () | |
Dtor. More... | |
void | clear_all (bool acquire_mt_lock=true) |
void | load_from_XML (const std::string &xml_text, const std::string &fileNameForPath=std::string(".")) |
double | get_simul_time () const |
Simulation wall-clock time. More... | |
double | get_simul_timestep () const |
Simulation fixed-time interval for numerical integration. More... | |
void | set_simul_timestep (double timestep) |
Simulation fixed-time interval for numerical integration. More... | |
double | get_gravity () const |
void | set_gravity (double accel) |
void | run_simulation (double dt) |
void | update_GUI (TUpdateGUIParams *params=NULL) |
bool | is_GUI_open () const |
Forces closing the GUI window, if any. More... | |
void | close_GUI () |
a previous call to update_GUI() More... | |
b2World * | getBox2DWorld () |
const b2World * | getBox2DWorld () const |
b2Body * | getBox2DGroundBody () |
const TListVehicles & | getListOfVehicles () const |
TListVehicles & | getListOfVehicles () |
const TListBlocks & | getListOfBlocks () const |
TListBlocks & | getListOfBlocks () |
const TListWorldElements & | getListOfWorldElements () const |
CTimeLogger & | getTimeLogger () |
std::string | resolvePath (const std::string &in_path) const |
void | runVisitorOnVehicles (VehicleVisitorBase &v) |
void | runVisitorOnWorldElements (WorldElementVisitorBase &v) |
virtual void | onNewObservation (const VehicleBase &veh, const mrpt::slam::CObservation *obs) |
Private Attributes | |
MVSimNode & | m_parent |
Additional Inherited Members | |
Public Types inherited from mvsim::World | |
typedef std::multimap< std::string, VehicleBase * > | TListVehicles |
typedef std::list< WorldElementBase * > | TListWorldElements |
getListOfVehicles() More... | |
typedef std::multimap< std::string, Block * > | TListBlocks |
Derived class so we can install hooks (virtual methods)
Definition at line 52 of file mvsim_node_core.h.
|
inline |
Definition at line 57 of file mvsim_node_core.h.
|
virtual |
Definition at line 654 of file mvsim_node.cpp.
|
private |
Definition at line 54 of file mvsim_node_core.h.