Table of Contents

Class Timestamped

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Provides static methods for creating timestamped payload objects.

public static class Timestamped
Inheritance
Timestamped
Inherited Members

Methods

Create<T>(T, double)

Creates a new timestamped payload value.

public static Timestamped<T> Create<T>(T value, double seconds)

Parameters

value T

The value of the timestamped payload.

seconds double

The timestamp of the payload, in fractional seconds.

Returns

Timestamped<T>

A new instance of the Timestamped<T> class with the specified payload value and timestamp.

Type Parameters

T

The type of the value in the timestamped payload.