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

Maintains and signals state of the simulation engines that are currently connected to the GUI. This class also handles the thread boundary for simulation engine state messages that come from the communication thread, so that subset of the methods on this class are thread safe.

Related Examples

Inheritance diagram for makVrf::DtVrfSimBackendManager:
Inheritance graph
[legend]

Public Types

typedef std::map< std::string,
DtVrfBackendState * > 
DtVrfSimBackendStates
 

Public Member Functions

 DtVrfSimBackendManager (makVrv::DtDe &)
 
virtual ~DtVrfSimBackendManager ()
 
virtual bool backEndsPresent () const
 
virtual bool anyBackendsLoading () const
 
virtual bool anyBackendsCreatingSimulationObjectGroup () const
 
virtual bool anyBackendsClosing () const
 
virtual bool allBackendsClosingOrClosed () const
 
virtual bool anyBackendsLoaded () const
 
virtual bool allBackendsLoaded () const
 
virtual bool backendLoaded (const DtSimulationAddress &) const
 
virtual bool backendSaving (const DtSimulationAddress &) const
 
virtual bool anyBackendsPlaying () const
 
virtual DtList backends () const
 
virtual bool anyBackendsInControlState (int state) const
 
virtual bool hasDynamicTerrainServer () const
 
virtual DtSimulationAddress firstBackendThatCanSimulate () const
 
virtual bool allBackendsCanSimulate () const
 
virtual bool anyBackendCanSimulate () const
 
virtual bool backendCanSimulate (const DtSimulationAddress &) const
 
virtual void duplicateBackendDiscovered (const DtSimulationAddress &)
 
virtual double timeMultiplier () const
 
virtual DtSimulationStatus simulationStatus () const
 
virtual DtVrfBackendStatestateFor (const DtSimulationAddress &) const
 
virtual const DtSimulationAddress & selectedBackend () const
 
virtual void setSelectedBackend (const DtSimulationAddress &)
 
virtual void simulationAddresses (std::set< std::string > &)
 
virtual int numberOfBackends () const
 
virtual void clearSelectedBackend ()
 
virtual DtVrfBackendStatefirstTimeBackend () const
 
virtual DtVrfBackendStatefirstBackendThatIsLoaded () const
 
virtual DtSimulationAddress preferredBackendAddress () const
 
virtual double simTime () const
 
virtual double runDurationTime () const
 
virtual int scenarioRunId () const
 
virtual double timeOfDay () const
 
virtual double simStartSimTime () const
 
const DtVrfSimBackendStatesbackendStates () const
 
const DtVrfSimBackendStatesallBackendStates () const
 
virtual std::map< short, intcurrentObjectCounts () const
 
virtual const std::map< short,
int > & 
currentObjectCount (const DtSimulationAddress &) const
 
virtual void signalWhenAllBackendsClosed ()
 
virtual void signalIfAllBackendsClosed ()
 
virtual void signalWhenAllBackendsLoaded ()
 
virtual void clearNotificationWhenBackendsLoaded ()
 
virtual void signalIfAllBackendsLoaded ()
 
virtual void signalWhenAllBackendsSaved ()
 
virtual void clearNotificationWhenBackendsSaved ()
 
virtual void signalIfAllBackendsSaved (bool checkpointSave)
 
virtual void setFrameRateMode (char mode)
 
char frameRateMode () const
 
std::string sessionScenario () const
 
virtual void setSessionScenario (const std::string &)
 
std::string sessionScenarioFilename () const
 
virtual void setSessionScenarioFilename (const std::string &)
 
std::string sessionGuiTerrain () const
 
virtual void setSessionGuiTerrain (const std::string &)
 
std::string sessionSimTerrain () const
 
virtual void setSessionSimTerrain (const std::string &)
 
const std::vector< DtFilename > & simulationModelSets () const
 
virtual void setSimulationModelSets (const DtRwNLengthStringVector &)
 
virtual void sessionStatusChanged (const DtSessionStatus &status)
 
virtual time_t dateAndTimeOfDay () const
 
virtual void setDateAndTimeOfDay (time_t)
 
virtual void resetDateAndTimeOfDay ()
 
virtual const std::map
< std::string, bool
backendsLoading () const
 
virtual const std::map
< std::string, bool
backendsClosing () const
 
virtual void removeAllBackends ()
 
virtual void addBackend (const DtBackend *)
 
virtual void backendRemoved (const DtSimulationAddress &)
 
virtual void backendUpdated (const DtSimulationAddress &, const DtBackend *)
 
virtual void simulationStatusChanged (DtSimulationStatus)
 
- Public Member Functions inherited from makVrf::DtQueuedManager
 DtQueuedManager (makVrv::DtDe &)
 
virtual ~DtQueuedManager ()
 
virtual void setActivated (bool)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtVrfSimBackendManagerinstance (makVrv::DtDe &de)
 

Public Attributes

boost::signals2::signal< void()> signal_allBackendsClosed
 
boost::signals2::signal< void()> signal_allBackendsLoaded
 
boost::signals2::signal< void(bool)> signal_allBackendsSaved
 
boost::signals2::signal< void(const
DtVrfBackendState &)> 
signal_frameRatesUpdated
 
boost::signals2::signal< void(const
DtVrfBackendState &)> 
signal_backendDiscovered
 
boost::signals2::signal< void(const
DtVrfBackendState &)> 
signal_nonSimulationBackendDiscovered
 
boost::signals2::signal< void(const
DtVrfBackendState &)> 
signal_backendRemoved
 
boost::signals2::signal< void(const
DtVrfBackendState &)> 
signal_nonSimulationBackenRemoved
 
boost::signals2::signal< void(const
DtVrfBackendState &, int)> 
signal_backendUpdated
 
boost::signals2::signal< void(int)> signal_sessionUpdated
 
boost::signals2::signal< void(const
DtVrfBackendState &)> 
signal_duplicateSimulationAddress
 
boost::signals2::signal< void(const
DtSimulationAddress &old,
const DtSimulationAddress
&newaddr)> 
signal_selectedBackendChanged
 
boost::signals2::signal< void()> signal_allBackendsAboutToBeRemoved
 
boost::signals2::signal< void(DtSimulationStatus)> signal_simulationStatusChanged
 
boost::signals2::signal< void(const
DtSimulationAddress &)> 
signal_objectCountsChanged
 

Protected Types

typedef std::map< std::string,
DtIfPing * > 
Pings
 
- Protected Types inherited from makVrf::DtQueuedManager
typedef
makVrv::DtLockedBufferedQueue
< boost::function< void()> > 
DtVrfBackendManagerCallQueue
 
typedef std::vector
< boost::function< void()> > 
DtVrfBackendManagerCallList
 

Protected Member Functions

virtual void processSimulationStatusChanged (DtSimulationStatus)
 
virtual DtLocalWeatherManagerlocalWeatherManager () const
 
virtual void tick ()
 
virtual double simTimeFromBackend () const
 
virtual void updateDateAndTimeOfDay ()
 
virtual void slot_dateAndTimeOfDayChanged (int year, int month, int day, int hours, int mins, int secs)
 
virtual void slot_frameRatesUpdated (const DtVrfBackendState &)
 
virtual void simulationBackendRemoved (DtVrfBackendState *)
 
virtual void simulationBackendDiscovered (DtVrfBackendState *)
 
virtual void simulationBackendUpdated (DtSimulationAddress, int)
 
virtual void duplicateSimulationBackendDiscovered (DtSimulationAddress)
 
virtual void processSessionStatusChange (DtSessionStatus)
 
virtual void processLoadCompleteCallback (DtSimMessage *)
 
virtual void processSaveCompleteCallback (DtSimMessage *)
 
virtual void backendSaved (const std::string &, bool checkpointSave)
 
virtual void setBackendSaving (const DtSimulationAddress &, bool b)
 
virtual void updateSessionInformation (int sessionFlags=0)
 
virtual void clear ()
 
- Protected Member Functions inherited from makVrf::DtQueuedManager
virtual void queueSimulationFunction (const boost::function< void()> &function)
 
virtual void runFunctionQueue (DtVrfBackendManagerCallQueue &queue)
 

Protected Attributes

makVrv::DtBaseSimulation * mySimulation
 
DtVrfSimBackendStates myBackendStates
 
DtVrfSimBackendStates myAllBackendStates
 
DtSimulationAddress mySelectedBackend
 
bool mySignalWhenAllBackendsClosed
 
bool mySignalWhenAllBackendsLoaded
 
