Package org.omg.space.xtce
Class SyncStrategyType
- java.lang.Object
-
- org.omg.space.xtce.SyncStrategyType
-
- Direct Known Subclasses:
FixedFrameStreamType.SyncStrategy,VariableFrameStreamType.SyncStrategy
public class SyncStrategyType extends Object
A Sync Strategy specifies the strategy on how to find frames within a stream of PCM data. The sync strategy is based upon a state machine that begins in the 'Search' state until the first sync marker is found. Then it goes into the 'Verify' state until a specified number of successive good sync markers are found. Then, the state machine goes into the 'Lock' state, in the 'Lock' state frames are considered good. Should a sync marker be missed in the 'Lock' state, the state machine will transition into the 'Check' state, if the next sync marker is where it's expected within a specified number of frames, then the state machine will transition back to the 'Lock' state, it not it will transition back to 'Search'.Java class for SyncStrategyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SyncStrategyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="AutoInvert" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="InvertAlgorithm" type="{http://www.omg.org/space/xtce}InputAlgorithmType" minOccurs="0"/> </sequence> <attribute name="badFramesToAutoInvert" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="1024" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="verifyToLockGoodFrames" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="4" /> <attribute name="checkToLockGoodFrames" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="1" /> <attribute name="maxBitErrorsInSyncPattern" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="0" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSyncStrategyType.AutoInvertJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected SyncStrategyType.AutoInvertautoInvertprotected BigIntegercheckToLockGoodFramesprotected BigIntegermaxBitErrorsInSyncPatternprotected BigIntegerverifyToLockGoodFrames
-
Constructor Summary
Constructors Constructor Description SyncStrategyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncStrategyType.AutoInvertgetAutoInvert()Gets the value of the autoInvert property.BigIntegergetCheckToLockGoodFrames()Gets the value of the checkToLockGoodFrames property.BigIntegergetMaxBitErrorsInSyncPattern()Gets the value of the maxBitErrorsInSyncPattern property.BigIntegergetVerifyToLockGoodFrames()Gets the value of the verifyToLockGoodFrames property.voidsetAutoInvert(SyncStrategyType.AutoInvert value)Sets the value of the autoInvert property.voidsetCheckToLockGoodFrames(BigInteger value)Sets the value of the checkToLockGoodFrames property.voidsetMaxBitErrorsInSyncPattern(BigInteger value)Sets the value of the maxBitErrorsInSyncPattern property.voidsetVerifyToLockGoodFrames(BigInteger value)Sets the value of the verifyToLockGoodFrames property.
-
-
-
Field Detail
-
autoInvert
protected SyncStrategyType.AutoInvert autoInvert
-
verifyToLockGoodFrames
protected BigInteger verifyToLockGoodFrames
-
checkToLockGoodFrames
protected BigInteger checkToLockGoodFrames
-
maxBitErrorsInSyncPattern
protected BigInteger maxBitErrorsInSyncPattern
-
-
Method Detail
-
getAutoInvert
public SyncStrategyType.AutoInvert getAutoInvert()
Gets the value of the autoInvert property.- Returns:
- possible object is
SyncStrategyType.AutoInvert
-
setAutoInvert
public void setAutoInvert(SyncStrategyType.AutoInvert value)
Sets the value of the autoInvert property.- Parameters:
value- allowed object isSyncStrategyType.AutoInvert
-
getVerifyToLockGoodFrames
public BigInteger getVerifyToLockGoodFrames()
Gets the value of the verifyToLockGoodFrames property.- Returns:
- possible object is
BigInteger
-
setVerifyToLockGoodFrames
public void setVerifyToLockGoodFrames(BigInteger value)
Sets the value of the verifyToLockGoodFrames property.- Parameters:
value- allowed object isBigInteger
-
getCheckToLockGoodFrames
public BigInteger getCheckToLockGoodFrames()
Gets the value of the checkToLockGoodFrames property.- Returns:
- possible object is
BigInteger
-
setCheckToLockGoodFrames
public void setCheckToLockGoodFrames(BigInteger value)
Sets the value of the checkToLockGoodFrames property.- Parameters:
value- allowed object isBigInteger
-
getMaxBitErrorsInSyncPattern
public BigInteger getMaxBitErrorsInSyncPattern()
Gets the value of the maxBitErrorsInSyncPattern property.- Returns:
- possible object is
BigInteger
-
setMaxBitErrorsInSyncPattern
public void setMaxBitErrorsInSyncPattern(BigInteger value)
Sets the value of the maxBitErrorsInSyncPattern property.- Parameters:
value- allowed object isBigInteger
-
-