Package org.yamcs.mdb

Class XtceLoader

java.lang.Object
org.yamcs.mdb.XtceLoader
All Implemented Interfaces:
SpaceSystemLoader

public class XtceLoader extends Object implements SpaceSystemLoader
XTCE XML loader. Used when the MDB configuration contains the type "xtce". For example in yamcs.instance.yaml:
 mdb:
 - type: xtce
   args:
     file: "mdb/BogusSAT-1.xml"
 
The loader is tolerant for XTCE versions 1.1 and 1.2.

For strict adherence to the standard, the file can be verified against the XSD with an external tool.

Options:

  • file: the XML file to be loaded. Can be an absolute path or relative to the server directory. Mandatory.
  • autoPacketNames (old name autoTmPartitions): if true (default) all the SequenceContainer will be automatically used as packet names unless they have a parent in the hierarchy that is manually configured as packet name. The manual configuration can be achieved using an AncillaryData property with the name Yamcs and the value UseAsPacketName. See SequenceContainer.useAsPacketName(boolean)