bool mySignalWhenAllBackendsSaved
 
std::map< std::string, charmyBackendsWaitingForSave
 
std::map< std::string, boolmyAlreadyDuplicateWarned
 
std::map< std::string, boolmyNeedToLoad
 
std::set< std::string > myNeedToSave
 
DtSessionStatus mySessionStatus
 
std::map< std::string, boolmyJustLoadedMap
 
std::map< std::string, boolmyLoadingMap
 
std::map< std::string, boolmyReinitializingMap
 
std::map< std::string, boolmyClosingMap
 
std::map< std::string, boolmyJustClosedMap
 
std::map< std::string, boolmyJustRolledBackMap
 
std::map< std::string, boolmyRollingBackMap
 
std::map< std::string, boolmyImportingMap
 
std::map< std::string, boolmyCreatingSimulationObjectGroupMap
 
std::set< std::string > myBackendWasClosing
 
std::set< std::string > myWarnDuplicateOnAdd
 
double mySimTime
 
double myLastSimTime
 
double myDateAndTimeOfDay
 
makVrv::DtSignalConnectionManager myConnectionManager
 
bool myCloseProcessStarted
 
bool myInSaveCallback
 
DtLocalWeatherManagermyLocalWeatherManager
 
DtSimulationStatus mySimulationStatus
 
bool myBackendsAlreadyLoaded
 
Pings myPings
 
- Protected Attributes inherited from makVrf::DtQueuedManager
makVrv::DtDemyDe
 
DtVrfBackendManagerCallQueue myFunctionCallQueue
 
bool myActivated
 
boost::signals2::signal< void(DtSimulationAddress,
DtIfPing *)> 
signal_receivedPing
 
virtual void pingServer (const DtSimulationAddress &)
 
virtual bool pingReceived (const DtSimulationAddress &) const
 
virtual double latency (const DtSimulationAddress &) const
 
virtual void processPing (DtSimMessage *)
 
virtual DtIfPingpingForServer (const DtSimulationAddress &) const
 

Member Typedef Documentation

typedef std::map<std::string, DtIfPing*> makVrf::DtVrfSimBackendManager::Pings
protected

Constructor & Destructor Documentation

makVrf::DtVrfSimBackendManager::DtVrfSimBackendManager ( makVrv::DtDe )
virtual makVrf::DtVrfSimBackendManager::~DtVrfSimBackendManager ( )
virtual

Member Function Documentation

static DtVrfSimBackendManager& makVrf::DtVrfSimBackendManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

virtual bool makVrf::DtVrfSimBackendManager::backEndsPresent ( ) const
virtual

Returns true if there are any back-ends present.

virtual bool makVrf::DtVrfSimBackendManager::anyBackendsLoading ( ) const
virtual

Returns true if any back-ends are loading.

virtual bool makVrf::DtVrfSimBackendManager::anyBackendsCreatingSimulationObjectGroup ( ) const
virtual

Return true if any backends are creating a simulation object group.

virtual bool makVrf::DtVrfSimBackendManager::anyBackendsClosing ( ) const
virtual

Returns true if any back-ends are closing.

virtual bool makVrf::DtVrfSimBackendManager::allBackendsClosingOrClosed ( ) const
virtual

Returns true if any back-ends are closing (or closed)

virtual bool makVrf::DtVrfSimBackendManager::anyBackendsLoaded ( ) const
virtual

Returns true if any back-ends are loaded.

virtual bool makVrf::DtVrfSimBackendManager::allBackendsLoaded ( ) const
virtual

Returns true if all back-ends are loaded.

virtual bool makVrf::DtVrfSimBackendManager::backendLoaded ( const DtSimulationAddress &  ) const
virtual

Returns true if specified back-end is loaded.

virtual bool makVrf::DtVrfSimBackendManager::backendSaving ( const DtSimulationAddress &  ) const
virtual

Returns true if specified back-end is saving.

virtual bool makVrf::DtVrfSimBackendManager::anyBackendsPlaying ( ) const
virtual

Returns true if any back-ends are playing a scenario

virtual DtList makVrf::DtVrfSimBackendManager::backends ( ) const
virtual

Returns a DtList of DtBackend objects.

virtual bool makVrf::DtVrfSimBackendManager::anyBackendsInControlState ( int  state) const
virtual

Returns true any backend is in the particular control state (play, pause)

