Package edu.nps.moves.dis7.pdus
Class SEESPdu
java.lang.Object
edu.nps.moves.dis7.pdus.Pdu
edu.nps.moves.dis7.pdus.PduBase
edu.nps.moves.dis7.pdus.DistributedEmissionsRegenerationFamilyPdu
edu.nps.moves.dis7.pdus.SEESPdu
- All Implemented Interfaces:
Marshaller,Serializable
- Direct Known Subclasses:
SupplementalEmissionEntityStatePdu
7.6.6 Certain supplemental information on an entity’s physical state and emissions. See 5.7.7
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected shortacoustic Signature representation indexprotected ByteArrayOutputStreambyteArrayOutputStream (baos) is used for marshal/unmarshal serializationprotected DataOutputStreamdataOutputStream (dos) is used for marshal/unmarshal serializationprotected shortIR Signature representation indexstatic final StringThe name of this PDU typeprotected shorthow many propulsion systemsprotected shorthow many vectoring nozzle systemsprotected EntityIDOriginating entity ID provides a unique identifierprotected List<PropulsionSystemData> variable length list of propulsion system dataprotected shortradar cross section representation indexprotected List<VectoringNozzleSystem> variable length list of vectoring system dataFields inherited from class edu.nps.moves.dis7.pdus.DistributedEmissionsRegenerationFamilyPdu
FAMILY_NAMEFields inherited from class edu.nps.moves.dis7.pdus.Pdu
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()copy method creates a deep copy of current object using preferred marshalling methodCreates a "deep copy" of current object using ByteBuffer methods.copy method creates a deep copy of current object using DataOutputStream methods.booleanbooleanequalsImpl(Object obj) Compare all fields that contribute to the state, ignoring transient and static fields, forthisand the supplied objectshortGetter foracousticSignatureRepresentationIndexshortGetter forinfraredSignatureRepresentationIndexintReturns size of this serialized (marshalled) object in bytesGetter fororginatingEntityIDGetter forpropulsionSystemDatashortGetter forvectoringSystemDatainthashCode()voidmarshal(DataOutputStream dos) Serializes an object to a DataOutputStream.voidmarshal(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.setAcousticSignatureRepresentationIndex(int pAcousticSignatureRepresentationIndex) Utility setter foracousticSignatureRepresentationIndexsetAcousticSignatureRepresentationIndex(short pAcousticSignatureRepresentationIndex) Setter foracousticSignatureRepresentationIndexsetInfraredSignatureRepresentationIndex(int pInfraredSignatureRepresentationIndex) Utility setter forinfraredSignatureRepresentationIndexsetInfraredSignatureRepresentationIndex(short pInfraredSignatureRepresentationIndex) Setter forinfraredSignatureRepresentationIndexsetOrginatingEntityID(EntityID pOrginatingEntityID) Setter fororginatingEntityIDsetPropulsionSystemData(List<PropulsionSystemData> pPropulsionSystemData) Setter forpropulsionSystemDatasetRadarCrossSectionSignatureRepresentationIndex(int pRadarCrossSectionSignatureRepresentationIndex) Utility setter forradarCrossSectionSignatureRepresentationIndexsetRadarCrossSectionSignatureRepresentationIndex(short pRadarCrossSectionSignatureRepresentationIndex) setVectoringSystemData(List<VectoringNozzleSystem> pVectoringSystemData) Setter forvectoringSystemDatatoString()intunmarshal(DataInputStream dis) Deserializes an object from a DataInputStream.intunmarshal(ByteBuffer byteBuffer) Unpacks a Pdu from the underlying data.Methods inherited from class edu.nps.moves.dis7.pdus.PduBase
getPadding, getPduStatus, setPadding, setPadding, setPduStatusMethods inherited from class edu.nps.moves.dis7.pdus.Pdu
copyByPduFactory, getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, getTimestampSeconds, isAcknowledgeRPdu, isActionRequestPdu, isActionRequestRPdu, isActionResponsePdu, isActionResponseRPdu, isAggregateStatePdu, isAppearancePdu, isArealObjectStatePdu, isArticulatedPartsPdu, isAttributePdu, isCollisionElasticPdu, isCollisionPdu, isCommentPdu, isCommentRPdu, isCreateEntityPdu, isCreateEntityRPdu, isDataPdu, isDataQueryPdu, isDataQueryRPdu, isDataRPdu, isDesignatorPdu, isDetonationPdu, isDirectedEnergyFirePdu, isDistributedEmissionsRegenerationFamilyPdu, isElectromagneticEmissionPdu, isEntityDamageStatusPdu, isEntityInformationInteractionFamilyPdu, isEntityManagementFamilyPdu, isEntityStatePdu, isEntityStateUpdatePdu, isEnvironmentalProcessPdu, isEventReportPdu, isEventReportRPdu, isFirePdu, isGriddedDataPdu, isIFFPdu, isInformationOperationsActionPdu, isInformationOperationsFamilyPdu, isInformationOperationsReportPdu, isIntercomControlPdu, isIntercomSignalPdu, isIsGroupOfPdu, isIsPartOfPdu, isLEDetonationPdu, isLEFirePdu, isLinearObjectStatePdu, isLiveEntityDetonationPdu, isLiveEntityFirePdu, isLogisticsFamilyPdu, isMinefieldDataPdu, isMinefieldFamilyPdu, isMinefieldQueryPdu, isMinefieldResponseNACKPdu, isMinefieldStatePdu, isPointObjectStatePdu, isRadioCommunicationsFamilyPdu, isReceiverPdu, isRecordQueryRPdu, isRecordRPdu, isReliablePdu, isRemoveEntityPdu, isRemoveEntityRPdu, isRepairCompletePdu, isRepairResponsePdu, isResupplyCancelPdu, isResupplyOfferPdu, isResupplyReceivedPdu, isSEESPdu, isSetDataPdu, isSetDataRPdu, isSetRecordRPdu, isSignalPdu, isSimulationManagementFamilyPdu, isSimulationManagementWithReliabilityFamilyPdu, isStartResumePdu, isStartResumeRPdu, isStopFreezePdu, isStopFreezeRPdu, isSupplementalEmissionEntityStatePdu, isSyntheticEnvironmentFamilyPdu, isTransferOwnershipPdu, isTransmitterPdu, isTSPIPdu, isUnderwaterAcousticPdu, isWarfareFamilyPdu, marshal, occursAfter, occursBefore, occursSameTime, setExerciseID, setExerciseID, setLength, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp, setTimestampSeconds
-
Field Details
-
NAME
-
orginatingEntityID
Originating entity ID provides a unique identifier -
infraredSignatureRepresentationIndex
protected short infraredSignatureRepresentationIndexIR Signature representation index -
acousticSignatureRepresentationIndex
protected short acousticSignatureRepresentationIndexacoustic Signature representation index -
radarCrossSectionSignatureRepresentationIndex
protected short radarCrossSectionSignatureRepresentationIndexradar cross section representation index -
numberOfPropulsionSystems
protected short numberOfPropulsionSystemshow many propulsion systems -
numberOfVectoringNozzleSystems
protected short numberOfVectoringNozzleSystemshow many vectoring nozzle systems -
propulsionSystemData
variable length list of propulsion system data -
vectoringSystemData
variable length list of vectoring system data -
byteArrayOutputStream
byteArrayOutputStream (baos) is used for marshal/unmarshal serialization- See Also:
-
dataOutputStream
dataOutputStream (dos) is used for marshal/unmarshal serialization- See Also:
-
-
Constructor Details
-
SEESPdu
public SEESPdu()Constructor creates and configures a new instance object
-
-
Method Details
-
copy
copy method creates a deep copy of current object using preferred marshalling method- Returns:
- deep copy of PDU
-
copyByteBuffer
Creates a "deep copy" of current object using ByteBuffer methods.- Returns:
- deep copy of PDU
-
copyDataOutputStream
copy method creates a deep copy of current object using DataOutputStream methods.- Returns:
- deep copy of PDU
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Specified by:
getMarshalledSizein interfaceMarshaller- Overrides:
getMarshalledSizein classDistributedEmissionsRegenerationFamilyPdu- Returns:
- serialized size in bytes
- See Also:
-
setOrginatingEntityID
Setter fororginatingEntityID- Parameters:
pOrginatingEntityID- new value of interest- Returns:
- same object to permit progressive setters
-
getOrginatingEntityID
-
setInfraredSignatureRepresentationIndex
Setter forinfraredSignatureRepresentationIndex- Parameters:
pInfraredSignatureRepresentationIndex- new value of interest- Returns:
- same object to permit progressive setters
-
setInfraredSignatureRepresentationIndex
Utility setter forinfraredSignatureRepresentationIndex- Parameters:
pInfraredSignatureRepresentationIndex- new value of interest- Returns:
- same object to permit progressive setters
-
getInfraredSignatureRepresentationIndex
public short getInfraredSignatureRepresentationIndex()Getter forinfraredSignatureRepresentationIndex- Returns:
- value of interest
-
setAcousticSignatureRepresentationIndex
Setter foracousticSignatureRepresentationIndex- Parameters:
pAcousticSignatureRepresentationIndex- new value of interest- Returns:
- same object to permit progressive setters
-
setAcousticSignatureRepresentationIndex
Utility setter foracousticSignatureRepresentationIndex- Parameters:
pAcousticSignatureRepresentationIndex- new value of interest- Returns:
- same object to permit progressive setters
-
getAcousticSignatureRepresentationIndex
public short getAcousticSignatureRepresentationIndex()Getter foracousticSignatureRepresentationIndex- Returns:
- value of interest
-
setRadarCrossSectionSignatureRepresentationIndex
public SEESPdu setRadarCrossSectionSignatureRepresentationIndex(short pRadarCrossSectionSignatureRepresentationIndex) - Parameters:
pRadarCrossSectionSignatureRepresentationIndex- new value of interest- Returns:
- same object to permit progressive setters
-
setRadarCrossSectionSignatureRepresentationIndex
public SEESPdu setRadarCrossSectionSignatureRepresentationIndex(int pRadarCrossSectionSignatureRepresentationIndex) Utility setter forradarCrossSectionSignatureRepresentationIndex- Parameters:
pRadarCrossSectionSignatureRepresentationIndex- new value of interest- Returns:
- same object to permit progressive setters
-
getRadarCrossSectionSignatureRepresentationIndex
public short getRadarCrossSectionSignatureRepresentationIndex()- Returns:
- value of interest
-
setPropulsionSystemData
Setter forpropulsionSystemData- Parameters:
pPropulsionSystemData- new value of interest- Returns:
- same object to permit progressive setters
-
getPropulsionSystemData
Getter forpropulsionSystemData- Returns:
- value of interest
-
setVectoringSystemData
Setter forvectoringSystemData- Parameters:
pVectoringSystemData- new value of interest- Returns:
- same object to permit progressive setters
-
getVectoringSystemData
Getter forvectoringSystemData- Returns:
- value of interest
-
marshal
Serializes an object to a DataOutputStream.- Specified by:
marshalin interfaceMarshaller- Overrides:
marshalin classDistributedEmissionsRegenerationFamilyPdu- Parameters:
dos- the OutputStream- Throws:
Exception- if something goes wrong- See Also:
-
unmarshal
Deserializes an object from a DataInputStream.- Specified by:
unmarshalin interfaceMarshaller- Overrides:
unmarshalin classDistributedEmissionsRegenerationFamilyPdu- Parameters:
dis- the InputStream- Returns:
- marshalled serialized size in bytes
- Throws:
Exception- if something goes wrong- See Also:
-
marshal
Packs an object into the ByteBuffer.- Specified by:
marshalin interfaceMarshaller- Overrides:
marshalin classDistributedEmissionsRegenerationFamilyPdu- Parameters:
byteBuffer- The ByteBuffer at the position to begin writing- Throws:
BufferOverflowException- if byteBuffer is too smallReadOnlyBufferException- if byteBuffer is read onlyException- ByteBuffer-generated exception- See Also:
-
unmarshal
Unpacks a Pdu from the underlying data.- Specified by:
unmarshalin interfaceMarshaller- Overrides:
unmarshalin classDistributedEmissionsRegenerationFamilyPdu- Parameters:
byteBuffer- The ByteBuffer at the position to begin reading- Returns:
- marshalled serialized size in bytes
- Throws:
BufferUnderflowException- if byteBuffer is too smallException- ByteBuffer-generated exception- See Also:
-
equals
- Overrides:
equalsin classDistributedEmissionsRegenerationFamilyPdu
-
equalsImpl
Description copied from class:PduCompare all fields that contribute to the state, ignoring transient and static fields, forthisand the supplied object- Overrides:
equalsImplin classDistributedEmissionsRegenerationFamilyPdu- Parameters:
obj- the object to compare to- Returns:
- true if the objects are equal, false otherwise.
-
toString
- Overrides:
toStringin classDistributedEmissionsRegenerationFamilyPdu
-
hashCode
-