The TimeLine<(Of <(<'ValueType>)>)> type exposes the following members.

Constructors

  NameDescription
Public methodTimeLine<(Of <(<'ValueType>)>)>
Create an instance of a TimeLine object with the specified name and subscribe to update for the TimeLine

Methods

  NameDescription
Protected methodByteArrayToValue
Convert a byte array back to a value
Public methodClear
Removes all values from at timeline (only the local copy)
Protected methodDifference
Difference between 2 time line values Default behaviour is to always return a large value
Public methodDisconnect
Disconnects the time line from the subscription list
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGet
Returns a value for the given time. Producing this value may require interpolation or extrapolation.
Public methodGetHashCode (Inherited from Object.)
Public methodGetRange
Returns a list of values for the given time range.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNextTime
Returns the next ground time after the given time. If there is no future ground time, returns t.
Public methodPrevTime
Returns the next ground time before the given time. If there is no past ground time, returns t.
Public methodReady
Returns true if the timeline is ready to be used. i.e. there is at least one value in the timeline
Public methodReconnect
Adds an existing time line to the subscription list
Public methodSet(Int32, ValueType)
Sets the value of the time line at time t. Any previously set values later than t are removed.
Public methodSet(Int32, ValueType, Boolean)
Sets the value of the time line at time t. Any previously set values later than t are removed.
Protected methodSetExtrapolationType
Sets the extrapolation delegate to be used
Public methodSetFromRemote
Used to update a value from a remote time line. The remote time is in real time, not relative time, so must be converted to relative time before saving.
Public methodSetId
Set the unique id for the timeline
Protected methodSetInterpolationType
Sets the interpolation delegate to be used
Public methodToString (Inherited from Object.)
Protected methodValueAfter
Returns the element following this one.
Protected methodValueAt
Returns the value at time t, if there is one; otherwise returns null.
Protected methodValueBefore(Int32)
Returns the element with latest time before the given time. Returns null is there is no such element.
Protected methodValueBefore(Int32, Boolean)
Returns the element with latest time before the given time. Returns null is there is no such element.
Protected methodValueBeforeAt
Returns the element with latest time before or at the given time. Returns null is there is no such element.
Protected methodValueToByteArray
Convert a value to a byte array for sending over the network

Fields

  NameDescription
Protected fieldExtrapolate
A delegate is used to specify the extrapolation method
Protected fieldInterpolate
A delegate is used to specify the interpolation method
Public fieldStatic memberlinear
Constant used for specifying the interpolation or extrapolation type
Public fieldName
Name of the time line
Public fieldStatic memberquadratic
Constant used for specifying the interpolation or extrapolation type
Public fieldStatic memberstepping
Constant used for specifying the interpolation or extrapolation type

Properties

  NameDescription
Public propertyBufferSize
Number of messages buffered on the TimeLineServer
Public propertyExtrapolationType
Extrapolation method to use when getting values
Public propertyInterpolationType
Interpolation method to use when getting values
Public propertyMaximumLength
Maximum number of values to store in the time line
Public propertyMinSendMS
Minimum time between sending messages to remote
Public propertySendAllValues
If true forces all values that are set in the timeline to be broadcast
Public propertyTolerance
Difference between extrapolated value on remote sites and the value on local sites causing the value to be sent to remote sites

Events

  NameDescription
Public eventRemoteSet
Create an event based on the RemoteSetHandler delegate

See Also