virtual bool makVrf::DtVrfSimBackendManager::hasDynamicTerrainServer ( ) const
virtual

Returns true if there are any back-ends hosting a terrain server.

virtual DtSimulationAddress makVrf::DtVrfSimBackendManager::firstBackendThatCanSimulate ( ) const
virtual

First backend in list that can simulate.

virtual bool makVrf::DtVrfSimBackendManager::allBackendsCanSimulate ( ) const
virtual

Returns true if all back-ends are ready to simulate.

virtual bool makVrf::DtVrfSimBackendManager::anyBackendCanSimulate ( ) const
virtual

Returns true if any backend can simulate.

virtual bool makVrf::DtVrfSimBackendManager::backendCanSimulate ( const DtSimulationAddress &  ) const
virtual

Returns true if the specified backend can simulate.

virtual void makVrf::DtVrfSimBackendManager::duplicateBackendDiscovered ( const DtSimulationAddress &  )
virtual

Called when a duplicate backend is discovered. Will queue duplicateSimulationBackendDiscovered.

virtual double makVrf::DtVrfSimBackendManager::timeMultiplier ( ) const
virtual

Returns the time multiplier of the scenario.

virtual void makVrf::DtVrfSimBackendManager::removeAllBackends ( )
virtual

Called by the DtVrfBackendInterceptor when backend status has changed in some way. Will be called from the communication thread, so these methods handle passing this information into the main thread using the DtQueuedManager parent class.

virtual void makVrf::DtVrfSimBackendManager::addBackend ( const DtBackend )
virtual

Called by the DtVrfBackendInterceptor when backend status has changed in some way. Will be called from the communication thread, so these methods handle passing this information into the main thread using the DtQueuedManager parent class.

virtual void makVrf::DtVrfSimBackendManager::backendRemoved ( const DtSimulationAddress &  )
virtual

Called by the DtVrfBackendInterceptor when backend status has changed in some way. Will be called from the communication thread, so these methods handle passing this information into the main thread using the DtQueuedManager parent class.

virtual void makVrf::DtVrfSimBackendManager::backendUpdated ( const DtSimulationAddress &  ,
const DtBackend  
)
virtual

Called by the DtVrfBackendInterceptor when backend status has changed in some way. Will be called from the communication thread, so these methods handle passing this information into the main thread using the DtQueuedManager parent class.

virtual void makVrf::DtVrfSimBackendManager::simulationStatusChanged ( DtSimulationStatus  )
virtual

Called by the DtVrfBackendInterceptor when backend status has changed in some way. Will be called from the communication thread, so these methods handle passing this information into the main thread using the DtQueuedManager parent class.

virtual DtSimulationStatus makVrf::DtVrfSimBackendManager::simulationStatus ( ) const
inlinevirtual

Returns the current simulation status of all the back-ends in the simulation. See backend.h for a list of simulation status.

virtual DtVrfBackendState* makVrf::DtVrfSimBackendManager::stateFor ( const DtSimulationAddress &  ) const
virtual
virtual const DtSimulationAddress& makVrf::DtVrfSimBackendManager::selectedBackend ( ) const
virtual
virtual void makVrf::DtVrfSimBackendManager::setSelectedBackend ( const DtSimulationAddress &  )
virtual
virtual void makVrf::DtVrfSimBackendManager::simulationAddresses ( std::set< std::string > &  )
virtual

Fills in the back-end addresses known.

virtual int makVrf::DtVrfSimBackendManager::numberOfBackends ( ) const
virtual
virtual void makVrf::DtVrfSimBackendManager::clearSelectedBackend ( )
virtual

Clears the currently selected backend.

virtual DtVrfBackendState* makVrf::DtVrfSimBackendManager::firstTimeBackend ( ) const
virtual

First backend that support simulation time.

virtual DtVrfBackendState* makVrf::DtVrfSimBackendManager::firstBackendThatIsLoaded ( ) const
virtual

First backend that is loaded.

virtual DtSimulationAddress makVrf::DtVrfSimBackendManager::preferredBackendAddress ( ) const
virtual

For single back-end operations (sim time, other back-end irrelevant requests) use this call to get the preferred back-end to use.

virtual double makVrf::DtVrfSimBackendManager::simTime ( ) const
virtual

