![]() |
VR-Forces 4.5 Class Documentation
|

Classes | |
| struct | NavigationArea |
| struct | SimObjectNavigationArea |
Public Types | |
| enum | Status { Unknown = -1, Generated, NeedsGeneration, Generating, ScheduledForGeneration } |
| typedef std::map < makVrv::DtUniqueID, NavigationArea > | NavigationAreas |
| typedef std::map< DtUUID, SimObjectNavigationArea > | SimObjectNavigationAreas |
Public Member Functions | |
| DtNavigationAreasManager (makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtNavigationAreasManager () |
| DTOR. | |
| virtual bool | addNavigationArea (const DtFilename &, makVrv::DtUniqueID *resID=0) |
| Adds a new navigation area that is referenced by the given filename. | |
| virtual int | profilesToGenerate (makVrv::DtUniqueID) const |
| Returns the number of profiles that the nav area wants to generate. | |
| virtual DtEnvironmentalFacadeCollection * | createNavigationArea (const NavigationArea &) const |
| Creates an environmental facade collection of DtNavigationAreaObjectType in the local object manager. | |
| virtual void | selectNavigationAreas (const std::set< makVrv::DtUniqueID > &, bool selectOnMap=true) |
| Selects the given navigation areas – mainly used for display of currently selected navigation areas. | |
| const std::set < makVrv::DtUniqueID > & | selectedNavigationAreas () const |
| virtual Status | status (makVrv::DtUniqueID) |
| Status of the particular area. | |
| virtual void | revertNavigationArea (makVrv::DtUniqueID) |
| If there has been a change, revert the navigation area to the original area. | |
| virtual bool | isModified (makVrv::DtUniqueID) const |
| Returns true if the navigation area has been changed from the original configuration. | |
| virtual bool | navDataGenerated (const NavigationArea &) const |
| Returns true, if, for the given navigation area, all navigation data is generated. | |
| virtual void | generateNavigationArea (makVrv::DtUniqueID) |
| Adds this navigation area to the queue to be generated. Will also make the area non-editable until it is generated. | |
| virtual void | regenerateAllUngeneratedAreas () |
| Will regenerate only navigation areas that need to be regenerated. | |
| virtual void | saveConfigurations () |
| Saves all configurations loaded for the current terrain. | |
| virtual makVrv::DtUniqueID | generatingNavigationArea () const |
| Returns the navigation area currently being generated. | |
| virtual void | generateAllNavigationAreas () |
| Schedules all navigation areas for generation. | |
| virtual bool | generatingAnyNavigationArea () |
| Returns true if any navigation areas are being generated. | |
| virtual void | removeCurrentFromGeneration () |
| Removes the current area from generation. | |
| virtual void | removeAllFromGeneration () |
| Removes all areas from generation. | |
| virtual void | removeNavigationAreaForGeneration (makVrv::DtUniqueID) |
| If in the queue, removes this item from being generated. | |
| virtual bool | scheduledForGeneration (makVrv::DtUniqueID) const |
| Returns true if this area is scheduled to be generated. | |
| virtual bool | isNavigationArea (makVrv::DtUniqueID) const |
| Returns true if the given id is a navigation area. | |
| virtual makVrv::DtUniqueID | navigationAreaForConfigurationFile (const DtFilename &) const |
| Returns the id of the navigation area for the given configuration file. | |
| virtual void | setShowNavigationAreas (bool) |
| Sets whether or not to show all navigation areas. If all are not shown only the current navigation area is. | |
| virtual bool | showNavigationAreas () const |
| virtual void | setShowProgressOnGenerationStart (bool b) |
| Sets whether or not to show the navigation area generation progress dialog when generation starts. | |
| virtual bool | showProgressOnGenerationStart () const |
| virtual void | removeNavigationArea (makVrv::DtUniqueID, bool ask=false) |
| Removes the navigation area from the manager and from the DtVrfTerrain. | |
| virtual void | setGenerationCheckDelta (double) |
| Update the time (in seconds) to check for the presence of a generated navigation data profile. | |
| double | generationCheckDelta () const |
| virtual std::map< DtString, DtFilename > | profilesAndOutputDirectoriesFor (makVrv::DtUniqueID id) const |
| Given the id, return a list of the profiles to generate and where their output will go. | |
| const NavigationAreas & | navigationAreas () const |
| virtual void | setMaximumNavigationAreaCellSize (double length, double width) |
| Maximum navigation area cell length/width. Default is 20km. | |
| virtual void | getMaximumNavigationAreaCellSize (double &length, double &width) |
| virtual bool | needsRegeneration () const |
| Returns true if any of the items needs regeneration. | |
| virtual bool | startGenerationProcess (makVrv::DtUniqueID, makVrv::DtUnicode &error) |
| Starts the process of generating the navigation area. | |
| virtual std::vector< DtVector > | convertRuntimeExtentToLocations (const DtRwNavRuntimeConfig &, bool &valid) const |
| Returns the four corners from the Kaim system of points to local database. | |
| virtual DtFilename | navDataRuntimeDirectory (const NavigationArea &) const |
| Returns the directory that the navigation data is in for this nav area (root plus runtime navigation configuration name) | |
| virtual DtFilename | navDataRuntimeDirectory (makVrv::DtUniqueID) const |
| virtual bool | checkValidExtent (const std::vector< DtVector > &) const |
| Checks to see if this extent at least contains the database origin. | |
| bool | generationHadErrors () const |
| SimObjectNavigationAreas & | simObjectNavAreas () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtNavigationAreasManager & | instance (makVrv::DtDe &de) |
| Returns DtLocalWeatherManager of the manager. | |
| static void | registerInstance (makVrv::DtDe &, DtNavigationAreasManager *) |
| Register a new manager instance. | |
Protected Types | |
| typedef std::vector < makVrv::DtUniqueID > | NavigationAreasToGenerate |
Protected Member Functions | |
| virtual void | initExistingNavigationAreas () |
| virtual void | slot_terrainCleared () |
| virtual void | showNavigationArea (const NavigationArea &) |
| virtual void | initialize () |
| virtual void | navigationAreaUpdated (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| virtual void | navigationAreaAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| virtual void | tick () |
| virtual void | navAreaDebugPortsReceived (DtSimMessage *) |
| Called when a navigation area is added in a back-end and supplies the port. | |
| virtual void | simObjectNavareaDebugPortsReceived (DtSimMessage *) |
| virtual void | detachIfAttachedToNavigationArea (makVrv::DtUniqueID) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| NavigationAreas | myNavigationAreas |
| std::set< makVrv::DtUniqueID > | mySelectedNavigationAreas |
| NavigationAreasToGenerate | myNavigationAreasToGenerate |
| QProcess * | myNavigationGenerationProcess |
| makVrv::DtUniqueID | myGeneratingNavigationArea |
| std::vector< std::string > | myProfilesToGenerate |
| DtTimedSection | myTimedSection |
| double | myTimeSinceLastCheck |
| double | myGenerationCheckDelta |
| bool | myGenerationHadErrors |
| SimObjectNavigationAreas | mySimObjectNavAreas |
| typedef std::map<makVrv::DtUniqueID, NavigationArea> makVrf::DtNavigationAreasManager::NavigationAreas |
| typedef std::map<DtUUID, SimObjectNavigationArea> makVrf::DtNavigationAreasManager::SimObjectNavigationAreas |
|
protected |
| makVrf::DtNavigationAreasManager::DtNavigationAreasManager | ( | makVrv::DtDe & | ) |
CTOR.
|
virtual |
DTOR.
|
static |
Returns DtLocalWeatherManager of the manager.
Reimplemented in makVrf::DtQtNavigationAreasManager.
|
static |
Register a new manager instance.
|
virtual |
Adds a new navigation area that is referenced by the given filename.
This filename is assumed to be the root of a particular navigation area (for example, Ground-db Area 1.navRuntimeConfig)
|
virtual |
Returns the number of profiles that the nav area wants to generate.
|
virtual |
Creates an environmental facade collection of DtNavigationAreaObjectType in the local object manager.
|
virtual |
Selects the given navigation areas – mainly used for display of currently selected navigation areas.
| const std::set<makVrv::DtUniqueID>& makVrf::DtNavigationAreasManager::selectedNavigationAreas | ( | ) | const |
|
virtual |
Status of the particular area.
|
virtual |
If there has been a change, revert the navigation area to the original area.
This must be done before navigation area generation
|
virtual |
Returns true if the navigation area has been changed from the original configuration.
|
virtual |
Returns true, if, for the given navigation area, all navigation data is generated.
This is checked by seeing if there are profile directories in the navigation data path for all profiles
|
virtual |
Adds this navigation area to the queue to be generated. Will also make the area non-editable until it is generated.
|
virtual |
Will regenerate only navigation areas that need to be regenerated.
|
virtual |
Saves all configurations loaded for the current terrain.
|
virtual |
Returns the navigation area currently being generated.
|
virtual |
Schedules all navigation areas for generation.
|
virtual |
Returns true if any navigation areas are being generated.
|
virtual |
Removes the current area from generation.
|
virtual |
Removes all areas from generation.
|
virtual |
If in the queue, removes this item from being generated.
|
virtual |
Returns true if this area is scheduled to be generated.
|
virtual |
Returns true if the given id is a navigation area.
|
virtual |
Returns the id of the navigation area for the given configuration file.
|
virtual |
Sets whether or not to show all navigation areas. If all are not shown only the current navigation area is.
|
virtual |
|
virtual |
Sets whether or not to show the navigation area generation progress dialog when generation starts.
|
virtual |
|
virtual |
Removes the navigation area from the manager and from the DtVrfTerrain.
This will mark the terrain as modified such that the user will be asked to save before closing or exiting
Reimplemented in makVrf::DtQtNavigationAreasManager.
|
virtual |
Update the time (in seconds) to check for the presence of a generated navigation data profile.
| double makVrf::DtNavigationAreasManager::generationCheckDelta | ( | ) | const |
|
virtual |
Given the id, return a list of the profiles to generate and where their output will go.
|
inline |
|
virtual |
Maximum navigation area cell length/width. Default is 20km.
|
virtual |
|
virtual |
Returns true if any of the items needs regeneration.
|
virtual |
Starts the process of generating the navigation area.
Returns false if the navigation area cannot be generated. Check the error string for reason why
|
virtual |
Returns the four corners from the Kaim system of points to local database.
|
virtual |
Returns the directory that the navigation data is in for this nav area (root plus runtime navigation configuration name)
|
virtual |
|
virtual |
Checks to see if this extent at least contains the database origin.
Will also return true if this database is geocentric
|
inline |
|
inline |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in makVrf::DtQtNavigationAreasManager.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Called when a navigation area is added in a back-end and supplies the port.
|
protectedvirtual |
|
protectedvirtual |
| boost::signal<void (bool)> makVrf::DtNavigationAreasManager::signal_showNavigationAreasChanged |
| boost::signal<void ()> makVrf::DtNavigationAreasManager::signal_areasCleared |
| boost::signal<void (makVrv::DtUniqueID, NavigationArea, bool)> makVrf::DtNavigationAreasManager::signal_navigationAreaAdded |
| boost::signal<void (makVrv::DtUniqueID)> makVrf::DtNavigationAreasManager::signal_navigationAreaRemoved |
| boost::signal<void (makVrv::DtUniqueID, NavigationArea)> makVrf::DtNavigationAreasManager::signal_navigationAreaUpdated |
| boost::signal<void (makVrv::DtUniqueID, makVrv::DtUnicode)> makVrf::DtNavigationAreasManager::signal_generationError |
| boost::signal<void (makVrv::DtUniqueID, makVrv::DtUnicode)> makVrf::DtNavigationAreasManager::signal_startingGeneration |
| boost::signal<void ()> makVrf::DtNavigationAreasManager::signal_generationComplete |
| boost::signal<void (makVrv::DtUniqueID)> makVrf::DtNavigationAreasManager::signal_generationRequested |
| boost::signal<void (makVrv::DtUniqueID, const DtFilename&)> makVrf::DtNavigationAreasManager::signal_profileGenerated |
| boost::signal<void ()> makVrf::DtNavigationAreasManager::signal_navigationAreaGenerationProcessStarted |
| boost::signal<void (QProcess*)> makVrf::DtNavigationAreasManager::signal_generatorProcessStarted |
| boost::signal<void ()> makVrf::DtNavigationAreasManager::signal_generatorProcessCompleted |
| boost::signal<void (makVrv::DtUniqueID, int)> makVrf::DtNavigationAreasManager::signal_removedFromGeneration |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |