Public Member Functions | Private Attributes | List of all members
MVSimNode::MyWorld Class Reference

#include <mvsim_node_core.h>

Inheritance diagram for MVSimNode::MyWorld:
Inheritance graph
[legend]

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...
 
b2WorldgetBox2DWorld ()
 
const b2WorldgetBox2DWorld () const
 
b2BodygetBox2DGroundBody ()
 
const TListVehiclesgetListOfVehicles () const
 
TListVehiclesgetListOfVehicles ()
 
const TListBlocksgetListOfBlocks () const
 
TListBlocksgetListOfBlocks ()
 
const TListWorldElementsgetListOfWorldElements () 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

MVSimNodem_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
 

Detailed Description

Derived class so we can install hooks (virtual methods)

Definition at line 52 of file mvsim_node_core.h.

Constructor & Destructor Documentation

MVSimNode::MyWorld::MyWorld ( MVSimNode node)
inline

Definition at line 57 of file mvsim_node_core.h.

Member Function Documentation

void MVSimNode::MyWorld::onNewObservation ( const mvsim::VehicleBase veh,
const CObservation *  obs 
)
virtual

Definition at line 654 of file mvsim_node.cpp.

Member Data Documentation

MVSimNode& MVSimNode::MyWorld::m_parent
private

Definition at line 54 of file mvsim_node_core.h.


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


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:41