Returns the maximum sim time of all known, loaded back-ends.

virtual double makVrf::DtVrfSimBackendManager::runDurationTime ( ) const
virtual

Returns the run duration time. 0 means run until user pauses.

virtual int makVrf::DtVrfSimBackendManager::scenarioRunId ( ) const
virtual

Returns the scenario run id. 0 means none was set, or, the ids are different.

virtual double makVrf::DtVrfSimBackendManager::timeOfDay ( ) const
virtual

Returns the current time of day (in seconds). Based on time of day in time manager and current simulation time.

virtual double makVrf::DtVrfSimBackendManager::simStartSimTime ( ) const
virtual

Returns the maximum sim start sim time of all known, loaded back-ends.

const DtVrfSimBackendStates& makVrf::DtVrfSimBackendManager::backendStates ( ) const
inline

These are only that backend states that can be simulated on (i.e has the DtScenarioCapabilities_CreateObjects capability)

const DtVrfSimBackendStates& makVrf::DtVrfSimBackendManager::allBackendStates ( ) const
inline

All backend states (regadless of DtScenarioCapabilities_CreateObjects capability)

virtual std::map<short, int> makVrf::DtVrfSimBackendManager::currentObjectCounts ( ) const
virtual

Returns a map which is the total of all objects (key of kind/domain and count) of all backends.

virtual const std::map<short, int>& makVrf::DtVrfSimBackendManager::currentObjectCount ( const DtSimulationAddress &  ) const
virtual

Returns a map of the objects counts of the particular back-end.

virtual void makVrf::DtVrfSimBackendManager::signalWhenAllBackendsClosed ( )
virtual

Sets the back-end manager to watch for all back-ends closed. Once closed, will stop watching.

virtual void makVrf::DtVrfSimBackendManager::signalIfAllBackendsClosed ( )
virtual

If there are no back-ends loaded, signals so and then sets the mySignalWhenAllBackendsClosed flag to false.

virtual void makVrf::DtVrfSimBackendManager::signalWhenAllBackendsLoaded ( )
virtual

Sets the back-end manager to watch for all back-ends loaded. If they are currently loaded will wait until they are closed then wait until they are all reloaded.

virtual void makVrf::DtVrfSimBackendManager::clearNotificationWhenBackendsLoaded ( )
virtual

Clears to signal when all backends loaded.

virtual void makVrf::DtVrfSimBackendManager::signalIfAllBackendsLoaded ( )
virtual

Will signal if all back-ends are loaded and the mySignalWhenAllBackendsClosed is false. Sets mySignalWhenAllBackendsLoaded flag to false upon completion.

virtual void makVrf::DtVrfSimBackendManager::signalWhenAllBackendsSaved ( )
virtual

Sets the back-end manager to watch for all back-ends switching from saving to non-saving state.

virtual void makVrf::DtVrfSimBackendManager::clearNotificationWhenBackendsSaved ( )
virtual

Clears to signal when all backends saved.

virtual void makVrf::DtVrfSimBackendManager::signalIfAllBackendsSaved ( bool  checkpointSave)
virtual

Will signal saved if the myBackendsWaitingForSave list is empty.

virtual void makVrf::DtVrfSimBackendManager::setFrameRateMode ( char  mode)
virtual
char makVrf::DtVrfSimBackendManager::frameRateMode ( ) const
inline
std::string makVrf::DtVrfSimBackendManager::sessionScenario ( ) const
inline
virtual void makVrf::DtVrfSimBackendManager::setSessionScenario ( const std::string &  )
virtual
std::string makVrf::DtVrfSimBackendManager::sessionScenarioFilename ( ) const
inline
virtual void makVrf::DtVrfSimBackendManager::setSessionScenarioFilename ( const std::string &  )
virtual
std::string makVrf::DtVrfSimBackendManager::sessionGuiTerrain ( ) const
inline
virtual void makVrf::DtVrfSimBackendManager::setSessionGuiTerrain ( const std::string &  )
virtual
std::string makVrf::DtVrfSimBackendManager::sessionSimTerrain ( ) const
inline
virtual void makVrf::DtVrfSimBackendManager::setSessionSimTerrain ( const std::string &  )
virtual
const std::vector<DtFilename>& makVrf::DtVrfSimBackendManager::simulationModelSets ( ) const
inline
virtual void makVrf::DtVrfSimBackendManager::setSimulationModelSets ( const DtRwNLengthStringVector )
virtual
virtual void makVrf::DtVrfSimBackendManager::sessionStatusChanged ( const DtSessionStatus status)
virtual

