![]() |
VR-Forces Developer's Guide
|
The DtSaveOrderOfBattleHandler will save an order of battle file (oob) and archive all the local objects from that file.

Public Member Functions | |
| DtSaveOrderOfBattleHandler (DtSimulationServices *) | |
| DtSaveOrderOfBattleHandler (const DtSaveOrderOfBattleHandler &) | |
| virtual | ~DtSaveOrderOfBattleHandler () |
| virtual bool | saveScenarioPiece (const DtScenario &, const std::map< DtUUID, DtLocalObject * > &, void *userData=0) const |
| virtual bool | saveScenarioPiece (std::vector< std::string * > &, const std::map< DtUUID, DtLocalObject * > &, void *userData=0) const |
| virtual bool | saveSimulationObjectGroup (const DtScenario &, const std::map< DtUUID, DtLocalObject * > &, int flags, std::set< DtUUID > &uuidsSaved, void *userData=0) const |
| virtual DtSaveScenarioPieceHandler * | clone () const |
| virtual bool | objectShouldBeSavedToSimulationObjectGroup (const DtLocalObject *vrfObject) const |
Public Member Functions inherited from DtSaveScenarioPieceHandler | |
| DtSaveScenarioPieceHandler () | |
| virtual | ~DtSaveScenarioPieceHandler () |
Protected Member Functions | |
| virtual bool | writeOrderOfBattle (std::string &str, const std::map< DtUUID, DtLocalObject * > &) const |
| virtual bool | objectShouldBeSavedToOrderOfBattle (const DtLocalObject *vrfObject) const |
| virtual bool | acceptRemoteEnvironmental (const DtEntityType &et) const |
Protected Attributes | |
| DtSimulationServices * | mySimulationServices |
| DtSaveOrderOfBattleHandler::DtSaveOrderOfBattleHandler | ( | DtSimulationServices * | ) |
| DtSaveOrderOfBattleHandler::DtSaveOrderOfBattleHandler | ( | const DtSaveOrderOfBattleHandler & | ) |
|
virtual |
destructor
|
virtual |
Saves all objects to the file presented in the scenario.
User data is specific to the handler
Implements DtSaveScenarioPieceHandler.
|
virtual |
|
virtual |
|
inlinevirtual |
Implements DtSaveScenarioPieceHandler.
|
virtual |
Called by writeOrderOfBattleFile to determine if an entity should be saved to the order of battle file by making sure it is a local object with a VR-Forces UUID.
|
protectedvirtual |
|
protectedvirtual |
Called by writeOrderOfBattleFile to determine if an entity should be saved to the order of battle file by making sure it is a local object with a VR-Forces UUID.
|
protectedvirtual |
Return true/false to accept a remove environmental. Currently used to filter out accepting of task visualization objects.
|
protected |