java.lang.Object
org.yamcs.mdb.ContainerProcessingContext
Keeps track of where we are when processing a packet.
One object is used for all containers deriving in a hierarchy
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal DataEncodingDecoderfinal booleanbooleanfinal SequenceEntryProcessor -
Constructor Summary
ConstructorsConstructorDescriptionContainerProcessingContext(ProcessorData pdata, BitBuffer buffer, ContainerProcessingResult result, Subscription subscription, ContainerProcessingOptions options, boolean derivedFromRoot) -
Method Summary
Modifier and TypeMethodDescriptionlonglonggetIntegerValue(org.yamcs.xtce.IntegerValue iv) getMdb()getValue(org.yamcs.xtce.ParameterInstanceRef pir) Finds a parameter instance (i.e. a value) for a parameter in the current context It only returns a parameter if the instance status was {@link AcquisitionStatus#ACQUIRED)
-
Field Details
-
sequenceContainerProcessor
-
sequenceEntryProcessor
-
dataEncodingProcessor
-
provideContainerResult
public boolean provideContainerResult -
derivedFromRoot
public final boolean derivedFromRoot
-
-
Constructor Details
-
ContainerProcessingContext
public ContainerProcessingContext(ProcessorData pdata, BitBuffer buffer, ContainerProcessingResult result, Subscription subscription, ContainerProcessingOptions options, boolean derivedFromRoot)
-
-
Method Details
-
getValue
Finds a parameter instance (i.e. a value) for a parameter in the current context It only returns a parameter if the instance status was {@link AcquisitionStatus#ACQUIRED)- Parameters:
pir-- Returns:
- the value found or null if not value has been found
-
getIntegerValue
public long getIntegerValue(org.yamcs.xtce.IntegerValue iv) -
getMdb
-
getProcessorData
-
getAcquisitionTime
public long getAcquisitionTime()
-