Simulated munition detonation. More...
Inheritance diagram for com.mak.vrlj.interaction.DetonateInteraction:
Collaboration diagram for com.mak.vrlj.interaction.DetonateInteraction: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. | |
| static void | removeListener (ExerciseConnection exConn, InteractionListener< DetonateInteraction > listener) |
| Remove a subscription for interactions callbacks on an ExerciseConnection. | |
Static Public Attributes | |
| static final String | NAME = ":Detonate" |
| Interaction class name. | |
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>() |
Simulated munition detonation.
|
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.vl.ExerciseConnection.addInteractionListener(), and com.mak.vrlj.interaction.DetonateInteraction.NAME.
Referenced by com.mak.vrlj.example.f18.VehicleSim.VehicleSim().
|
inline |
References 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 |
References com.mak.vrlj.interaction.DetonateInteraction.myArticulatedParts.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myEntityLocation.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myEventId.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myFiringId.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myFuzeType.
|
inlinevirtual |
Implements com.mak.vrlj.interaction.Interaction.
References com.mak.vrlj.interaction.DetonateInteraction.NAME.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myMunitionId.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myMunitionType.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myQuantity.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myRange.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myRate.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myResult.
Referenced by com.mak.vrlj.example.f18.VehicleSim.checkDetonation().
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myTargetId.
Referenced by com.mak.vrlj.example.f18.VehicleSim.checkDetonation().
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myVelocity.
|
inline |
References com.mak.vrlj.interaction.DetonateInteraction.myWarheadType.
|
inline |
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, and com.mak.vrlj.vl.ExerciseConnection.removeInteractionListener().
|
inline |
| theArticulatedParts | the myArticulatedParts to set |
References com.mak.vrlj.interaction.DetonateInteraction.myArticulatedParts.
|
inline |
| entityLocation | location of detonation in coordinate system of target entity. |
References com.mak.vrlj.interaction.DetonateInteraction.myEntityLocation.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| eventId | event ID (sequence number) of this firing event. |
References com.mak.vrlj.interaction.DetonateInteraction.myEventId.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| firingId | GlobalObjectDesignator of the firing entity. |
References com.mak.vrlj.interaction.DetonateInteraction.myFiringId.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| fuzeType | the FuzeType used by the munition fired. |
References com.mak.vrlj.interaction.DetonateInteraction.myFuzeType.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| munitionId | GlobalObjectDesignator of the firing entity. |
References com.mak.vrlj.interaction.DetonateInteraction.myMunitionId.
|
inline |
| munitionType | the type of munition fired. |
References com.mak.vrlj.interaction.DetonateInteraction.myMunitionType.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| quantity | the number of munitioned fired. |
References com.mak.vrlj.interaction.DetonateInteraction.myQuantity.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| range | the range of the weapon fired in meters. |
References com.mak.vrlj.interaction.DetonateInteraction.myRange.
|
inline |
| rate | rate of fire per second. |
References com.mak.vrlj.interaction.DetonateInteraction.myRate.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| result | the ResultType of the detonation. |
References com.mak.vrlj.interaction.DetonateInteraction.myResult.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| targetId | GlobalObjectDesignator of the targeted entity. |
References com.mak.vrlj.interaction.DetonateInteraction.myTargetId.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| velocity | the velocity of the fired munition. |
References com.mak.vrlj.interaction.DetonateInteraction.myVelocity.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| warheadType | the WarheadType of the fired munition. |
References com.mak.vrlj.interaction.DetonateInteraction.myWarheadType.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
inline |
| worldPosition | the position of where the munition detonated. |
References com.mak.vrlj.interaction.DetonateInteraction.myWorldPosition.
Referenced by com.mak.vrlj.example.f18.VehicleSim.detonateMunition().
|
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 |