Class AbstractMetaRatOutput

    • Field Detail

      • m_Output

        protected RatOutput m_Output
        the base RatOutput to use.
    • Constructor Detail

      • AbstractMetaRatOutput

        public AbstractMetaRatOutput()
    • Method Detail

      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class adams.core.option.AbstractOptionHandler
      • setOutput

        public void setOutput​(RatOutput value)
        Sets the base transmitter to use.
        Parameters:
        value - the transmitter
      • getOutput

        public RatOutput getOutput()
        Returns the base transmitter to use.
        Returns:
        the transmitter
      • outputTipText

        public String outputTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the actor, which will be displayed in the GUI.
        Specified by:
        getQuickInfo in interface adams.core.QuickInfoSupporter
        Overrides:
        getQuickInfo in class AbstractRatOutput
        Returns:
        null if no info available, otherwise short string
      • setUp

        public String setUp()
        Hook method for performing checks at setup time.
        Specified by:
        setUp in interface RatOutput
        Overrides:
        setUp in class AbstractRatOutput
        Returns:
        null if successful, otherwise error message
      • preTransmit

        protected String preTransmit()
        Hook method before calling the base-output's transmit() method.

        Default implementation does nothing.
        Returns:
        null if successful, otherwise error message
      • callTransmit

        protected String callTransmit()
        Hook method that calls the base-input's transmit() method.
        Returns:
        null if successful, otherwise error message
      • postTransmit

        protected String postTransmit()
        Hook method after calling the base-output's transmit() method.

        Default implementation does nothing.
        Returns:
        null if successful, otherwise error message
      • doTransmit

        protected String doTransmit()
        Performs the actual reception of data.
        Specified by:
        doTransmit in class AbstractRatOutput
        Returns:
        null if successful, otherwise error message