public class XTCETelecommandContentModel extends XTCEContainerContentModelBase
XTCEContainerContentModelBase.RunningStartBitcontainerDescription_, containerName_, contentList_, contentValues_, exhaustedBinaryBitSupply_, showAllConditions_, spaceSystems_, totalContainerSize_, warnings_| Constructor and Description |
|---|
XTCETelecommandContentModel(XTCETelecommand tcObject,
List<XTCESpaceSystem> spaceSystems,
BitSet binaryData)
Constructor
This constructor creates the telecommand content model object with TC
argument values evaluated from the binary provided in a BitSet.
|
XTCETelecommandContentModel(XTCETelecommand tcObject,
List<XTCESpaceSystem> spaceSystems,
List<XTCEContainerEntryValue> userValues,
boolean showAllConditions)
Constructor
This constructor creates the telecommand content model object with some
optional user values provided in a list.
|
| Modifier and Type | Method and Description |
|---|---|
XTCETCContainer |
getContainerReference()
Accessor to get the reference to the XTCETCContainer object that this
model represents.
|
XTCETelecommand |
getTelecommandReference()
Accessor to get the reference to the XTCETelecommand object that this
model represents.
|
long |
processTelecommand()
This method processes the contents of the entire telecommand into
a List of XTCEContainerContentEntry objects.
|
addArrayEntryDescription, addIncludeCondition, addIncludeConditions, addRepeatEntryDescription, addStartBit, applyBinaryValue, applyRestriction, applyRestrictions, applyUserValue, checkForOverlaps, dynamicCountFromUserValue, encodeContainer, evaluateContainerReferenceLocation, evaluateIncludeConditions, extractRawValue, findContainer, findParameter, findTelecommand, getBytesRequired, getContentList, getDescription, getName, getTotalSize, getUserValues, getWarnings, isEntryConditionSatisfied, isEntryNeedingStartBit, isProcessingCompatible, isValid, processEndOfContainer, reorderItemsByStartBit, setShowAllConditionalspublic XTCETelecommandContentModel(XTCETelecommand tcObject, List<XTCESpaceSystem> spaceSystems, List<XTCEContainerEntryValue> userValues, boolean showAllConditions) throws XTCEDatabaseException
tcObject - XTCETelecommand from the database object that contains
all the needed entry list items.spaceSystems - List of XTCESpaceSystem objects to search for
entries on the entry list.userValues - List of XTCEContainerEntryValue objects for TC
Parameters and/or Arguments that are within the container. This can be
null if no values are needed to be passed into conditional processing.showAllConditions - boolean indicating if unsatisfied conditional
includes should be pursued at depth. This can be a performance hit if
there are a large number of conditionals nested.XTCEDatabaseException - in the event that the telecommand cannot
be completely processed.public XTCETelecommandContentModel(XTCETelecommand tcObject, List<XTCESpaceSystem> spaceSystems, BitSet binaryData) throws XTCEDatabaseException
tcObject - XTCETelecommand from the database object that contains
all the needed entry list items.spaceSystems - List of XTCESpaceSystem objects to search for
entries on the entry list.binaryData - BitSet containing a map of the binary data that makes
up a binary instance of the container. The first bit in the set should
be the zeroth bit of the telecommand binary (start bit 0) and may be
short in the event that there are trailing zeros.XTCEDatabaseException - in the event that the telecommand cannot
be completely processed.public XTCETelecommand getTelecommandReference()
public XTCETCContainer getContainerReference()
public final long processTelecommand()
throws XTCEDatabaseException
XTCEDatabaseException - thrown in the event that this container
cannot be processed.Copyright © 2015–2019. All rights reserved.