Simulated munition detonation. More...
Inheritance diagram for com.mak.vrlj.interaction.DetonateInteraction:
Collaboration diagram for com.mak.vrlj.interaction.DetonateInteraction:Public Member Functions | |
| DetonateInteraction () | |
| Creates an empty detonate interaction. More... | |
| boolean | equals (Object obj) |
| List< ArticulatedPart > | getArticulatedParts () |
| Gets articulated part details associated with the detonation. More... | |
| ConstVector3f | getEntityLocation () |
| Gets detonation location in the target entity coordinate system. More... | |
| int | getEventId () |
| Gets the detonation event identifier. More... | |
| GlobalObjectDesignator | getFiringId () |
| Gets the firing entity identifier. More... | |
| FuzeType | getFuzeType () |
| Gets the fuze type used by the munition. More... | |
| GlobalObjectDesignator | getMunitionId () |
| Gets the munition entity identifier. More... | |
| EntityType | getMunitionType () |
| Gets the munition entity type. More... | |
| int | getQuantity () |
| Gets the quantity of munitions fired. More... | |
| double | getRange () |
| Gets weapon range at detonation time. More... | |
| int | getRate () |
| Gets the weapon firing rate. More... | |
| ResultType | getResult () |
| Gets the detonation result. More... | |
| GlobalObjectDesignator | getTargetId () |
| Gets the targeted entity identifier. More... | |
| ConstVector3f | getVelocity () |
| Gets the munition velocity. More... | |
| WarheadType | getWarheadType () |
| Gets the warhead type. More... | |
| ConstVector3d | getWorldPosition () |
| Gets the world position of detonation. More... | |
| int | hashCode () |
| void | setArticulatedParts (List< ArticulatedPart > theArticulatedParts) |
| Sets articulated part details associated with the detonation. More... | |
| void | setEntityLocation (ConstVector3f entityLocation) |
| Sets detonation location in the target entity coordinate system. More... | |
| void | setEventId (int eventId) |
| Sets the detonation event identifier. More... | |
| void | setFiringId (GlobalObjectDesignator firingId) |
| Sets the firing entity identifier. More... | |
| void | setFuzeType (FuzeType fuzeType) |
| Sets the fuze type used by the munition. More... | |
| void | setMunitionId (GlobalObjectDesignator munitionId) |
| Sets the munition entity identifier. More... | |
| void | setMunitionType (EntityType munitionType) |
| Sets the munition entity type. More... | |
| void | setQuantity (int quantity) |
| Sets quantity of munitions fired. More... | |
| void | setRange (double range) |
| Sets weapon range at detonation time. More... | |
| void | setRate (int rate) |
| Sets the weapon firing rate. More... | |
| void | setResult (ResultType result) |
| Sets the detonation result. More... | |
| void | setTargetId (GlobalObjectDesignator targetId) |
| Sets the targeted entity identifier. More... | |
| void | setVelocity (ConstVector3f velocity) |
| Sets the munition velocity. More... | |
| void | setWarheadType (WarheadType warheadType) |
| Sets the warhead type. More... | |
| void | setWorldPosition (ConstVector3d worldPosition) |
| Sets world position of detonation. More... | |
| String | toString () |
| String | getInteractionName () |
| Get the interaction class name. More... | |
Public Member Functions inherited from com.mak.vrlj.interaction.BaseInteraction | |
| double | getTimeStamp () |
| Get the interaction timestamp. More... | |
| void | setTimeStamp (double ts) |
| Set the interaction timestamp. More... | |
Static Public Member Functions | |
| static InteractionListener < DetonateInteraction > | addListener (ExerciseConnection exConn, InteractionListener< DetonateInteraction > listener) |
| Subscribe for callbacks when new interactions are received over the specified ExerciseConnection. More... | |
| static void | removeListener (ExerciseConnection exConn, InteractionListener< DetonateInteraction > listener) |
| Remove a subscription for interactions callbacks on an ExerciseConnection. More... | |
Static Public Attributes | |
| static final String | NAME = ":Detonate" |
| Interaction class name. More... | |
Private Attributes | |
| GlobalObjectDesignator | myFiringId = new GlobalObjectDesignator("") |
| GlobalObjectDesignator | myTargetId = new GlobalObjectDesignator("") |
| GlobalObjectDesignator | myMunitionId = new GlobalObjectDesignator("") |
| ConstVector3d | myWorldPosition |
| ConstVector3f | myVelocity |
| double | myRange |
| int | myEventId |
| EntityType | myMunitionType = new EntityType(-1, -1, -1, -1, -1, -1, -1) |
| FuzeType | myFuzeType = FuzeType.OTHER |
| WarheadType | myWarheadType = WarheadType.OTHER |
| int | myQuantity |
| int | myRate |
| ConstVector3f | myEntityLocation |
| ResultType | myResult = ResultType.OTHER |
| List< ArticulatedPart > | myArticulatedParts = new ArrayList<ArticulatedPart>() |
Additional Inherited Members | |
Protected Member Functions inherited from com.mak.vrlj.interaction.BaseInteraction | |
| BaseInteraction () | |
| Create a base interaction with an unset timestamp. More... | |
Simulated munition detonation.
|
inline |
Creates an empty detonate interaction.
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals().
|
inlinestatic |
Subscribe for callbacks when new interactions are received over the specified ExerciseConnection.
| exConn | ExerciseConnection to listen to. |
| listener | callback receiver. |
References com.mak.vrlj.interaction.DetonateInteraction.NAME.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.DetonateInteraction(), com.mak.vrlj.object.GlobalObjectDesignator.equals(), com.mak.vrlj.datatype.EntityType.equals(), com.mak.vrlj.interaction.DetonateInteraction.myEntityLocation, com.mak.vrlj.interaction.DetonateInteraction.myEventId, com.mak.vrlj.interaction.DetonateInteraction.myFiringId, com.mak.vrlj.interaction.DetonateInteraction.myFuzeType, com.mak.vrlj.interaction.DetonateInteraction.myMunitionType, com.mak.vrlj.interaction.DetonateInteraction.myQuantity, com.mak.vrlj.interaction.DetonateInteraction.myRange, com.mak.vrlj.interaction.DetonateInteraction.myRate, com.mak.vrlj.interaction.DetonateInteraction.myResult, com.mak.vrlj.interaction.DetonateInteraction.myTargetId, com.mak.vrlj.interaction.DetonateInteraction.myVelocity, com.mak.vrlj.interaction.DetonateInteraction.myWarheadType, and com.mak.vrlj.interaction.DetonateInteraction.myWorldPosition.
|
inline |
Gets articulated part details associated with the detonation.
References com.mak.vrlj.interaction.DetonateInteraction.myArticulatedParts.
|
inline |
Gets detonation location in the target entity coordinate system.
References com.mak.vrlj.interaction.DetonateInteraction.myEntityLocation.
|
inline |
Gets the detonation event identifier.
References com.mak.vrlj.interaction.DetonateInteraction.myEventId.
|
inline |
Gets the firing entity identifier.
References com.mak.vrlj.interaction.DetonateInteraction.myFiringId.
|
inline |
Gets the fuze type used by the munition.
References com.mak.vrlj.interaction.DetonateInteraction.myFuzeType.
|
inlinevirtual |
Get the interaction class name.
Implements com.mak.vrlj.interaction.Interaction.
References com.mak.vrlj.interaction.DetonateInteraction.NAME.
|
inline |
Gets the munition entity identifier.
References com.mak.vrlj.interaction.DetonateInteraction.myMunitionId.
|
inline |
Gets the munition entity type.
References com.mak.vrlj.interaction.DetonateInteraction.myMunitionType.
|
inline |
Gets the quantity of munitions fired.
References com.mak.vrlj.interaction.DetonateInteraction.myQuantity.
|
inline |
Gets weapon range at detonation time.
References com.mak.vrlj.interaction.DetonateInteraction.myRange.
|
inline |
Gets the weapon firing rate.
References com.mak.vrlj.interaction.DetonateInteraction.myRate.
|
inline |
Gets the detonation result.
References com.mak.vrlj.interaction.DetonateInteraction.myResult.
Referenced by com.mak.vrlj.example.f18.VehicleSim.checkDetonation().
|
inline |
Gets the targeted entity identifier.
References com.mak.vrlj.interaction.DetonateInteraction.myTargetId.
|
inline |
Gets the munition velocity.
References com.mak.vrlj.interaction.DetonateInteraction.myVelocity.
|
inline |
Gets the warhead type.
References com.mak.vrlj.interaction.DetonateInteraction.myWarheadType.
|
inline |
Gets the world position of detonation.
References com.mak.vrlj.interaction.DetonateInteraction.myWorldPosition.
Referenced by com.mak.vrlj.example.f18.VehicleSim.checkDetonation().
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myEntityLocation, com.mak.vrlj.interaction.DetonateInteraction.myEventId, com.mak.vrlj.interaction.DetonateInteraction.myFiringId, com.mak.vrlj.interaction.DetonateInteraction.myFuzeType, com.mak.vrlj.interaction.DetonateInteraction.myMunitionId, com.mak.vrlj.interaction.DetonateInteraction.myMunitionType, com.mak.vrlj.interaction.DetonateInteraction.myQuantity, com.mak.vrlj.interaction.DetonateInteraction.myRange, com.mak.vrlj.interaction.DetonateInteraction.myRate, com.mak.vrlj.interaction.DetonateInteraction.myResult, com.mak.vrlj.interaction.DetonateInteraction.myTargetId, com.mak.vrlj.interaction.DetonateInteraction.myVelocity, com.mak.vrlj.interaction.DetonateInteraction.myWarheadType, and com.mak.vrlj.interaction.DetonateInteraction.myWorldPosition.
|
inlinestatic |
Remove a subscription for interactions callbacks on an ExerciseConnection.
| exConn | ExerciseConnection listened to. |
| listener | the callback to remove. |
References com.mak.vrlj.interaction.DetonateInteraction.NAME.
|
inline |
Sets articulated part details associated with the detonation.
| theArticulatedParts | the myArticulatedParts to set |
References com.mak.vrlj.interaction.DetonateInteraction.myArticulatedParts.
|
inline |
Sets detonation location in the target entity coordinate system.
| entityLocation | location of detonation in coordinate system of target entity. |
References com.mak.vrlj.interaction.DetonateInteraction.myEntityLocation.
|
inline |
Sets the detonation event identifier.
| eventId | event ID (sequence number) of this firing event. |
References com.mak.vrlj.interaction.DetonateInteraction.myEventId.
|
inline |
Sets the firing entity identifier.
| firingId | GlobalObjectDesignator of the firing entity. |
References com.mak.vrlj.interaction.DetonateInteraction.myFiringId.
|
inline |
Sets the fuze type used by the munition.
| fuzeType | the FuzeType used by the munition fired. |
References com.mak.vrlj.interaction.DetonateInteraction.myFuzeType.
|
inline |
Sets the munition entity identifier.
| munitionId | GlobalObjectDesignator of the firing entity. |
References com.mak.vrlj.interaction.DetonateInteraction.myMunitionId.
|
inline |
Sets the munition entity type.
| munitionType | the type of munition fired. |
References com.mak.vrlj.interaction.DetonateInteraction.myMunitionType.
|
inline |
Sets quantity of munitions fired.
| quantity | the number of munitioned fired. |
References com.mak.vrlj.interaction.DetonateInteraction.myQuantity.
|
inline |
Sets weapon range at detonation time.
| range | the range of the weapon fired in meters. |
References com.mak.vrlj.interaction.DetonateInteraction.myRange.
|
inline |
Sets the weapon firing rate.
| rate | rate of fire per second. |
References com.mak.vrlj.interaction.DetonateInteraction.myRate.
|
inline |
Sets the detonation result.
| result | the ResultType of the detonation. |
References com.mak.vrlj.interaction.DetonateInteraction.myResult.
|
inline |
Sets the targeted entity identifier.
| targetId | GlobalObjectDesignator of the targeted entity. |
References com.mak.vrlj.interaction.DetonateInteraction.myTargetId.
|
inline |
Sets the munition velocity.
| velocity | the velocity of the fired munition. |
References com.mak.vrlj.interaction.DetonateInteraction.myVelocity.
|
inline |
Sets the warhead type.
| warheadType | the WarheadType of the fired munition. |
References com.mak.vrlj.interaction.DetonateInteraction.myWarheadType.
|
inline |
Sets world position of detonation.
| worldPosition | the position of where the munition detonated. |
References com.mak.vrlj.interaction.DetonateInteraction.myWorldPosition.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myEntityLocation, com.mak.vrlj.interaction.DetonateInteraction.myEventId, com.mak.vrlj.interaction.DetonateInteraction.myFiringId, com.mak.vrlj.interaction.DetonateInteraction.myFuzeType, com.mak.vrlj.interaction.DetonateInteraction.myMunitionId, com.mak.vrlj.interaction.DetonateInteraction.myMunitionType, com.mak.vrlj.interaction.DetonateInteraction.myQuantity, com.mak.vrlj.interaction.DetonateInteraction.myRange, com.mak.vrlj.interaction.DetonateInteraction.myRate, com.mak.vrlj.interaction.DetonateInteraction.myResult, com.mak.vrlj.interaction.DetonateInteraction.myTargetId, com.mak.vrlj.interaction.DetonateInteraction.myVelocity, com.mak.vrlj.interaction.DetonateInteraction.myWarheadType, and com.mak.vrlj.interaction.DetonateInteraction.myWorldPosition.
|
private |
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getEntityLocation(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setEntityLocation(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getEventId(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setEventId(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getFiringId(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setFiringId(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getFuzeType(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setFuzeType(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getMunitionType(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setMunitionType(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getQuantity(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setQuantity(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getRange(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setRange(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getResult(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setResult(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getTargetId(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setTargetId(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getVelocity(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setVelocity(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getWarheadType(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setWarheadType(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
private |
Referenced by com.mak.vrlj.interaction.DetonateInteraction.equals(), com.mak.vrlj.interaction.DetonateInteraction.getWorldPosition(), com.mak.vrlj.interaction.DetonateInteraction.hashCode(), com.mak.vrlj.interaction.DetonateInteraction.setWorldPosition(), and com.mak.vrlj.interaction.DetonateInteraction.toString().
|
static |