Called when session status has changed. Queues a function to deal with it.

virtual time_t makVrf::DtVrfSimBackendManager::dateAndTimeOfDay ( ) const
virtual
virtual void makVrf::DtVrfSimBackendManager::setDateAndTimeOfDay ( time_t  )
virtual
virtual void makVrf::DtVrfSimBackendManager::resetDateAndTimeOfDay ( )
virtual
virtual const std::map<std::string, bool> makVrf::DtVrfSimBackendManager::backendsLoading ( ) const
inlinevirtual
virtual const std::map<std::string, bool> makVrf::DtVrfSimBackendManager::backendsClosing ( ) const
inlinevirtual
virtual void makVrf::DtVrfSimBackendManager::pingServer ( const DtSimulationAddress &  )
virtual

Handles pinging of the server for requests/responses and whether or not there is a ping.

virtual bool makVrf::DtVrfSimBackendManager::pingReceived ( const DtSimulationAddress &  ) const
virtual

Handles pinging of the server for requests/responses and whether or not there is a ping.

virtual double makVrf::DtVrfSimBackendManager::latency ( const DtSimulationAddress &  ) const
virtual

Handles pinging of the server for requests/responses and whether or not there is a ping.

virtual void makVrf::DtVrfSimBackendManager::processPing ( DtSimMessage )
virtual

Handles pinging of the server for requests/responses and whether or not there is a ping.

virtual DtIfPing* makVrf::DtVrfSimBackendManager::pingForServer ( const DtSimulationAddress &  ) const
virtual

Handles pinging of the server for requests/responses and whether or not there is a ping.

virtual void makVrf::DtVrfSimBackendManager::processSimulationStatusChanged ( DtSimulationStatus  )
protectedvirtual
virtual DtLocalWeatherManager& makVrf::DtVrfSimBackendManager::localWeatherManager ( ) const
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::tick ( )
protectedvirtual

Lock sim time to allow consistant access to simulation time to those that want it.

Reimplemented from makVrf::DtQueuedManager.

virtual double makVrf::DtVrfSimBackendManager::simTimeFromBackend ( ) const
protectedvirtual

Returns the maximum sim time of all known, loaded back-ends.

virtual void makVrf::DtVrfSimBackendManager::updateDateAndTimeOfDay ( )
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::slot_dateAndTimeOfDayChanged ( int  year,
int  month,
int  day,
int  hours,
int  mins,
int  secs 
)
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::slot_frameRatesUpdated ( const DtVrfBackendState )
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::simulationBackendRemoved ( DtVrfBackendState )
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::simulationBackendDiscovered ( DtVrfBackendState )
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::simulationBackendUpdated ( DtSimulationAddress  ,
int   
)
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::duplicateSimulationBackendDiscovered ( DtSimulationAddress  )
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::processSessionStatusChange ( DtSessionStatus  )
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::processLoadCompleteCallback ( DtSimMessage )
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::processSaveCompleteCallback ( DtSimMessage )
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::backendSaved ( const std::string &  ,
bool  checkpointSave 
)
protectedvirtual

Called when a backend has finished saving or has been removed from the save list due to timeout.

virtual void makVrf::DtVrfSimBackendManager::setBackendSaving ( const DtSimulationAddress &  ,
bool  b 
)
protectedvirtual
virtual void makVrf::DtVrfSimBackendManager::updateSessionInformation ( int  sessionFlags = 0)
protectedvirtual

Emits signal if something has changed about the session.

virtual void makVrf::DtVrfSimBackendManager::clear ( )
protectedvirtual

Called on queue from removeAllBackends.

Member Data Documentation

boost::signals2::signal<void ()> makVrf::DtVrfSimBackendManager::signal_allBackendsClosed
boost::signals2::signal<void ()> makVrf::DtVrfSimBackendManager::signal_allBackendsLoaded
boost::signals2::signal<void (bool)> makVrf::DtVrfSimBackendManager::signal_allBackendsSaved
boost::signals2::signal<void (DtSimulationAddress, DtIfPing*)> makVrf::DtVrfSimBackendManager::signal_receivedPing

