Package com.io7m.aradine.instrument.spi1
Record Class ARI1EventConfigurationParameterChanged
java.lang.Object
java.lang.Record
com.io7m.aradine.instrument.spi1.ARI1EventConfigurationParameterChanged
- Record Components:
timeOffsetInFrames
- The time offset in framesparameter
- The parameter ID
- All Implemented Interfaces:
ARI1EventConfigurationType
,ARI1EventType
public record ARI1EventConfigurationParameterChanged(@com.io7m.aradine.annotations.ARTimeFrames int timeOffsetInFrames, ARI1ParameterId parameter)
extends Record
implements ARI1EventConfigurationType
The value of a parameter has changed at this time period.
-
Constructor Summary
ConstructorsConstructorDescriptionARI1EventConfigurationParameterChanged
(@com.io7m.aradine.annotations.ARTimeFrames int timeOffsetInFrames, ARI1ParameterId parameter) Creates an instance of aARI1EventConfigurationParameterChanged
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theparameter
record component.@com.io7m.aradine.annotations.ARTimeFrames int
Returns the value of thetimeOffsetInFrames
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ARI1EventConfigurationParameterChanged
public ARI1EventConfigurationParameterChanged(@com.io7m.aradine.annotations.ARTimeFrames int timeOffsetInFrames, ARI1ParameterId parameter) Creates an instance of aARI1EventConfigurationParameterChanged
record class.- Parameters:
timeOffsetInFrames
- the value for thetimeOffsetInFrames
record componentparameter
- the value for theparameter
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
timeOffsetInFrames
public @com.io7m.aradine.annotations.ARTimeFrames int timeOffsetInFrames()Returns the value of thetimeOffsetInFrames
record component.- Specified by:
timeOffsetInFrames
in interfaceARI1EventType
- Returns:
- the value of the
timeOffsetInFrames
record component
-
parameter
Returns the value of theparameter
record component.- Returns:
- the value of the
parameter
record component
-