public class FormationParameters extends IMCMessage
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(IMCMessage msg) |
FormationParameters(java.lang.String formation_name,
FormationParameters.REFERENCE_FRAME reference_frame,
java.util.Collection<VehicleFormationParticipant> participants,
java.lang.String custom) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public FormationParameters()
public FormationParameters(IMCMessage msg)
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 setFormationName(java.lang.String formation_name)
formation_name
- Formation Namepublic FormationParameters.REFERENCE_FRAME getReferenceFrame()
public java.lang.String getReferenceFrameStr()
public short getReferenceFrameVal()
public FormationParameters setReferenceFrame(FormationParameters.REFERENCE_FRAME reference_frame)
reference_frame
- Formation Reference Frame (enumerated)public FormationParameters setReferenceFrameStr(java.lang.String reference_frame)
reference_frame
- Formation Reference Frame (as a String)public FormationParameters setReferenceFrameVal(short reference_frame)
reference_frame
- Formation Reference Frame (integer value)public java.util.Vector<VehicleFormationParticipant> getParticipants()
public FormationParameters setParticipants(java.util.Collection<VehicleFormationParticipant> participants)
participants
- Formation Participantspublic java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public FormationParameters setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for formation (tuplelist)public FormationParameters setCustom(java.lang.String custom)