VR-Forces 4.8 Class Documentation
 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 (DtSharedVrfObjectReference vrfObject)
 Use the create() method instead of calling the constructor. More...
 
virtual ~DtNavInterfaceManager ()
 
DtVrfObjectNavInterfaceprimaryNavInterface ()
 
const DtVrfObjectNavInterfaceprimaryNavInterface () const
 
virtual bool init ()
 When called, if navigation is not enabled this will be treated as a remote object for the purposes of creating navigation interface. More...
 
virtual bool postObjectInit ()
 Perform additional initialization after the object is initialized. More...
 
virtual void tick ()
 
virtual bool updateNavInterfaces (bool removingPrimaryArea=false)
 Set force change to true to force the nav area change notifications. More...
 
virtual void setNavigationEnabled (bool)
 Sets whether or not navigation is enabled. If changing state current interface will be deleted and init() will be called again. More...
 
bool navigationEnabled () const
 

Protected Member Functions

virtual void processAreaAboutToBeRemoved (DtNavArea *)
 

Static Protected Member Functions

static void areaAboutToBeRemovedCallback (DtNavArea *, void *usr)
 

Protected Attributes

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

Private Member Functions

 DtNavInterfaceManager ()
 Not Implemented. More...
 
 DtNavInterfaceManager (const DtNavInterfaceManager &orig)
 Not Implemented. More...
 
DtNavInterfaceManageroperator= (const DtNavInterfaceManager &orig)
 Not Implemented. More...
 

Constructor & Destructor Documentation

DtNavInterfaceManager::DtNavInterfaceManager ( )
private

Not Implemented.

DtNavInterfaceManager::DtNavInterfaceManager ( const DtNavInterfaceManager orig)
private

Not Implemented.

DtNavInterfaceManager::DtNavInterfaceManager ( DtSharedVrfObjectReference  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

DtSharedVrfObjectReference 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

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)