C# Client 0.0.0.7
C# Library to interface with Corelink
Loading...
Searching...
No Matches
CoreLink.ReceiverStream Class Reference

Parent class to custom receiver scripts that will be attached to GameObjects. Several of these can be instantiated, and each of them will have their own sender stream. OnMessage(streamID, data) is called whenever there is data See the README for caveats on multiple receiver streams. More...

Inherits MonoBehaviour.

Public Member Functions

virtual void Initialize (ref Control control, List< uint > streamIDs=null)
 
virtual void OnMessage (uint streamID, byte[] header, byte[] message)
 

Public Attributes

string workspace = "Holodeck"
 
List< string > type
 

Protected Attributes

List< uint > streamIDs = new List<uint>()
 
Control control
 
uint streamID
 

Detailed Description

Parent class to custom receiver scripts that will be attached to GameObjects. Several of these can be instantiated, and each of them will have their own sender stream. OnMessage(streamID, data) is called whenever there is data See the README for caveats on multiple receiver streams.

Definition at line 13 of file MB_ReceiverStream.cs.

Member Function Documentation

◆ Initialize()

virtual void CoreLink.ReceiverStream.Initialize ( ref Control control,
List< uint > streamIDs = null )
virtual

Definition at line 20 of file MB_ReceiverStream.cs.

◆ OnMessage()

virtual void CoreLink.ReceiverStream.OnMessage ( uint streamID,
byte[] header,
byte[] message )
virtual

Definition at line 28 of file MB_ReceiverStream.cs.

Member Data Documentation

◆ control

Control CoreLink.ReceiverStream.control
protected

Definition at line 18 of file MB_ReceiverStream.cs.

◆ streamID

uint CoreLink.ReceiverStream.streamID
protected

Definition at line 19 of file MB_ReceiverStream.cs.

◆ streamIDs

List<uint> CoreLink.ReceiverStream.streamIDs = new List<uint>()
protected

Definition at line 17 of file MB_ReceiverStream.cs.

◆ type

List<string> CoreLink.ReceiverStream.type

Definition at line 16 of file MB_ReceiverStream.cs.

◆ workspace

string CoreLink.ReceiverStream.workspace = "Holodeck"

Definition at line 15 of file MB_ReceiverStream.cs.


The documentation for this class was generated from the following file: