Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
Public Types | Public Member Functions | List of all members
SR::EyePairStream Class Reference

Stream of SR_eyePair objects. More...

#include <eyepairstream.h>

Public Types

using Frame = SR_eyePair
 

Public Member Functions

 EyePairStream (EyeTracker *sense, EyePairListener *listener)
 Construct a new EyePairStream. More...
 
 ~EyePairStream ()
 
void stopListening ()
 Stop listening and notify sense to stop sending new frames. (Called by listener) More...
 
void close ()
 Close the stream. (Called by sense) More...
 
void update (Frame frame)
 Send new frame to listener. More...
 

Detailed Description

Stream of SR_eyePair objects.

Connects an EyeTracker Sense to a EyePairListener object.

Member Typedef Documentation

◆ Frame

Constructor & Destructor Documentation

◆ EyePairStream()

SR::EyePairStream::EyePairStream ( EyeTracker sense,
EyePairListener listener 
)

Construct a new EyePairStream.

Parameters
senserefers to the EyeTracker providing updates
listenerrefers to the EyePairListener receiving updates

Called by the EyeTracker when requested for an EyePairListener through an openEyePairStream call.

◆ ~EyePairStream()

SR::EyePairStream::~EyePairStream ( )

Member Function Documentation

◆ close()

void SR::EyePairStream::close ( )

Close the stream. (Called by sense)

◆ stopListening()

void SR::EyePairStream::stopListening ( )

Stop listening and notify sense to stop sending new frames. (Called by listener)

◆ update()

void SR::EyePairStream::update ( Frame  frame)

Send new frame to listener.

Parameters
framerepresents a single update

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