![]() |
VR-Forces 4.5 Class Documentation
|
Represents the manager responsible for dealing with any GUI related stuff. More...

Classes | |
| struct | TemplateInfo |
Public Member Functions | |
| DtSpawnSinkGuiManager (makVrv::DtDe &) | |
| virtual | ~DtSpawnSinkGuiManager () |
| virtual bool | init () |
| virtual void | requestSpawnTemplateList () |
| Plugin options. | |
| virtual const SpawnTemplateDescriptionList & | spawnPatternList () const |
| virtual bool | setPatternList (const SpawnTemplateDescriptionList &list) |
| Returns true if pattern list is updated. | |
| virtual const SpawnTemplateDescriptionList & | patternList () const |
| virtual SpawnTemplateDescriptionList & | patternList () |
| virtual DtUUID | lookupUUIDByTemplateName (const DtString &) const |
| virtual void | slot_updateCreationPalette (DtEntityCreatePaletteInterface *palette) |
| virtual void | slot_spawnCreateObject (const DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData &, QString, DtUUID) |
| Once the spawn point has been placed this slot is called to send the create object message. | |
| virtual void | slot_sinkCreateObject (const DtVrfObjectManipulationHandlerBaseClass::ObjectManipulationData &, QString, DtUUID) |
| Once the sink point has been placed this slot is called to send the create object message. | |
| virtual void | slot_commandRequestToBeAddedToPlan (DtSimCommand &, bool forEdit) |
| Called when the plan command is going to add an item, if adding a sink or spawn point add the addition data. | |
| virtual DtString | sinkPointName (const DtString &templateName) const |
| virtual DtString | spawnPointName (const DtString &templateName) const |
| virtual int | indexOfTemplateWithUUID (const DtUUID &tempName) const |
| virtual DtString | templateName (const DtUUID &) const |
| virtual std::vector< DtUUID > | templatesWithSpawnPoint (const DtUUID &tempName) const |
| virtual std::vector< DtUUID > | templatesWithSinkPoint (const DtUUID &tempName) const |
| virtual DtSpawnSinkCreationDialog * | spawnSinkCreationDialog () |
| If does not exist, will create. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtSpawnSinkGuiManager & | instance (makVrv::DtDe &de) |
| static int | nextSpawnNumber () |
| Returns the latest number in use for a spawn point then increments for next call. | |
| static int | nextSinkNumber () |
| Returns the latest number in use for a sink point then increments for next call. | |
Public Attributes | |
| boost::signal< void(const SpawnTemplateDescriptionList &)> | signal_patternListUpdated |
| boost::signal< void(const SpawnTemplateDescriptionList &)> | signal_spawnSinkPointCountUpdated |
| boost::signal< void(const DtUUID &)> | signal_spawnPointAdded |
| boost::signal< void(const DtUUID &)> | signal_sinkPointAdded |
| boost::signal< void(const DtUUID &)> | signal_spawnPointRemoved |
| boost::signal< void(const DtUUID &)> | signal_sinkPointRemoved |
Protected Types | |
| typedef std::map < makVrv::DtUniqueID, TemplateInfo > | UniqueIdToTemplateInfo |
| typedef std::map< int, DtUUID > | ExtraMapToTemplateUUID |
Protected Slots | |
| virtual void | dialogDestroyed () |
Protected Member Functions | |
| virtual void | updateCreateMenuWithSpawnAndSinkPoints (DtEntityCreatePaletteInterface *palette) |
| Takes the current spawn and sink points and adds them into the create menu. | |
| virtual void | removePaletteItems (DtEntityCreatePaletteInterface *iFace) |
| Removes current pattern items from the entity palette. | |
| virtual void | removeCreateMenuItems (DtEntityCreatePaletteInterface *palette) |
| Remove created items from the create menu. | |
| virtual void | slot_simStateAdded (makVrv::DtSimObjectEntry &e) |
| Called when a sim state is added, if there is a marking text, then, parse it out to see if it is spawn/sink point. | |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &e) |
| Remove count if spawn/sink point. | |
| virtual void | resetCounters (bool requestTemplates=true) |
| Resets spawn/sink counters. | |
| virtual DtModelSetEntry * | addModelSetEntryIfMissing (const DtString &label, const DtEntityMapperKey &, const DtString &category, bool recreateMenu=true) |
| Adds an entry to the model set (entity) if missing. This will be used to support favorites. | |
| virtual void | processTemplateList (DtSimMessage *rsp) |
| virtual void | completeInitialization () |
| virtual void | addPotentialSpawnSinkPoint (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| virtual void | removePotentialSpawnSinkPoint (const DtUUID &templateName, const DtEntityType &t) |
| virtual void | slot_stateViewUpdated (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
| virtual bool | isSpawnOrSinkPoint (const makVrv::DtVrlinkSimulatedBaseState &s) const |
| virtual bool | isSpawnPoint (const makVrv::DtVrlinkSimulatedBaseState &s) const |
| virtual bool | isSinkPoint (const makVrv::DtVrlinkSimulatedBaseState &s) const |
Represents the manager responsible for dealing with any GUI related stuff.
|
protected |
|
protected |
| makVrf::DtSpawnSinkGuiManager::DtSpawnSinkGuiManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
|
virtual |
|
virtual |
Plugin options.
|
virtual |
|
virtual |
Returns true if pattern list is updated.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Once the spawn point has been placed this slot is called to send the create object message.
|
virtual |
Once the sink point has been placed this slot is called to send the create object message.
|
static |
Returns the latest number in use for a spawn point then increments for next call.
|
static |
Returns the latest number in use for a sink point then increments for next call.
|
virtual |
Called when the plan command is going to add an item, if adding a sink or spawn point add the addition data.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
If does not exist, will create.
|
protectedvirtualslot |
|
protectedvirtual |
Takes the current spawn and sink points and adds them into the create menu.
Will recreate the create menu as part of this process
|
protectedvirtual |
Removes current pattern items from the entity palette.
|
protectedvirtual |
Remove created items from the create menu.
|
protectedvirtual |
Called when a sim state is added, if there is a marking text, then, parse it out to see if it is spawn/sink point.
If no marking text, mark for update
|
protectedvirtual |
Remove count if spawn/sink point.
|
protectedvirtual |
Resets spawn/sink counters.
|
protectedvirtual |
Adds an entry to the model set (entity) if missing. This will be used to support favorites.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| boost::signal<void (const SpawnTemplateDescriptionList &)> makVrf::DtSpawnSinkGuiManager::signal_patternListUpdated |
| boost::signal<void (const SpawnTemplateDescriptionList &)> makVrf::DtSpawnSinkGuiManager::signal_spawnSinkPointCountUpdated |
| boost::signal<void (const DtUUID&)> makVrf::DtSpawnSinkGuiManager::signal_spawnPointAdded |
| boost::signal<void (const DtUUID&)> makVrf::DtSpawnSinkGuiManager::signal_sinkPointAdded |
| boost::signal<void (const DtUUID&)> makVrf::DtSpawnSinkGuiManager::signal_spawnPointRemoved |
| boost::signal<void (const DtUUID&)> makVrf::DtSpawnSinkGuiManager::signal_sinkPointRemoved |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |