diff --git a/archive/codecs/RecordingSignal.go b/archive/codecs/RecordingSignal.go index 1d117ffc..947a6065 100644 --- a/archive/codecs/RecordingSignal.go +++ b/archive/codecs/RecordingSignal.go @@ -10,17 +10,18 @@ import ( type RecordingSignalEnum int32 type RecordingSignalValues struct { - START RecordingSignalEnum - STOP RecordingSignalEnum - EXTEND RecordingSignalEnum - REPLICATE RecordingSignalEnum - MERGE RecordingSignalEnum - SYNC RecordingSignalEnum - DELETE RecordingSignalEnum - NullValue RecordingSignalEnum + START RecordingSignalEnum + STOP RecordingSignalEnum + EXTEND RecordingSignalEnum + REPLICATE RecordingSignalEnum + MERGE RecordingSignalEnum + SYNC RecordingSignalEnum + DELETE RecordingSignalEnum + REPLICATE_END RecordingSignalEnum + NullValue RecordingSignalEnum } -var RecordingSignal = RecordingSignalValues{0, 1, 2, 3, 4, 5, 6, -2147483648} +var RecordingSignal = RecordingSignalValues{0, 1, 2, 3, 4, 5, 6, 7, -2147483648} func (r RecordingSignalEnum) Encode(_m *SbeGoMarshaller, _w io.Writer) error { if err := _m.WriteInt32(_w, int32(r)); err != nil { @@ -136,3 +137,15 @@ func (r *RecordingSignalEnum) DELETEInActingVersion(actingVersion uint16) bool { func (*RecordingSignalEnum) DELETEDeprecated() uint16 { return 0 } + +func (*RecordingSignalEnum) REPLICATE_ENDSinceVersion() uint16 { + return 0 +} + +func (r *RecordingSignalEnum) REPLICATE_ENDInActingVersion(actingVersion uint16) bool { + return actingVersion >= r.REPLICATE_ENDSinceVersion() +} + +func (*RecordingSignalEnum) REPLICATE_ENDDeprecated() uint16 { + return 0 +}