java.lang.Object
org.yamcs.simulator.PerfMdbLoader
- All Implemented Interfaces:
org.yamcs.mdb.SpaceSystemLoader
Generates a MDB used for performance testing.
It generates all unsigned integer parameters with the size in bits specified
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.yamcs.xtce.SpaceSystemload()booleanneedsUpdate(RandomAccessFile consistencyDateFile) voidwriteConsistencyDate(FileWriter consistencyDateFile) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.yamcs.mdb.SpaceSystemLoader
getWriter, isWritable, loadList
-
Constructor Details
-
PerfMdbLoader
public PerfMdbLoader(org.yamcs.YConfiguration config)
-
-
Method Details
-
needsUpdate
public boolean needsUpdate(RandomAccessFile consistencyDateFile) throws IOException, org.yamcs.ConfigurationException - Specified by:
needsUpdatein interfaceorg.yamcs.mdb.SpaceSystemLoader- Throws:
IOExceptionorg.yamcs.ConfigurationException
-
getConfigName
- Specified by:
getConfigNamein interfaceorg.yamcs.mdb.SpaceSystemLoader
-
writeConsistencyDate
- Specified by:
writeConsistencyDatein interfaceorg.yamcs.mdb.SpaceSystemLoader
-
load
public org.yamcs.xtce.SpaceSystem load() throws org.yamcs.ConfigurationException, org.yamcs.mdb.DatabaseLoadException- Specified by:
loadin interfaceorg.yamcs.mdb.SpaceSystemLoader- Throws:
org.yamcs.ConfigurationExceptionorg.yamcs.mdb.DatabaseLoadException
-