![]() |
VR-Forces Developer's Guide
|

Classes | |
| struct | ScenarioEventInformation |
Public Types | |
| typedef std::map < makVrv::DtElementID, ScenarioEventInformation > | ScenarioEventItems |
Static Public Member Functions | |
| static DtScenarioEventManager & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &, DtScenarioEventManager *) |
| static std::string | modelDefinitionFor (const std::string &) |
Public Attributes | |
| boost::signals2::signal< void(const DtScenarioEventSettingsRecord &)> | signal_scenarioEventOptionsChanged |
| boost::signals2::signal< void(DtSimObjectReference)> | signal_removed |
| boost::signals2::signal< void(DtSimObjectReference)> | signal_updated |
| boost::signals2::signal< void(DtSimObjectReference)> | signal_scenarioEventStarted |
| boost::signals2::signal< void(DtSimObjectReference)> | signal_scenarioEventStopped |
Protected Types | |
| typedef std::map< int, std::pair< makVrv::DtElementID, DtUUID > > | OrdinalOrder |
Protected Member Functions | |
| void | setupScenarioEventSettings () |
| void | initScenarioEvents () |
| virtual void | slot_onScenarioEventUpdated (DtSimObjectReference) |
| virtual void | addIfScenarioEvent (DtSimObjectReference) |
| virtual void | scenarioEventAdded (DtSimObjectReference) |
| virtual void | scenarioEventRemoved (DtSimObjectReference) |
| 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.
|
overridevirtual |
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.
Reimplemented in makVrf::DtQtScenarioEventManager.
|
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 |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
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 |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
virtual |
Mutators/accessors for scenario event options.
|
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 |
Adds this item in if it is a scenario event item (by matching object type)
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| boost::signals2::signal<void (const DtScenarioEventSettingsRecord&)> makVrf::DtScenarioEventManager::signal_scenarioEventOptionsChanged |
Sent after anything about the scenario event options have changed.
| boost::signals2::signal<void (DtSimObjectReference)> makVrf::DtScenarioEventManager::signal_removed |
| boost::signals2::signal<void (DtSimObjectReference)> makVrf::DtScenarioEventManager::signal_updated |
| boost::signals2::signal<void (DtSimObjectReference)> makVrf::DtScenarioEventManager::signal_scenarioEventStarted |
| boost::signals2::signal<void (DtSimObjectReference)> makVrf::DtScenarioEventManager::signal_scenarioEventStopped |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |