VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions
DtNavInterfaceManager Class Reference

Public Member Functions

 DtNavInterfaceManager (DtLocalObject *vrfObject)
 
virtual ~DtNavInterfaceManager ()
 
DtVrfObjectNavInterfaceprimaryNavInterface ()
 
const DtVrfObjectNavInterfaceprimaryNavInterface () const
 
virtual bool init ()
 
virtual bool postObjectInit ()
 
virtual void tick ()
 
virtual bool updateNavInterfaces (bool removingPrimaryArea=false)
 
virtual void setNavigationEnabled (bool)
 
bool navigationEnabled () const
 

Protected Member Functions

virtual void processAreaAboutToBeRemoved (DtNavArea *)
 

Static Protected Member Functions

static void areaAboutToBeRemovedCallback (DtNavArea *, void *usr)
 

Protected Attributes

DtLocalObjectmyVrfObject
 
DtNavAreamyPrimaryNavArea
 
DtVrfObjectNavInterfacemyPrimaryNavInterface
 
std::vector< DtNavArea * > mySecondaryNavAreas
 
std::map< DtNavArea
*, DtVrfObjectNavInterface * > 
mySecondaryNavInterfaces
 
bool myNavigationEnabled
 
DtString myNavProfile
 
bool myNeedsPostObjectInit
 

Private Member Functions

 DtNavInterfaceManager ()
 
 DtNavInterfaceManager (const DtNavInterfaceManager &orig)
 
DtNavInterfaceManageroperator= (const DtNavInterfaceManager &orig)
 

Constructor & Destructor Documentation

DtNavInterfaceManager::DtNavInterfaceManager ( )
private

Not Implemented.

DtNavInterfaceManager::DtNavInterfaceManager ( const DtNavInterfaceManager orig)
private

Not Implemented.

DtNavInterfaceManager::DtNavInterfaceManager ( DtLocalObject vrfObject)

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

virtual DtNavInterfaceManager::~DtNavInterfaceManager ( )
virtual

Member Function Documentation

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

Not Implemented.

DtVrfObjectNavInterface* DtNavInterfaceManager::primaryNavInterface ( )
const DtVrfObjectNavInterface* DtNavInterfaceManager::primaryNavInterface ( ) const
virtual bool DtNavInterfaceManager::init ( )
virtual

When called, if navigation is not enabled this will be treated as a remote object for the purposes of creating navigation interface. This means if will be treated as an obstacle rather than a moving object (if configured to be that way)

virtual bool DtNavInterfaceManager::postObjectInit ( )
virtual

Perform additional initialization after the object is initialized.

virtual void DtNavInterfaceManager::tick ( )
virtual
virtual bool DtNavInterfaceManager::updateNavInterfaces ( bool  removingPrimaryArea = false)
virtual

Set force change to true to force the nav area change notifications.

virtual void DtNavInterfaceManager::setNavigationEnabled ( bool  )
virtual

Sets whether or not navigation is enabled. If changing state current interface will be deleted and init() will be called again.

bool DtNavInterfaceManager::navigationEnabled ( ) const
static void DtNavInterfaceManager::areaAboutToBeRemovedCallback ( DtNavArea ,
void *  usr 
)
staticprotected
virtual void DtNavInterfaceManager::processAreaAboutToBeRemoved ( DtNavArea )
protectedvirtual

Member Data Documentation

DtLocalObject* DtNavInterfaceManager::myVrfObject
protected
DtNavArea* DtNavInterfaceManager::myPrimaryNavArea
protected
DtVrfObjectNavInterface* DtNavInterfaceManager::myPrimaryNavInterface
protected
std::vector<DtNavArea*> DtNavInterfaceManager::mySecondaryNavAreas
protected
std::map<DtNavArea*, DtVrfObjectNavInterface*> DtNavInterfaceManager::mySecondaryNavInterfaces
protected
bool DtNavInterfaceManager::myNavigationEnabled
protected
DtString DtNavInterfaceManager::myNavProfile
protected
bool DtNavInterfaceManager::myNeedsPostObjectInit
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)