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 | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions
DtNavInterfaceManager Class Reference

Public Member Functions

 DtNavInterfaceManager (DtVrfObject *vrfObject)
 Use the create() method instead of calling the constructor.
virtual ~DtNavInterfaceManager ()
virtual DtVrfObjectNavInterfaceprimaryNavInterface ()
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.
virtual bool postObjectInit ()
 Perform additional initialization after the object is initialized.
virtual void tick ()
virtual bool updateNavInterfaces (bool removingPrimaryArea=false)
 Set force change to true to force the nav area change notifications.
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.
bool navigationEnabled () const

Protected Member Functions

virtual void processAreaAboutToBeRemoved (DtNavArea *)

Static Protected Member Functions

static void areaAboutToBeRemovedCallback (DtNavArea *, void *usr)

Protected Attributes

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

Private Member Functions

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

Constructor & Destructor Documentation

DtNavInterfaceManager::DtNavInterfaceManager ( )
private

Not Implemented.

DtNavInterfaceManager::DtNavInterfaceManager ( const DtNavInterfaceManager orig)
private

Not Implemented.

DtNavInterfaceManager::DtNavInterfaceManager ( DtVrfObject 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.

virtual DtVrfObjectNavInterface* DtNavInterfaceManager::primaryNavInterface ( )
virtual
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

DtVrfObject* 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 Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)