Interface ARI1InstrumentContextDeclarationsType
- All Known Subinterfaces:
ARI1InstrumentContextType
public interface ARI1InstrumentContextDeclarationsType
Methods used by instruments to retrieve instances of declared parameters and
ports.
-
Method Summary
Modifier and TypeMethodDescription<C extends ARI1ParameterType>
CdeclaredParameter(ARI1ParameterNumber id, Class<C> clazz) Retrieve a declared parameter and cast it to the given type.<C extends ARI1PortType>
CdeclaredPort(ARI1PortNumber id, Class<C> clazz) Retrieve a declared port and cast it to the given type.
-
Method Details
-
declaredParameters
Map<ARI1ParameterNumber, ARI1ParameterType> declaredParameters()- Returns:
- The instantiated parameters declared by the instrument
-
declaredParameter
Retrieve a declared parameter and cast it to the given type.- Type Parameters:
C- The parameter class- Parameters:
id- The parameter IDclazz- The parameter class- Returns:
- The parameter
-
declaredPorts
Map<ARI1PortNumber, ARI1PortType> declaredPorts()- Returns:
- The instantiated ports declared by the instrument
-
declaredPort
Retrieve a declared port and cast it to the given type.- Type Parameters:
C- The port class- Parameters:
id- The port IDclazz- The port class- Returns:
- The port
-