Handles pinging of the server for requests/responses and whether or not there is a ping.

boost::signals2::signal<void (const DtVrfBackendState&)> makVrf::DtVrfSimBackendManager::signal_frameRatesUpdated
boost::signals2::signal<void (const DtVrfBackendState&)> makVrf::DtVrfSimBackendManager::signal_backendDiscovered
boost::signals2::signal<void (const DtVrfBackendState&)> makVrf::DtVrfSimBackendManager::signal_nonSimulationBackendDiscovered
boost::signals2::signal<void (const DtVrfBackendState&)> makVrf::DtVrfSimBackendManager::signal_backendRemoved
boost::signals2::signal<void (const DtVrfBackendState&)> makVrf::DtVrfSimBackendManager::signal_nonSimulationBackenRemoved
boost::signals2::signal<void (const DtVrfBackendState&, int)> makVrf::DtVrfSimBackendManager::signal_backendUpdated
boost::signals2::signal<void (int)> makVrf::DtVrfSimBackendManager::signal_sessionUpdated
boost::signals2::signal<void (const DtVrfBackendState&)> makVrf::DtVrfSimBackendManager::signal_duplicateSimulationAddress
boost::signals2::signal<void (const DtSimulationAddress& old, const DtSimulationAddress& newaddr)> makVrf::DtVrfSimBackendManager::signal_selectedBackendChanged
boost::signals2::signal<void ()> makVrf::DtVrfSimBackendManager::signal_allBackendsAboutToBeRemoved
boost::signals2::signal<void (DtSimulationStatus)> makVrf::DtVrfSimBackendManager::signal_simulationStatusChanged
boost::signals2::signal<void(const DtSimulationAddress&)> makVrf::DtVrfSimBackendManager::signal_objectCountsChanged
makVrv::DtBaseSimulation* makVrf::DtVrfSimBackendManager::mySimulation
protected
DtVrfSimBackendStates makVrf::DtVrfSimBackendManager::myBackendStates
protected
DtVrfSimBackendStates makVrf::DtVrfSimBackendManager::myAllBackendStates
protected
DtSimulationAddress makVrf::DtVrfSimBackendManager::mySelectedBackend
mutableprotected
bool makVrf::DtVrfSimBackendManager::mySignalWhenAllBackendsClosed
protected
bool makVrf::DtVrfSimBackendManager::mySignalWhenAllBackendsLoaded
protected
bool makVrf::DtVrfSimBackendManager::mySignalWhenAllBackendsSaved
protected
std::map<std::string, char> makVrf::DtVrfSimBackendManager::myBackendsWaitingForSave
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myAlreadyDuplicateWarned
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myNeedToLoad
protected
std::set<std::string> makVrf::DtVrfSimBackendManager::myNeedToSave
protected
DtSessionStatus makVrf::DtVrfSimBackendManager::mySessionStatus
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myJustLoadedMap
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myLoadingMap
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myReinitializingMap
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myClosingMap
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myJustClosedMap
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myJustRolledBackMap
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myRollingBackMap
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myImportingMap
protected
std::map<std::string, bool> makVrf::DtVrfSimBackendManager::myCreatingSimulationObjectGroupMap
protected
std::set<std::string> makVrf::DtVrfSimBackendManager::myBackendWasClosing
protected
std::set<std::string> makVrf::DtVrfSimBackendManager::myWarnDuplicateOnAdd
protected
double makVrf::DtVrfSimBackendManager::mySimTime
protected
double makVrf::DtVrfSimBackendManager::myLastSimTime
protected
double makVrf::DtVrfSimBackendManager::myDateAndTimeOfDay
protected
makVrv::DtSignalConnectionManager makVrf::DtVrfSimBackendManager::myConnectionManager
protected
bool makVrf::DtVrfSimBackendManager::myCloseProcessStarted
protected
bool makVrf::DtVrfSimBackendManager::myInSaveCallback
protected
DtLocalWeatherManager* makVrf::DtVrfSimBackendManager::myLocalWeatherManager
mutableprotected
DtSimulationStatus makVrf::DtVrfSimBackendManager::mySimulationStatus
protected
bool makVrf::DtVrfSimBackendManager::myBackendsAlreadyLoaded
protected
Pings makVrf::DtVrfSimBackendManager::myPings
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)