Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class mil.navy.nps.dis.BurstDescriptor

java.lang.Object
  |
  +--mil.navy.nps.dis.PduElement
        |
        +--mil.navy.nps.dis.BurstDescriptor

public class BurstDescriptor
extends PduElement
Version:
1.0
Author:
Don McGregor (http://www.stl.nps.navy.mil/~mcgredo)
Location:
http://www.stl.nps.navy.mil/dis-java-vrml/mil/navy/nps/dis/BurstDescriptor.java
Hierarchy Diagram:
Summary:
The firing of a round or a burst of ammunition shall be represented by a Burst Descriptor Record.
Explanation
Describes information about a weapons burst fired by some entity, such as the warhead type, the fuze, and how much was fired.

Includes the EntityType record, which describes the country and assorted other geeky information.

History:
13Dec96 /Don McGregor /New
05Mar97 /Don McGregor /Cleaned up for javadoc
16Apr97 /Don McGregor /PrintStream passed to printValues
8Dec97 /Ronan Fauglas /changes for documentation templates + complements in documentation
11Dec97 /Ronan Fauglas /changes access methods names from "variable()" to "getVariable()"
References:
DIS Data Dictionary: Burst Descriptor Record
DIS specification : IEEE 1278.1, 5.3.7
See Also:
PduElement, mil.navy.nps.util.SerializationInterface, FirePdu, DetonationPdu

Field Summary
mil.navy.nps.util.UnsignedShort fuse
          Type of fuse.
EntityType munition
          Munition Record.
mil.navy.nps.util.UnsignedShort quantity
          Quantity shall represent the number of rounds fired in the burst for the munition specified.
mil.navy.nps.util.UnsignedShort rate
          The Rate shall represent the rounds per minute for the munition specified.
static int sizeOf
          Constant value--size of a Burst Desciptor Record; here :sizeOf = 16 bytes.
mil.navy.nps.util.UnsignedShort warhead
          This filed shall describe the kind of explosive.
 
Constructor Summary
BurstDescriptor()
          Default constructor.
 
Method Summary
java.lang.Object clone()
           
void deSerialize(java.io.DataInputStream inputStream)
           
mil.navy.nps.util.UnsignedShort getFuse()
           
EntityType getMunition()
           
mil.navy.nps.util.UnsignedShort getQuantity()
           
mil.navy.nps.util.UnsignedShort getRate()
           
mil.navy.nps.util.UnsignedShort getWarhead()
           
int length()
           
void printValues(int indentLevel, java.io.PrintStream printStream)
           
void serialize(java.io.DataOutputStream outputStream)
           
void setFuse(mil.navy.nps.util.UnsignedShort pFuse)
           
void setFuse(int pFuse)
           
void setMunition(EntityType pMunition)
           
void setQuantity(mil.navy.nps.util.UnsignedShort pQuantity)
           
void setQuantity(int pQuantity)
           
void setRate(mil.navy.nps.util.UnsignedShort pRate)
           
void setRate(int pRate)
           
void setWarhead(mil.navy.nps.util.UnsignedShort pWarhead)
           
void setWarhead(int pWarhead)
           
 
Methods inherited from class mil.navy.nps.dis.PduElement
clone, deSerialize, length, printValues, serialize
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

munition

protected EntityType munition
Munition Record.

warhead

protected mil.navy.nps.util.UnsignedShort warhead
This filed shall describe the kind of explosive.
Value:
Enumeration, see references below for values.
References:
DIS Data Dictionary : Warhead Field
see Section 5 in EBV-DOC.

fuse

protected mil.navy.nps.util.UnsignedShort fuse
Type of fuse.
Value:
Enumeration, see references below for values.
References:
DIS Data Dictionary : fuse Field
see Section 5 in EBV-DOC.

quantity

protected mil.navy.nps.util.UnsignedShort quantity
Quantity shall represent the number of rounds fired in the burst for the munition specified.
References:
DIS Data Dictionary : Quantity Field

rate

protected mil.navy.nps.util.UnsignedShort rate
The Rate shall represent the rounds per minute for the munition specified.
References:
DIS Data Dictionary : Rate Field

sizeOf

public static final int sizeOf
Constant value--size of a Burst Desciptor Record; here :sizeOf = 16 bytes.
Constructor Detail

BurstDescriptor

public BurstDescriptor()
Default constructor. Initializes everything to zero, basically.
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class PduElement

serialize

public void serialize(java.io.DataOutputStream outputStream)
Overrides:
serialize in class PduElement

deSerialize

public void deSerialize(java.io.DataInputStream inputStream)
Overrides:
deSerialize in class PduElement

length

public int length()
Overrides:
length in class PduElement

printValues

public void printValues(int indentLevel,
                        java.io.PrintStream printStream)
Overrides:
printValues in class PduElement

getMunition

public EntityType getMunition()

setMunition

public void setMunition(EntityType pMunition)

getWarhead

public mil.navy.nps.util.UnsignedShort getWarhead()

setWarhead

public void setWarhead(mil.navy.nps.util.UnsignedShort pWarhead)

setWarhead

public void setWarhead(int pWarhead)

getFuse

public mil.navy.nps.util.UnsignedShort getFuse()

setFuse

public void setFuse(mil.navy.nps.util.UnsignedShort pFuse)

setFuse

public void setFuse(int pFuse)

getQuantity

public mil.navy.nps.util.UnsignedShort getQuantity()

setQuantity

public void setQuantity(mil.navy.nps.util.UnsignedShort pQuantity)

setQuantity

public void setQuantity(int pQuantity)

getRate

public mil.navy.nps.util.UnsignedShort getRate()

setRate

public void setRate(mil.navy.nps.util.UnsignedShort pRate)

setRate

public void setRate(int pRate)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD