VR-Forces 4.10 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. More...
 
virtual void postObjectInit ()
 Perform additional initialization after the object has been initialized. More...
 
virtual void firstTick ()
 
virtual ~DtVrfObjectNavInterface ()=0
 
virtual void addNavAreaChangedCallback (DtNoArgumentCallbackList::DtCallbackFunctionType callback, void *usr) const
 
virtual void removeNavAreaChangedCallback (DtNoArgumentCallbackList::DtCallbackFunctionType callback, void *usr) const
 
virtual void invokeNavAreaChangedCallbacks ()
 

Static Public Member Functions

static DtVrfObjectNavInterfacecreate (DtSharedVrfObjectReference vrfObject)
 

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

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

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 ( DtSharedVrfObjectReference  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 ( DtSharedVrfObjectReference  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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)