Public Member Functions | Static Public Member Functions | List of all members
mvsim::WorldElementBase Class Referenceabstract

#include <WorldElementBase.h>

Inheritance diagram for mvsim::WorldElementBase:
Inheritance graph
[legend]

Public Member Functions

virtual void loadConfigFrom (const rapidxml::xml_node< char > *root)=0
 
 WorldElementBase (World *parent)
 
virtual ~WorldElementBase ()
 
- Public Member Functions inherited from mvsim::VisualObject
WorldgetWorldObject ()
 
const WorldgetWorldObject () const
 
virtual void gui_update (mrpt::opengl::COpenGLScene &scene)=0
 
 VisualObject (World *parent)
 
virtual ~VisualObject ()
 
- Public Member Functions inherited from mvsim::Simulable
virtual void apply_force (double fx, double fy, double local_ptx=0.0, double local_pty=0.0)
 
virtual void simul_post_timestep (const TSimulContext &context)
 
virtual void simul_pre_timestep (const TSimulContext &context)
 

Static Public Member Functions

static WorldElementBasefactory (World *parent, const rapidxml::xml_node< char > *xml_node, const char *class_name=NULL)
 

Additional Inherited Members

- Protected Attributes inherited from mvsim::VisualObject
Worldm_world
 

Detailed Description

Definition at line 18 of file WorldElementBase.h.

Constructor & Destructor Documentation

mvsim::WorldElementBase::WorldElementBase ( World parent)
inline

Definition at line 21 of file WorldElementBase.h.

virtual mvsim::WorldElementBase::~WorldElementBase ( )
inlinevirtual

Definition at line 22 of file WorldElementBase.h.

Member Function Documentation

WorldElementBase * WorldElementBase::factory ( World parent,
const rapidxml::xml_node< char > *  xml_node,
const char *  class_name = NULL 
)
static

Class factory: Creates a world element from XML description of type "<element class='*'>...</element>". Only if xml_node==NULL, the world element name can be passed in class_name. Otherwise, class_name is ignored.

Definition at line 50 of file WorldElementBase.cpp.

virtual void mvsim::WorldElementBase::loadConfigFrom ( const rapidxml::xml_node< char > *  root)
pure virtual

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


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