VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtDynamicObstacleNavInterface Class Reference

This is the DtVrfObjectNavInterface subclass for objects which are treated as frequently moving obstacles by the navigation system, but are not using the navigation system to plan paths. More...

Inheritance diagram for DtDynamicObstacleNavInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void tick ()
virtual ~DtDynamicObstacleNavInterface ()
- Public Member Functions inherited from DtVrfObjectNavInterface
virtual bool ableToNavigate () const
 Generic call. Basic nav interfaces are not able to navigate.
virtual void postObjectInit ()
 Perform additional initialization after the object has been initialized.
virtual void firstTick ()
virtual ~DtVrfObjectNavInterface ()=0
virtual void addNavAreaChangedCallback (DtNoArgumentCallbackList::DtCallbackFunctionType callback, void *usr)
virtual void removeNavAreaChangedCallback (DtNoArgumentCallbackList::DtCallbackFunctionType callback, void *usr)
virtual void invokeNavAreaChangedCallbacks ()

Static Public Member Functions

static DtVrfObjectNavInterfacecreate (DtVrfObject *vrfObject)

Protected Member Functions

 DtDynamicObstacleNavInterface (DtVrfObject *vrfObject)
 Use the create() method instead of calling the constructor.
virtual bool init ()
 Virtual init, called from the create() method.
virtual void changingNavArea (DtNavArea *newNavArea)
 Called when about to change to a new navArea.
virtual bool obstacleEnabled ()
virtual void createNavObstacle ()
 Creates the NavObstacle in the current navArea.
- Protected Member Functions inherited from DtVrfObjectNavInterface
 DtVrfObjectNavInterface (DtVrfObject *vrfObject)
 Use the create() method instead of calling the constructor.
virtual bool isCollidableWhenDestroyed () const

Protected Attributes

DtNavObstaclemyNavObstacle
DtVector myPreviousLocalPos
int myStationaryTicks
DtNavAreamyNavArea
- Protected Attributes inherited from DtVrfObjectNavInterface
DtVrfObjectmyVrfObject
bool myFirstTick
DtNavAreamyCurrentNavArea
DtNoArgumentCallbackList myChangedNavAreaCallbackList

Private Member Functions

 DtDynamicObstacleNavInterface ()
 Not Implemented.
 DtDynamicObstacleNavInterface (const DtDynamicObstacleNavInterface &orig)
 Not Implemented.
DtDynamicObstacleNavInterfaceoperator= (const DtDynamicObstacleNavInterface &orig)
 Not Implemented.

Detailed Description

This is the DtVrfObjectNavInterface subclass for objects which are treated as frequently moving obstacles by the navigation system, but are not using the navigation system to plan paths.

For example, this is used for remote entities.

Constructor & Destructor Documentation

DtDynamicObstacleNavInterface::DtDynamicObstacleNavInterface ( )
private

Not Implemented.

DtDynamicObstacleNavInterface::DtDynamicObstacleNavInterface ( const DtDynamicObstacleNavInterface orig)
private

Not Implemented.

DtDynamicObstacleNavInterface::DtDynamicObstacleNavInterface ( DtVrfObject vrfObject)
protected

Use the create() method instead of calling the constructor.

virtual DtDynamicObstacleNavInterface::~DtDynamicObstacleNavInterface ( )
virtual

Member Function Documentation

DtDynamicObstacleNavInterface& DtDynamicObstacleNavInterface::operator= ( const DtDynamicObstacleNavInterface orig)
private

Not Implemented.

static DtVrfObjectNavInterface* DtDynamicObstacleNavInterface::create ( DtVrfObject vrfObject)
static
virtual bool DtDynamicObstacleNavInterface::init ( )
protectedvirtual

Virtual init, called from the create() method.

Reimplemented from DtVrfObjectNavInterface.

virtual void DtDynamicObstacleNavInterface::changingNavArea ( DtNavArea newNavArea)
protectedvirtual

Called when about to change to a new navArea.

Reimplemented from DtVrfObjectNavInterface.

virtual bool DtDynamicObstacleNavInterface::obstacleEnabled ( )
protectedvirtual
Returns
True if the obstacle should be enabled as a collidable object.
virtual void DtDynamicObstacleNavInterface::createNavObstacle ( )
protectedvirtual

Creates the NavObstacle in the current navArea.

virtual void DtDynamicObstacleNavInterface::tick ( )
virtual

Reimplemented from DtVrfObjectNavInterface.

Member Data Documentation

DtNavObstacle* DtDynamicObstacleNavInterface::myNavObstacle
protected
DtVector DtDynamicObstacleNavInterface::myPreviousLocalPos
protected
int DtDynamicObstacleNavInterface::myStationaryTicks
protected
DtNavArea* DtDynamicObstacleNavInterface::myNavArea
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)