Class OVInlet<T>
Base Inlet for OpenViBE Link.
Namespace: LSL4Unity.OV
Assembly: cs.temp.dll.dll
Syntax
public abstract class OVInlet<T> : MonoBehaviour
Type Parameters
Name | Description |
---|---|
T |
Fields
expectedChannels
Declaration
protected int expectedChannels
Field Value
Type | Description |
---|---|
Int32 |
inlet
Declaration
protected liblsl.StreamInlet inlet
Field Value
Type | Description |
---|---|
liblsl.StreamInlet |
samples
Declaration
protected T[] samples
Field Value
Type | Description |
---|---|
T[] |
Properties
StreamName
Declaration
public string StreamName { get; }
Property Value
Type | Description |
---|---|
String |
Methods
ForceUpdate()
ForceUpdate is called when it's needed.
Declaration
public void ForceUpdate()
Process(T[], Double)
Override this method in the subclass to specify what should happen when samples are available.
Declaration
protected abstract void Process(T[] input, double time)
Parameters
Type | Name | Description |
---|---|---|
T[] | input | The Incomming Sample. |
Double | time | The current Time. |
PullSamples()
Pull the samples.
Declaration
protected abstract void PullSamples()