![]() |
VR-Forces 5.0.3 Developer's Guide
|
The class will handle the saving of new simulation object groups. Call the saveSimulationObjectGroup method to show a dialog which will allow the user to create the selection group from all the information in the current scenario.

Public Member Functions | |
| DtVrfSimulationObjectGroupHandler (makVrv::DtDe &) | |
| virtual | ~DtVrfSimulationObjectGroupHandler () |
| virtual void | saveSimulationObjectGroup () |
| virtual void | saveSimulationObjectGroup (const DtSimulationObjectGroupSaveInformation &, bool quitOnSave=false, bool saveAsZip=false) |
| virtual void | setDataDirectory (const DtFilename &) |
| virtual const DtFilename & | dataDirectory () const |
| virtual DtSimulationObjectGroupSaveInformation | simulationObjectGroupSaveInformation () const |
| virtual void | loadFailed () |
| virtual bool | loadSimulationObjectGroup (const std::string &terrain) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtVrfSimulationObjectGroupHandler & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &, DtVrfSimulationObjectGroupHandler *) |
Public Attributes | |
| boost::signals2::signal< void(const std::string &)> | signal_savedSimulationObjectGroup |
| boost::signals2::signal< void()> | signal_simulationObjectGroupLoaded |
Protected Member Functions | |
| virtual void | completeObjectGroupLoad () |
| virtual void | scenarioJustLoaded () |
| DtSimulationObjectGroupSaveDialog * | createSimulationObjectGroupSaveDialog () const |
| virtual void | processSimulationObjectGroupSaveResults (const DtSimMessage *) |
| virtual void | addObjectStates (DtSimulationObjectGroupModelSetEntry *, const std::set< DtUUID > &) const |
| virtual void | completeExit () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtSimulationObjectGroupSaveInformation * | mySimulationObjectGroupSaveInformation |
| DtFilename | myDataDirectory |
| bool | myQuitOnSave |
| makVrf::DtVrfSimulationObjectGroupHandler::DtVrfSimulationObjectGroupHandler | ( | makVrv::DtDe & | ) |
CTOR.
|
virtual |
DTOR.
|
static |
Returns instance of the handler.
|
static |
|
virtual |
Shows a dialog to the user for gathering information about the saving of the simulation object group, and, if the user accepts the dialog, calls the saveSimulationObjectGroup method that supplies the information provided to create the simulation object group.
|
virtual |
Saves the simulation object group by sending a message to the back-end.
|
virtual |
Where to save the sog files.
|
virtual |
|
virtual |
|
virtual |
Call if the scenario load has failed to do some cleanup.
|
virtual |
Loads the given simulation object group as found in the specified .sog file and saves off the information found in mySimulationObjectGroupSaveInformation. Will return true if the .sog file is found, else will return false. Will also create a new scenario to place this simulation object group on using the simulation object group terrain.
|
protectedvirtual |
Called when new scenario is completed loading, create simulation object group at 0, 0, 0.
|
protectedvirtual |
|
protected |
Creates the dialog that is used to request selection group information from the user.
|
protectedvirtual |
Process the results of the simulation object group creation if we are the ones that started it.
|
protectedvirtual |
Saves out the object states tha are part of the simulation group for future use when creating this simulation group to be able to display information when creating.
|
protectedvirtual |
| boost::signals2::signal<void (const std::string&)> makVrf::DtVrfSimulationObjectGroupHandler::signal_savedSimulationObjectGroup |
Signal sent when a simulation object group has been saved.
| boost::signals2::signal<void ()> makVrf::DtVrfSimulationObjectGroupHandler::signal_simulationObjectGroupLoaded |
|
protected |
|
protected |
|
protected |
|
protected |