NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgWorldImpl Class Referenceabstract

#include <tgWorldImpl.h>

Inheritance diagram for tgWorldImpl:

Public Member Functions

 tgWorldImpl (const tgWorld::Config &config, const tgGround *const ground)
 
virtual ~tgWorldImpl ()
 
virtual void step (double dt)=0
 

Detailed Description

Abstract base class to encapsulate the implementation of the tgWorld. The tgWorld owns an instance of this.

Definition at line 39 of file tgWorldImpl.h.

Constructor & Destructor Documentation

tgWorldImpl::tgWorldImpl ( const tgWorld::Config config,
const tgGround *const  ground 
)
inline

The only constructor. The base class initializes nothing.

Parameters
[in]configconfiguration POD

Definition at line 47 of file tgWorldImpl.h.

virtual tgWorldImpl::~tgWorldImpl ( )
inlinevirtual

Clean up the implementation. The base class holds nothing.

Definition at line 50 of file tgWorldImpl.h.

Member Function Documentation

virtual void tgWorldImpl::step ( double  dt)
pure virtual

Advance the simulation.

Parameters
[in]dtthe number of seconds since the previous call; must be positive

Implemented in tgWorldBulletPhysicsImpl.

Here is the caller graph for this function:


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