public class FormationParameters extends Maneuver
Modifier and Type | Class and Description |
---|---|
static class |
FormationParameters.REFERENCE_FRAME |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
FormationParameters() |
FormationParameters(IMCDefinition defs) |
FormationParameters(java.lang.String formation_name,
FormationParameters.REFERENCE_FRAME reference_frame,
java.util.Collection<VehicleFormationParticipant> participants,
java.lang.String custom) |
Modifier and Type | Method and Description |
---|---|
static FormationParameters |
clone(IMCMessage msg) |
static FormationParameters |
create(java.lang.Object... values) |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getCustom() |
java.lang.String |
getFormationName() |
java.util.Vector<VehicleFormationParticipant> |
getParticipants() |
FormationParameters.REFERENCE_FRAME |
getReferenceFrame()
Formation reference frame
|
void |
setCustom(java.util.LinkedHashMap<java.lang.String,?> custom) |
void |
setCustom(java.lang.String custom) |
void |
setFormationName(java.lang.String formation_name) |
void |
setParticipants(java.util.Collection<VehicleFormationParticipant> participants) |
void |
setReferenceFrame(FormationParameters.REFERENCE_FRAME reference_frame) |
void |
setReferenceFrame(short reference_frame) |
void |
setReferenceFrame(java.lang.String reference_frame) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public FormationParameters()
public FormationParameters(IMCDefinition defs)
public FormationParameters(java.lang.String formation_name, FormationParameters.REFERENCE_FRAME reference_frame, java.util.Collection<VehicleFormationParticipant> participants, java.lang.String custom)
public static FormationParameters create(java.lang.Object... values)
public static FormationParameters clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getFormationName()
public FormationParameters.REFERENCE_FRAME getReferenceFrame()
public java.util.Vector<VehicleFormationParticipant> getParticipants()
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public void setFormationName(java.lang.String formation_name)
formation_name
- Formation Namepublic void setReferenceFrame(FormationParameters.REFERENCE_FRAME reference_frame)
reference_frame
- Formation Reference Frame (enumerated)public void setReferenceFrame(java.lang.String reference_frame)
reference_frame
- Formation Reference Frame (as a String)public void setReferenceFrame(short reference_frame)
reference_frame
- Formation Reference Frame (integer value)public void setParticipants(java.util.Collection<VehicleFormationParticipant> participants)
participants
- Formation Participantspublic void setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for formation (tuplelist)public void setCustom(java.lang.String custom)