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 | Static Public Member Functions | Protected Slots | Protected Member Functions
makVrf::DtQtNavigationAreasManager Class Reference
Inheritance diagram for makVrf::DtQtNavigationAreasManager:
Inheritance graph
[legend]

Public Member Functions

 DtQtNavigationAreasManager (makVrv::DtDe &)
 CTOR. More...
 
virtual ~DtQtNavigationAreasManager ()
 DTOR. More...
 
virtual void removeNavigationArea (makVrv::DtUniqueID id, bool ask=false)
 Removes the navigation area from the manager and from the DtVrfTerrain. More...
 
virtual void launchNavigationLabFor (makVrv::DtUniqueID)
 Puts up a dialog of information the user can use to put into navigation lab and launches nav lab application. More...
 
- Public Member Functions inherited from makVrf::DtNavigationAreasManager
 DtNavigationAreasManager (makVrv::DtDe &)
 CTOR. More...
 
virtual ~DtNavigationAreasManager ()
 DTOR. More...
 
virtual bool addNavigationArea (const DtFilename &, makVrv::DtUniqueID *resID=0)
 Adds a new navigation area that is referenced by the given filename. More...
 
virtual int profilesToGenerate (makVrv::DtUniqueID) const
 Returns the number of profiles that the nav area wants to generate. More...
 
virtual
DtEnvironmentalFacadeCollection
createNavigationArea (const NavigationArea &) const
 Creates an environmental facade collection of DtNavigationAreaObjectType in the local object manager. More...
 
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. More...
 
const std::set
< makVrv::DtUniqueID > & 
selectedNavigationAreas () const
 
virtual Status status (makVrv::DtUniqueID)
 Status of the particular area. More...
 
virtual const
DtNavSectorIndicesByBackEnd
sectorsBeingRegenerated (makVrv::DtUniqueID) const
 The sectors current being regenerated, on each back end, for the particular area. More...
 
virtual const
DtNavSectorIndicesByBackEnd
sectorsQueuedForRegeneration (makVrv::DtUniqueID) const
 The sectors currently queued for regeneration, on each back end, for the particular area. More...
 
virtual void revertNavigationArea (makVrv::DtUniqueID)
 If there has been a change, revert the navigation area to the original area. More...
 
virtual bool isModified (makVrv::DtUniqueID) const
 Returns true if the navigation area has been changed from the original configuration. More...
 
virtual Status navDataGenerated (const NavigationArea &) const
 Returns "Generated", if, for the given navigation area, all navigation data is generated. More...
 
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. More...
 
virtual void regenerateAllUngeneratedAreas ()
 Will regenerate only navigation areas that need to be regenerated. More...
 
virtual void saveConfigurations ()
 Saves all configurations loaded for the current terrain. More...
 
virtual makVrv::DtUniqueID generatingNavigationArea () const
 Returns the navigation area currently being generated. More...
 
virtual void generateAllNavigationAreas ()
 Schedules all navigation areas for generation. More...
 
virtual bool generatingAnyNavigationArea ()
 Returns true if any navigation areas are being generated. More...
 
virtual void removeCurrentFromGeneration ()
 Removes the current area from generation. More...
 
virtual void removeAllFromGeneration ()
 Removes all areas from generation. More...
 
virtual void removeNavigationAreaForGeneration (makVrv::DtUniqueID)
 If in the queue, removes this item from being generated. More...
 
virtual bool scheduledForGeneration (makVrv::DtUniqueID) const
 Returns true if this area is scheduled to be generated. More...
 
virtual bool isNavigationArea (makVrv::DtUniqueID) const
 Returns true if the given id is a navigation area. More...
 
virtual makVrv::DtUniqueID navigationAreaForConfigurationFile (const DtFilename &) const
 Returns the id of the navigation area for the given configuration file. More...
 
virtual void setShowNavigationAreas (bool)
 Sets whether or not to show all navigation areas. If all are not shown only the current navigation area is. More...
 
virtual bool showNavigationAreas () const
 
virtual void setShowProgressOnGenerationStart (bool b)
 Sets whether or not to show the navigation area generation progress dialog when generation starts. More...
 
virtual bool showProgressOnGenerationStart () const
 
virtual void setGenerationCheckDelta (double)
 Update the time (in seconds) to check for the presence of a generated navigation data profile. More...
 
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. More...
 
const NavigationAreasnavigationAreas () const
 
virtual void setMaximumNavigationAreaCellSize (double length, double width)
 Maximum navigation area cell length/width. Default is 20km. More...
 
virtual void getMaximumNavigationAreaCellSize (double &length, double &width)
 
virtual bool needsRegeneration () const
 Returns true if any of the items needs regeneration. More...
 
virtual bool startGenerationProcess (makVrv::DtUniqueID, makVrv::DtUnicode &error)
 Starts the process of generating the navigation area. More...
 
virtual std::vector< DtVectorconvertRuntimeExtentToLocations (const DtRwNavRuntimeConfig &, bool &valid) const
 Returns the four corners from the Kaim system of points to local database. More...
 
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) More...
 
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. More...
 
virtual DtVector convertToLocalNavigationArea (const DtVector &geocentric) const
 Converts from geocentric to the local coordinatae system of the navigation area. More...
 
bool generationHadErrors () const
 
SimObjectNavigationAreassimObjectNavAreas ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Static Public Member Functions

static DtQtNavigationAreasManagerinstance (makVrv::DtDe &de)
 
- Static Public Member Functions inherited from makVrf::DtNavigationAreasManager
static DtNavigationAreasManagerinstance (makVrv::DtDe &de)
 Returns DtLocalWeatherManager of the manager. More...
 
static void registerInstance (makVrv::DtDe &, DtNavigationAreasManager *)
 Register a new manager instance. More...
 

Protected Slots

virtual void startNavLab ()
 

Protected Member Functions

virtual void slot_objectToBeDeleted (makVrv::DtUniqueID, int &)
 If navigation area directory exists, put up dialog to ask if to just remove from the terrain and remove and delete directories, if the object to be deleted is a navigation area. More...
 
virtual void initialize ()
 
virtual void localInitialize ()
 
virtual void checkDelete (makVrv::DtUniqueID, int &)
 
virtual void slot_resetNavigationAreaMarkingText ()
 
- Protected Member Functions inherited from makVrf::DtNavigationAreasManager
virtual void initExistingNavigationAreas ()
 
virtual void slot_navigationAreasCleared ()
 
virtual void showNavigationArea (const NavigationArea &)
 
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. More...
 
virtual void simObjectNavareaDebugPortsReceived (DtSimMessage *)
 
virtual void detachIfAttachedToNavigationArea (makVrv::DtUniqueID)
 
virtual void slot_onCurrentSelectionChanged (const makVrv::DtSelectionManager::IdSet &selected, const makVrv::DtSelectionManager::IdSet &deselected)
 

Additional Inherited Members

- Public Types inherited from makVrf::DtNavigationAreasManager
enum  Status {
  Unknown = -1, Generated, NeedsGeneration, Generating,
  ScheduledForGeneration
}
 
typedef std::map< std::string,
DtNavSectorIndices
DtNavSectorIndicesByBackEnd
 
typedef std::map
< makVrv::DtUniqueID,
NavigationArea
NavigationAreas
 
typedef std::map< DtUUID,
SimObjectNavigationArea
SimObjectNavigationAreas
 
- Public Attributes inherited from makVrf::DtNavigationAreasManager
boost::signals2::signal< void(bool)> signal_showNavigationAreasChanged
 
boost::signals2::signal< void()> signal_areasCleared
 
boost::signals2::signal< void(makVrv::DtUniqueID,
NavigationArea, bool)> 
signal_navigationAreaAdded
 
boost::signals2::signal< void(makVrv::DtUniqueID)> signal_navigationAreaRemoved
 
boost::signals2::signal< void(makVrv::DtUniqueID,
NavigationArea)> 
signal_navigationAreaUpdated
 
boost::signals2::signal< void(makVrv::DtUniqueID,
makVrv::DtUnicode)> 
signal_generationError
 
boost::signals2::signal< void(makVrv::DtUniqueID,
makVrv::DtUnicode)> 
signal_startingGeneration
 
boost::signals2::signal< void()> signal_generationComplete
 
boost::signals2::signal< void(makVrv::DtUniqueID)> signal_generationRequested
 
boost::signals2::signal< void(makVrv::DtUniqueID,
const DtFilename &)> 
signal_profileGenerated
 
boost::signals2::signal< void()> signal_navigationAreaGenerationProcessStarted
 
boost::signals2::signal< void(QProcess *)> signal_generatorProcessStarted
 
boost::signals2::signal< void()> signal_generatorProcessCompleted
 
boost::signals2::signal< void(makVrv::DtUniqueID,
int)> 
signal_removedFromGeneration
 
- Protected Types inherited from makVrf::DtNavigationAreasManager
typedef std::vector
< makVrv::DtUniqueID
NavigationAreasToGenerate
 
- Protected Attributes inherited from makVrf::DtNavigationAreasManager
makVrv::DtDemyDe
 
makVrv::DtSignalConnectionManager myConnectionManager
 
makVrv::DtSignalConnectionManager myInitializeConnectionManager
 
NavigationAreas myNavigationAreas
 
std::set< makVrv::DtUniqueIDmySelectedNavigationAreas
 
NavigationAreasToGenerate myNavigationAreasToGenerate
 
QProcess * myNavigationGenerationProcess
 
makVrv::DtUniqueID myGeneratingNavigationArea
 
std::vector< std::string > myProfilesToGenerate
 
DtTimedSection myTimedSection
 
double myTimeSinceLastCheck
 
double myGenerationCheckDelta
 
bool myGenerationHadErrors
 
SimObjectNavigationAreas mySimObjectNavAreas
 

Constructor & Destructor Documentation

makVrf::DtQtNavigationAreasManager::DtQtNavigationAreasManager ( makVrv::DtDe )

CTOR.

virtual makVrf::DtQtNavigationAreasManager::~DtQtNavigationAreasManager ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtQtNavigationAreasManager::removeNavigationArea ( makVrv::DtUniqueID  ,
bool  ask = false 
)
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 from makVrf::DtNavigationAreasManager.

static DtQtNavigationAreasManager& makVrf::DtQtNavigationAreasManager::instance ( makVrv::DtDe de)
static
virtual void makVrf::DtQtNavigationAreasManager::launchNavigationLabFor ( makVrv::DtUniqueID  )
virtual

Puts up a dialog of information the user can use to put into navigation lab and launches nav lab application.

virtual void makVrf::DtQtNavigationAreasManager::slot_objectToBeDeleted ( makVrv::DtUniqueID  ,
int  
)
protectedvirtual

If navigation area directory exists, put up dialog to ask if to just remove from the terrain and remove and delete directories, if the object to be deleted is a navigation area.

virtual void makVrf::DtQtNavigationAreasManager::initialize ( )
protectedvirtual

Reimplemented from makVrf::DtNavigationAreasManager.

virtual void makVrf::DtQtNavigationAreasManager::localInitialize ( )
protectedvirtual
virtual void makVrf::DtQtNavigationAreasManager::checkDelete ( makVrv::DtUniqueID  ,
int  
)
protectedvirtual
virtual void makVrf::DtQtNavigationAreasManager::slot_resetNavigationAreaMarkingText ( )
protectedvirtual
virtual void makVrf::DtQtNavigationAreasManager::startNavLab ( )
protectedvirtualslot

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)