Class StreamOutlet

Implements
Namespace: LSL
Assembly: MOSAIC.dll
Syntax
public class StreamOutlet : LSLObject, IDisposable

Constructors

StreamOutlet(StreamInfo, int, int)

Declaration
public StreamOutlet(StreamInfo info, int chunk_size = 0, int max_buffered = 360)
Parameters
Type Name Description
StreamInfo info
int chunk_size
int max_buffered

Methods

DestroyLSLObject(nint)

To be implemented in inheriting classes: the liblsl function to destroy the internal object

Declaration
protected override void DestroyLSLObject(nint obj)
Parameters
Type Name Description
nint obj
Overrides
LSLObject.DestroyLSLObject(nint)

have_consumers()

Declaration
public bool have_consumers()
Returns
Type Description
bool

info()

Declaration
public StreamInfo info()
Returns
Type Description
StreamInfo

push_chunk(char[,], double, bool)

Declaration
public void push_chunk(char[,] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
char[,] data
double timestamp
bool pushthrough

push_chunk(char[,], double[], bool)

Declaration
public void push_chunk(char[,] data, double[] timestamps, bool pushthrough = true)
Parameters
Type Name Description
char[,] data
double[] timestamps
bool pushthrough

push_chunk(double[,], double, bool)

Declaration
public void push_chunk(double[,] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
double[,] data
double timestamp
bool pushthrough

push_chunk(double[,], double[], bool)

Declaration
public void push_chunk(double[,] data, double[] timestamps, bool pushthrough = true)
Parameters
Type Name Description
double[,] data
double[] timestamps
bool pushthrough

push_chunk(short[,], double, bool)

Declaration
public void push_chunk(short[,] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
short[,] data
double timestamp
bool pushthrough

push_chunk(short[,], double[], bool)

Declaration
public void push_chunk(short[,] data, double[] timestamps, bool pushthrough = true)
Parameters
Type Name Description
short[,] data
double[] timestamps
bool pushthrough

push_chunk(int[,], double, bool)

Declaration
public void push_chunk(int[,] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
int[,] data
double timestamp
bool pushthrough

push_chunk(int[,], double[], bool)

Declaration
public void push_chunk(int[,] data, double[] timestamps, bool pushthrough = true)
Parameters
Type Name Description
int[,] data
double[] timestamps
bool pushthrough

push_chunk(float[,], double, bool)

Declaration
public void push_chunk(float[,] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
float[,] data
double timestamp
bool pushthrough

push_chunk(float[,], double[], bool)

Declaration
public void push_chunk(float[,] data, double[] timestamps, bool pushthrough = true)
Parameters
Type Name Description
float[,] data
double[] timestamps
bool pushthrough

push_chunk(string[,], double, bool)

Declaration
public void push_chunk(string[,] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
string[,] data
double timestamp
bool pushthrough

push_chunk(string[,], double[], bool)

Declaration
public void push_chunk(string[,] data, double[] timestamps, bool pushthrough = true)
Parameters
Type Name Description
string[,] data
double[] timestamps
bool pushthrough

push_sample(char[], double, bool)

Declaration
public void push_sample(char[] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
char[] data
double timestamp
bool pushthrough

push_sample(double[], double, bool)

Declaration
public void push_sample(double[] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
double[] data
double timestamp
bool pushthrough

push_sample(short[], double, bool)

Declaration
public void push_sample(short[] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
short[] data
double timestamp
bool pushthrough

push_sample(int[], double, bool)

Declaration
public void push_sample(int[] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
int[] data
double timestamp
bool pushthrough

push_sample(float[], double, bool)

Declaration
public void push_sample(float[] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
float[] data
double timestamp
bool pushthrough

push_sample(string[], double, bool)

Declaration
public void push_sample(string[] data, double timestamp = 0, bool pushthrough = true)
Parameters
Type Name Description
string[] data
double timestamp
bool pushthrough

wait_for_consumers(double)

Declaration
public bool wait_for_consumers(double timeout = 32000000)
Parameters
Type Name Description
double timeout
Returns
Type Description
bool

Implements

IDisposable

Search documentation

Start typing to search the documentation.