![]() |
VR-Forces 4.7 Class Documentation
|

Classes | |
| struct | ScenarioEventInformation |
Public Types | |
| typedef std::map < makVrv::DtElementID, ScenarioEventInformation > | ScenarioEventItems |
Public Member Functions | |
| DtScenarioEventManager (makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtScenarioEventManager () |
| DTOR. | |
| const ScenarioEventItems & | scenarioEventItems () const |
| virtual int | triggerStatus (const DtUUID &) const |
| Trigger status of the event. | |
| virtual bool | hasScenarioEventData (makVrv::DtElementID) const |
| Returns true if there is scenario event data for the specified item. | |
| virtual bool | hasScenarioEventData (const DtUUID &) const |
| virtual DtRwScenarioEvent | scenarioEvent (makVrv::DtElementID) const |
| Returns the scenario event for the particular element id. | |
| virtual makVrv::DtElementID | nextScheduledEvent () |
| Returns the id of the next scheduled event given the current simulation time and/or time of day. | |
| virtual bool | eventSupportsForce (int force, const DtUUID &) const |
| Returns true if the event supports the given force. | |
| virtual int | size () const |
| Returns the number of scenario events. | |
| virtual void | addOrdinal (int) |
| Adds a new ordinal at the given position, changing all other ordinals as needed. | |
| virtual void | changeOrdinal (int from, int to) |
| Changes the current ordinal to the new ordinal, changing other ordinals appropriately. | |
| virtual DtRwScenarioEvent | scenarioEvent (const DtUUID &) const |
| Returns the scenario event for the particular unique id. | |
| virtual std::vector < DtRwScenarioEvent > | scenarioEvents () const |
| Returns a list of all current scenario events. | |
| virtual makVrv::DtElementID | elementIdFromUniqueId (const DtUUID &) const |
| Returns the scenario event element id for the particular unique id. | |
| virtual void | createModelDefinitionFor (const std::string &) |
| Creates a model definition (ScenarioEventImage_<filename>) for the given image if one does not exist. | |
| virtual bool | eventIsActive (makVrv::DtElementID) const |
| Returns true if the event is currently active. | |
| void | exportSettings (const std::string &fileName) |
| Returns whether or not event information can be shown. Default is whether or not event is active. | |
| void | importSettings (const std::string &fileName) |
| Import the current cache settings from a file. | |
| virtual bool | canShowEventInformation (makVrv::DtElementID) const |
| virtual std::string | eventNameFromUniqueId (const DtUUID &) const |
| virtual DtUUID | uniqueIdFromEventName (const std::string &) const |
| makVrv::DtRecordSettingsBackupInterface * | scenarioEventSettingsBackup () |
| virtual int | nextOrdinal () const |
| Returns the next ordinal available. | |
| virtual void | allScenarioEventsThatLinkTo (const DtUUID &eventId, std::set< DtUUID > &linkedTo) |
| Returns a list of all events that lead to the given event id. | |
| virtual bool | isThisObjectLinkedToMe (const DtUUID &source, const DtUUID &dest) const |
| Returns true if the event ID eventually links to the second event ID. | |
| virtual void | setShowAllEvents (bool) |
| virtual bool | showAllEvents () const |
| virtual void | setShowAllEventsByVisibleForce (bool) |
| virtual bool | showAllEventsByVisibleForce () const |
| virtual void | setShowAllActiveEvents (bool) |
| virtual bool | showAllActiveEvents () const |
| virtual void | setShowAllActiveEventsByVisibleForce (bool) |
| virtual bool | showAllActiveEventsByVisibleForce () const |
| virtual void | setShowDialogsForStartedEvents (bool) |
| virtual bool | showDialogsForStartedEvents () const |
| virtual void | setShowDisabledScenarioEvents (bool) |
| virtual bool | showDisabledScenarioEvents () const |
| virtual void | addDefaultSensorSignature (const makVrv::DtUnicode &type, const DtScenarioEventSettingsRecord::SensorSignatures &sigs) |
| virtual void | removeDefaultSensorSignature (const makVrv::DtUnicode &type) |
| virtual DtScenarioEventSettingsRecord::DefaultSensorSignatures | defaultSensorSignatures () const |
| virtual void | setDefaultSensorSignatures (const DtScenarioEventSettingsRecord::DefaultSensorSignatures &signatures) |
| virtual makVrv::DtUnicode | typeFromSignature (const DtScenarioEventSettingsRecord::SensorSignatures &sigs) const |
| virtual DtScenarioEventSettingsRecord::SensorSignatures | signaturesFromType (const makVrv::DtUnicode &type) const |
| virtual void | setFromRecord (const DtScenarioEventSettingsRecord &rec, bool updateFilter=true) |
| virtual void | loadDefaultScenarioEventSettings (bool loadOnlyFactorySettings=false) |
| virtual void | saveScenarioEventSettingsAsDefaults () |
| virtual void | getRecord (DtScenarioEventSettingsRecord &rec) const |
| virtual void | getSplitRecord (std::vector< DtScenarioEventSettingsRecord > &rec, std::vector< std::string > &fileNames) |
| To support writing element definitions in folders as multiple files not implemented. | |
| virtual void | addRecords (DtScenarioEventSettingsRecord &recs, DtScenarioEventSettingsRecord &combinedRec) |
| To support writing element definitions in folders as multiple files not implemented. | |
| virtual void | setAutoSave (bool b) |
| virtual bool | autoSave () const |
| virtual void | setupFilter () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtScenarioEventManager & | instance (makVrv::DtDe &de) |
| Returns DtScenarioEventManager of the manager. | |
| static void | registerInstance (makVrv::DtDe &, DtScenarioEventManager *) |
| Register a new manager instance. | |
| static std::string | modelDefinitionFor (const std::string &) |
| Returns a model definition that will match the given image name. | |
Public Attributes | |
| boost::signal< void(const DtScenarioEventSettingsRecord &)> | signal_scenarioEventOptionsChanged |
| Sent after anything about the scenario event options have changed. | |
| boost::signal< void(makVrv::DtElementID)> | signal_removed |
| boost::signal< void(const makVrv::DtStateView < DtVrlinkSimulatedEnvironmentProcess > *)> | signal_updated |
| boost::signal< void(makVrv::DtElementID)> | signal_scenarioEventStarted |
| boost::signal< void(makVrv::DtElementID)> | signal_scenarioEventStopped |
Protected Types | |
| typedef std::map< int, std::pair< makVrv::DtElementID, DtUUID > > | OrdinalOrder |
Protected Member Functions | |
| void | setupScenarioEventSettings () |
| Sets up settings for scenario events. | |
| void | initScenarioEvents () |
| Sets up the list widget with all current scenario events. | |
| virtual void | slot_onScenarioEventUpdatedBase (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| Called when an event state view is updated, if name has changed, then signal an update. | |
| virtual void | slot_onScenarioEventUpdated (const makVrv::DtStateView< DtVrlinkSimulatedEnvironmentProcess > *) |
| virtual void | addIfScenarioEvent (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| Adds this item in if it is a scenario event item (by matching object type) | |
| virtual void | scenarioEventAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| virtual void | scenarioEventRemoved (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| virtual void | startScenarioEvent (makVrv::DtElementID) |
| virtual void | stopScenarioEvent (makVrv::DtElementID) |
| typedef std::map<makVrv::DtElementID, ScenarioEventInformation> makVrf::DtScenarioEventManager::ScenarioEventItems |
|
protected |
| makVrf::DtScenarioEventManager::DtScenarioEventManager | ( | makVrv::DtDe & | ) |
CTOR.
|
virtual |
DTOR.
|
static |
Returns DtScenarioEventManager of the manager.
|
static |
Register a new manager instance.
|
inline |
Trigger status of the event.
|
virtual |
Returns true if there is scenario event data for the specified item.
|
virtual |
Returns the scenario event for the particular element id.
|
virtual |
Returns the id of the next scheduled event given the current simulation time and/or time of day.
This call will also take into account current fog of war settings as to what events are currently visible to the forces that ground truth is being shown for
|
virtual |
Returns true if the event supports the given force.
|
virtual |
Returns the number of scenario events.
|
virtual |
Adds a new ordinal at the given position, changing all other ordinals as needed.
Changes the current ordinal to the new ordinal, changing other ordinals appropriately.
|
virtual |
Returns the scenario event for the particular unique id.
|
virtual |
Returns a list of all current scenario events.
|
virtual |
Returns the scenario event element id for the particular unique id.
|
virtual |
Creates a model definition (ScenarioEventImage_<filename>) for the given image if one does not exist.
Marks it as temporary so it will not be saved if the model definitions change
|
static |
Returns a model definition that will match the given image name.
|
virtual |
Returns true if the event is currently active.
| void makVrf::DtScenarioEventManager::exportSettings | ( | const std::string & | fileName | ) |
Returns whether or not event information can be shown. Default is whether or not event is active.
Exports the current cache settings to a file
| void makVrf::DtScenarioEventManager::importSettings | ( | const std::string & | fileName | ) |
Import the current cache settings from a file.
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
virtual |
Returns the next ordinal available.
|
virtual |
Returns a list of all events that lead to the given event id.
|
virtual |
Returns true if the event ID eventually links to the second event ID.
|
virtual |
Mutators/accessors for scenario event options
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
virtual |
|
virtual |
|
virtual |
|
protected |
Sets up settings for scenario events.
|
protected |
Sets up the list widget with all current scenario events.
|
protectedvirtual |
Called when an event state view is updated, if name has changed, then signal an update.
|
protectedvirtual |
|
protectedvirtual |
Adds this item in if it is a scenario event item (by matching object type)
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| boost::signal<void (const DtScenarioEventSettingsRecord&)> makVrf::DtScenarioEventManager::signal_scenarioEventOptionsChanged |
Sent after anything about the scenario event options have changed.
| boost::signal<void (makVrv::DtElementID)> makVrf::DtScenarioEventManager::signal_removed |
| boost::signal<void(const makVrv::DtStateView<DtVrlinkSimulatedEnvironmentProcess>*)> makVrf::DtScenarioEventManager::signal_updated |
| boost::signal<void (makVrv::DtElementID)> makVrf::DtScenarioEventManager::signal_scenarioEventStarted |
| boost::signal<void (makVrv::DtElementID)> makVrf::DtScenarioEventManager::signal_scenarioEventStopped |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |