Interface ARI1InstrumentContextDeclarationsType

All Known Subinterfaces:
ARI1InstrumentContextType

public interface ARI1InstrumentContextDeclarationsType
Methods used by instruments to retrieve instances of declared parameters and ports.
  • Method Details

    • declaredParameters

      Map<ARI1ParameterNumber, ARI1ParameterType> declaredParameters()
      Returns:
      The instantiated parameters declared by the instrument
    • declaredParameter

      <C extends ARI1ParameterType> C declaredParameter(ARI1ParameterNumber id, Class<C> clazz)
      Retrieve a declared parameter and cast it to the given type.
      Type Parameters:
      C - The parameter class
      Parameters:
      id - The parameter ID
      clazz - The parameter class
      Returns:
      The parameter
    • declaredPorts

      Map<ARI1PortNumber, ARI1PortType> declaredPorts()
      Returns:
      The instantiated ports declared by the instrument
    • declaredPort

      <C extends ARI1PortType> C declaredPort(ARI1PortNumber id, Class<C> clazz)
      Retrieve a declared port and cast it to the given type.
      Type Parameters:
      C - The port class
      Parameters:
      id - The port ID
      clazz - The port class
      Returns:
      The port