Interface ILcdDAFIFMultiModelDecoder

All Superinterfaces:
ILcdDAFIFDecoder, ILcdModelDecoder
All Known Implementing Classes:
ALcdDAFIFMultiModelDecoder, TLcdDAFIFAerodromeNavaidDecoder, TLcdDAFIFILSDecoder, TLcdDAFIFIndependentAerodromeNavaidDecoder, TLcdDAFIFIndependentILSDecoder, TLcdDAFIFNavaidDecoder, TLcdDAFIFRefuelingTrackDecoder, TLcdDAFIFVFRRouteDecoder

public interface ILcdDAFIFMultiModelDecoder extends ILcdDAFIFDecoder
This interface defines the methods specific for decoders that produce so-called "multi" models. A "multi" model contains several submodels. The number of submodels should be specified by calling the setModelCount method.
  • Method Details

    • setModelCount

      void setModelCount(int aNumberOfModels)
      Specifies the number of submodels that will be decoded using this decoder.

      Note: this method should be called before calling the decode method.

      Parameters:
      aNumberOfModels - the number of submodels in the model produced by this decoder
      See Also:
    • getModelCount

      int getModelCount()
      Returns the number of models that will be available in the model produced by the decode method.
      Returns:
      the number of submodels in the model produced by this decoder
      See Also:
    • createModelDescriptor

      TLcdEditableModelListDescriptor createModelDescriptor(String aSource)
      Creates and returns the model descriptor to be set on the model returned in the decode method.
      Parameters:
      aSource - the source that will be used to build the model
      Returns:
      the model descriptor to be set on the model produced by this decoder