Package jisa.devices.interfaces
Interface TC
-
- All Superinterfaces:
Instrument
,MultiInstrument
,PID
- All Known Implementing Classes:
ArroyoTEC
,CryoCon22C
,ET2408
,FakeTC
,ITC503
,LS331
,LS336
,MercuryITC
public interface TC extends PID, MultiInstrument
Abstract class to define the standard functionality of temperature controllers
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TC.Heater
static interface
TC.Loop
static interface
TC.TMeter
static class
TC.ZonedLoop
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.Instrument
Instrument.AutoQuantity<S>, Instrument.OptionalQuantity<S>, Instrument.Parameter<S>, Instrument.Setter<S>, Instrument.TableQuantity
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.PID
PID.Input, PID.Output, PID.Zone
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <I extends Instrument>
java.util.List<I>get(java.lang.Class<I> type)
Returns a list of all sub-instruments this instrument contains that can be considered to be of the given instrument type.static java.lang.String
getDescription()
default java.util.List<? extends TC.Heater>
getHeaters()
default TC.Loop
getLoop(int index)
Returns the control loop with a given index, provided by this PID controller.java.util.List<? extends TC.Loop>
getLoops()
Returns a list of all control loops provided by this PID controller.default <I extends Instrument>
IgetSubInstrument(java.lang.Class<I> type, int index)
default java.util.List<java.lang.Class<? extends Instrument>>
getSubInstrumentTypes()
Returns a list of all the different classes of sub-instruments that this instrument contains.default java.util.List<? extends TC.TMeter>
getThermometers()
-
Methods inherited from interface jisa.devices.interfaces.Instrument
close, getAddress, getConfigurationParameters, getConfigurationParameters, getIDN, getLockObject, getName, setTimeout
-
Methods inherited from interface jisa.devices.interfaces.MultiInstrument
contains, contains, get, getSubInstruments, getSubInstruments
-
Methods inherited from interface jisa.devices.interfaces.PID
getInput, getInputs, getOutput, getOutputs
-
-
-
-
Method Detail
-
getDescription
static java.lang.String getDescription()
-
getLoops
java.util.List<? extends TC.Loop> getLoops()
Description copied from interface:PID
Returns a list of all control loops provided by this PID controller.
-
getLoop
default TC.Loop getLoop(int index)
Description copied from interface:PID
Returns the control loop with a given index, provided by this PID controller.
-
getThermometers
default java.util.List<? extends TC.TMeter> getThermometers()
-
getHeaters
default java.util.List<? extends TC.Heater> getHeaters()
-
getSubInstrumentTypes
default java.util.List<java.lang.Class<? extends Instrument>> getSubInstrumentTypes()
Description copied from interface:MultiInstrument
Returns a list of all the different classes of sub-instruments that this instrument contains.- Specified by:
getSubInstrumentTypes
in interfaceMultiInstrument
- Specified by:
getSubInstrumentTypes
in interfacePID
- Returns:
- List of sub-instrument classes
-
get
default <I extends Instrument> java.util.List<I> get(java.lang.Class<I> type)
Description copied from interface:MultiInstrument
Returns a list of all sub-instruments this instrument contains that can be considered to be of the given instrument type.- Specified by:
get
in interfaceMultiInstrument
- Specified by:
get
in interfacePID
- Type Parameters:
I
- Instrument class- Parameters:
type
- The class object of sub-instrument to return- Returns:
- List of sub-instruments matching the given class
-
getSubInstrument
default <I extends Instrument> I getSubInstrument(java.lang.Class<I> type, int index)
- Specified by:
getSubInstrument
in interfaceMultiInstrument
- Specified by:
getSubInstrument
in interfacePID
-
-