![]() |
VR-Forces 4.8 Class Documentation
|
The class will handle the saving of new simulation object groups. More...

Public Member Functions | |
| DtVrfSimulationObjectGroupHandler (makVrv::DtDe &) | |
| CTOR. More... | |
| virtual | ~DtVrfSimulationObjectGroupHandler () |
| DTOR. More... | |
| virtual void | saveSimulationObjectGroup () |
| 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. More... | |
| virtual void | saveSimulationObjectGroup (const DtSimulationObjectGroupSaveInformation &, bool quitOnSave=false, bool saveAsZip=false) |
| Saves the simulation object group by sending a message to the back-end. More... | |
| virtual void | setDataDirectory (const DtFilename &) |
| Where to save the sog files. More... | |
| virtual const DtFilename & | dataDirectory () const |
| virtual DtSimulationObjectGroupSaveInformation | simulationObjectGroupSaveInformation () const |
| virtual void | loadFailed () |
| Call if the scenario load has failed to do some cleanup. More... | |
| virtual bool | loadSimulationObjectGroup (const std::string &terrain) |
| Loads the given simulation object group as found in the specified .sog file and saves off the information found in mySimulationObjectGroupSaveInformation. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfSimulationObjectGroupHandler & | instance (makVrv::DtDe &de) |
| Returns instance of the handler. More... | |
| static void | registerInstance (makVrv::DtDe &, DtVrfSimulationObjectGroupHandler *) |
Public Attributes | |
| boost::signals2::signal< void(const std::string &)> | signal_savedSimulationObjectGroup |
| Signal sent when a simulation object group has been saved. More... | |
| boost::signals2::signal< void()> | signal_simulationObjectGroupLoaded |
Protected Member Functions | |
| virtual void | completeObjectGroupLoad () |
| Called when new scenario is completed loading, create simulation object group at 0, 0, 0. More... | |
| virtual void | scenarioJustLoaded () |
| DtSimulationObjectGroupSaveDialog * | createSimulationObjectGroupSaveDialog () const |
| Creates the dialog that is used to request selection group information from the user. More... | |
| virtual void | processSimulationObjectGroupSaveResults (const DtSimMessage *) |
| Process the results of the simulation object group creation if we are the ones that started it. More... | |
| virtual void | addObjectStates (DtSimulationObjectGroupModelSetEntry *, const boost::unordered_set< DtUUID > &) const |
| 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. More... | |
| virtual void | completeExit () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtSimulationObjectGroupSaveInformation * | mySimulationObjectGroupSaveInformation |
| DtFilename | myDataDirectory |
| bool | myQuitOnSave |
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
| 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 |