All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.space.xtce.SyncStrategyType Maven / Gradle / Ivy

Go to download

This project contains software to support the Object Management Group (OMG) Space Domain Task Force (SDTF) maintained XML Telemetry and Command Exchange (XTCE) specification.

There is a newer version: 1.1.6
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2019.03.16 at 05:52:46 PM MST 
//


package org.omg.space.xtce;

import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SyncStrategyType", propOrder = { "autoInvert" }) @XmlSeeAlso({ org.omg.space.xtce.FixedFrameStreamType.SyncStrategy.class, org.omg.space.xtce.VariableFrameStreamType.SyncStrategy.class }) public class SyncStrategyType { @XmlElement(name = "AutoInvert") protected SyncStrategyType.AutoInvert autoInvert; @XmlAttribute(name = "verifyToLockGoodFrames") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger verifyToLockGoodFrames; @XmlAttribute(name = "checkToLockGoodFrames") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger checkToLockGoodFrames; @XmlAttribute(name = "maxBitErrorsInSyncPattern") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger maxBitErrorsInSyncPattern; /** * Gets the value of the autoInvert property. * * @return * possible object is * {@link SyncStrategyType.AutoInvert } * */ public SyncStrategyType.AutoInvert getAutoInvert() { return autoInvert; } /** * Sets the value of the autoInvert property. * * @param value * allowed object is * {@link SyncStrategyType.AutoInvert } * */ public void setAutoInvert(SyncStrategyType.AutoInvert value) { this.autoInvert = value; } /** * Gets the value of the verifyToLockGoodFrames property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getVerifyToLockGoodFrames() { if (verifyToLockGoodFrames == null) { return new BigInteger("4"); } else { return verifyToLockGoodFrames; } } /** * Sets the value of the verifyToLockGoodFrames property. * * @param value * allowed object is * {@link BigInteger } * */ public void setVerifyToLockGoodFrames(BigInteger value) { this.verifyToLockGoodFrames = value; } /** * Gets the value of the checkToLockGoodFrames property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getCheckToLockGoodFrames() { if (checkToLockGoodFrames == null) { return new BigInteger("1"); } else { return checkToLockGoodFrames; } } /** * Sets the value of the checkToLockGoodFrames property. * * @param value * allowed object is * {@link BigInteger } * */ public void setCheckToLockGoodFrames(BigInteger value) { this.checkToLockGoodFrames = value; } /** * Gets the value of the maxBitErrorsInSyncPattern property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getMaxBitErrorsInSyncPattern() { if (maxBitErrorsInSyncPattern == null) { return new BigInteger("0"); } else { return maxBitErrorsInSyncPattern; } } /** * Sets the value of the maxBitErrorsInSyncPattern property. * * @param value * allowed object is * {@link BigInteger } * */ public void setMaxBitErrorsInSyncPattern(BigInteger value) { this.maxBitErrorsInSyncPattern = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <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>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "invertAlgorithm" }) public static class AutoInvert { @XmlElement(name = "InvertAlgorithm") protected InputAlgorithmType invertAlgorithm; @XmlAttribute(name = "badFramesToAutoInvert") @XmlSchemaType(name = "positiveInteger") protected BigInteger badFramesToAutoInvert; /** * Gets the value of the invertAlgorithm property. * * @return * possible object is * {@link InputAlgorithmType } * */ public InputAlgorithmType getInvertAlgorithm() { return invertAlgorithm; } /** * Sets the value of the invertAlgorithm property. * * @param value * allowed object is * {@link InputAlgorithmType } * */ public void setInvertAlgorithm(InputAlgorithmType value) { this.invertAlgorithm = value; } /** * Gets the value of the badFramesToAutoInvert property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getBadFramesToAutoInvert() { if (badFramesToAutoInvert == null) { return new BigInteger("1024"); } else { return badFramesToAutoInvert; } } /** * Sets the value of the badFramesToAutoInvert property. * * @param value * allowed object is * {@link BigInteger } * */ public void setBadFramesToAutoInvert(BigInteger value) { this.badFramesToAutoInvert = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy