![]() |
VR-Forces 4.8 Class Documentation
|
The DtVrfDeletionHandler will delete objects from the local object manager (if local) or from the simulation. More...

Public Member Functions | |
| DtVrfDeletionHandler (makVrv::DtDe &) | |
| virtual | ~DtVrfDeletionHandler () |
| virtual void | deleteObjects (const makVrv::DtSelectionManager::IdSet &) |
| Delete the objects in the set from the appropriate manager. Will emit the signal_objectToBeDeleted for each object to be deleted. 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 DtVrfDeletionHandler & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. More... | |
| static void | registerInstance (makVrv::DtDe &, DtVrfDeletionHandler *) |
Public Attributes | |
| boost::signals2::signal< void(makVrv::DtSelectionManager::IdSet &, bool &shouldDelete)> | signal_objectsAboutToBeDeleted |
| Sent before the given set of objects is to be deleted. More... | |
| boost::signals2::signal< void(const makVrv::DtSelectionManager::IdSet &)> | signal_objectsAboutToBeDeletedFromSimulation |
| The objects that are about to be deleted from the simulation. More... | |
Protected Types | |
| enum | OrbatDeleteFlags { OrbatOnly = 0x00000001, SimulationOnly = 0x00000002, Both = OrbatOnly | SimulationOnly } |
Protected Member Functions | |
| virtual void | executeDeleteAction (const makVrv::DtSelectionManager::IdSet &) |
| virtual bool | orbatDeleteOptions (int &orbatDeleteFlags) |
| virtual void | deleteCalledFromManipulationManager (bool &handled) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| int | myOrbatDeleteFlags |
| makVrv::DtSignalConnectionManager | myConnections |
| bool | myAllowDeletionChoice |
The DtVrfDeletionHandler will delete objects from the local object manager (if local) or from the simulation.
If there are ORBAT objects in the deletion set and the setting to present a user with a choice for what to do is enabled, present the user a dialog asking them if they want to remove the object from the simulation or from the simulation and ORBAT
|
protected |
| makVrf::DtVrfDeletionHandler::DtVrfDeletionHandler | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
Delete the objects in the set from the appropriate manager. Will emit the signal_objectToBeDeleted for each object to be deleted.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| boost::signals2::signal<void (makVrv::DtSelectionManager::IdSet&, bool& shouldDelete)> makVrf::DtVrfDeletionHandler::signal_objectsAboutToBeDeleted |
Sent before the given set of objects is to be deleted.
Return false if not to continue with deletion or change the set given to modify what should be deleted
| boost::signals2::signal<void (const makVrv::DtSelectionManager::IdSet&)> makVrf::DtVrfDeletionHandler::signal_objectsAboutToBeDeletedFromSimulation |
The objects that are about to be deleted from the simulation.
|
protected |
|
protected |
|
protected |
|
protected |