#include <WsfMilDisPlatform.hpp>
|
| class | JammerData |
| | A class used to hold data needed by the interface that is related to a jammer. More...
|
|
| WsfComponent * | CloneComponent () const override |
| WsfStringId | GetComponentName () const override |
| const int * | GetComponentRoles () const override |
| void * | QueryInterface (int aRole) override |
| void | SendingEmission (double aSimTime, DisEmission *aEmissionPtr, DisEventId &aPreviousNumber) override |
| void | AllocateEmissionSystems (DisUint8 &emitterId) override |
| void | TurnOffEmission (DisEmission *aEmissionPtr) override |
| DisSystem * | GetJammerSystem (WsfWeapon *aWeaponPtr) |
| | Given a WSF weapon, locate its corresponding DIS system.
|
| JammerData * | GetJammerData (WsfWeapon *aWeaponPtr) |
| void | UpdateJammerSystem (double aSimTime, WsfWeapon *aWeaponPtr, DisSystem *aSystemPtr, size_t aTargetIndex) |
| void | WeaponTurnedOff (double aSimTime, WsfWeapon *aWeaponPtr) |
| void | WeaponTurnedOn (double aSimTime, WsfWeapon *aWeaponPtr) |
| void | JammingRequestCanceled (double aSimTime, WsfWeapon *aWeaponPtr, size_t aTargetIndex) |
| void | JammingRequestInitiated (double aSimTime, WsfWeapon *aWeaponPtr, size_t aTargetIndex) |
| void | JammingRequestUpdated (double aSimTime, WsfWeapon *aWeaponPtr, size_t aTargetIndex) |
◆ WsfMilDisPlatform()
◆ ~WsfMilDisPlatform()
| WsfMilDisPlatform::~WsfMilDisPlatform |
( |
| ) |
|
|
override |
◆ AllocateEmissionSystems()
| void WsfMilDisPlatform::AllocateEmissionSystems |
( |
DisUint8 & | emitterId | ) |
|
|
overridevirtual |
◆ CloneComponent()
Clones a component. May return null if component does not support clone.
Implements WsfComponent.
◆ Find()
◆ GetComponentName()
| WsfStringId WsfMilDisPlatform::GetComponentName |
( |
| ) |
const |
|
overridevirtual |
Returns the component's name. Each component in a component list has a unique name. Names are usually defined by the user, but they may also be generated by code and prefixed with a '#' to guarantee no collisions with user-defined names.
Implements WsfComponent.
◆ GetComponentRoles()
| const int * WsfMilDisPlatform::GetComponentRoles |
( |
| ) |
const |
|
overridevirtual |
Returns a zero-terminated array of component roles. Note that the array should be in decreasing order of specificity and should generally the inheritance hierarchy. The first entry should be the components 'primary' role. For example a sensor would do the following:
return roles;
@ cWSF_COMPONENT_SENSOR
A 'sensor' component (WsfSensor).
Definition WsfComponentRoles.hpp:105
@ cWSF_COMPONENT_PLATFORM_PART
The component derives from WsfPlatformPart.
Definition WsfComponentRoles.hpp:98
@ cWSF_COMPONENT_ARTICULATED_PART
The component derives from WsfArticulatedPart.
Definition WsfComponentRoles.hpp:99
Implements WsfComponent.
References cWSF_COMPONENT_MIL_DIS_PLATFORM.
◆ GetJammerData()
◆ GetJammerSystem()
| DisSystem * WsfMilDisPlatform::GetJammerSystem |
( |
WsfWeapon * | aWeaponPtr | ) |
|
◆ JammingRequestCanceled()
| void WsfMilDisPlatform::JammingRequestCanceled |
( |
double | aSimTime, |
|
|
WsfWeapon * | aWeaponPtr, |
|
|
size_t | aTargetIndex ) |
◆ JammingRequestInitiated()
| void WsfMilDisPlatform::JammingRequestInitiated |
( |
double | aSimTime, |
|
|
WsfWeapon * | aWeaponPtr, |
|
|
size_t | aTargetIndex ) |
◆ JammingRequestUpdated()
| void WsfMilDisPlatform::JammingRequestUpdated |
( |
double | aSimTime, |
|
|
WsfWeapon * | aWeaponPtr, |
|
|
size_t | aTargetIndex ) |
◆ QueryInterface()
| void * WsfMilDisPlatform::QueryInterface |
( |
int | aRole | ) |
|
|
overridevirtual |
Requests a component's role interface. A component can support one or more roles.
- Parameters
-
| aRole | The role whose interface is to be returned. |
- Returns
- A pointer to the object if it supports the indicated role, or 'null' if it does not. Usage: WsfProcessor* procPtrOrNull = (WsfProcessor*)componentPtr->QueryComponentInterface(cWSF_COMPONENT_PROCESSOR);
Implements WsfComponent.
References cWSF_COMPONENT_MIL_DIS_PLATFORM.
◆ SendingEmission()
| void WsfMilDisPlatform::SendingEmission |
( |
double | aSimTime, |
|
|
DisEmission * | aEmissionPtr, |
|
|
DisEventId & | aPreviousNumber ) |
|
overridevirtual |
◆ TurnOffEmission()
| void WsfMilDisPlatform::TurnOffEmission |
( |
DisEmission * | aEmissionPtr | ) |
|
|
overridevirtual |
◆ UpdateJammerSystem()
| void WsfMilDisPlatform::UpdateJammerSystem |
( |
double | aSimTime, |
|
|
WsfWeapon * | aWeaponPtr, |
|
|
DisSystem * | aSystemPtr, |
|
|
size_t | aTargetIndex ) |
References WsfWeapon::GetCurrentModeName(), WsfWeapon::GetEM_Xmtr(), WsfWeapon::GetEM_XmtrCount(), WsfDisInterface::GetEntityId(), WsfSimulation::GetPlatformByIndex(), WsfSimulationExtension::GetSimulation(), WsfWeapon::GetTargetIndex(), WsfUniqueId::GetUniqueId(), and WsfDisInterface::SetBeamTypeAndFunction().
Referenced by JammingRequestCanceled(), JammingRequestInitiated(), JammingRequestUpdated(), and WeaponTurnedOn().
◆ WeaponTurnedOff()
| void WsfMilDisPlatform::WeaponTurnedOff |
( |
double | aSimTime, |
|
|
WsfWeapon * | aWeaponPtr ) |
◆ WeaponTurnedOn()
| void WsfMilDisPlatform::WeaponTurnedOn |
( |
double | aSimTime, |
|
|
WsfWeapon * | aWeaponPtr ) |
The documentation for this class was generated from the following files: