Public Member Functions | Private Attributes | List of all members
librealsense::stream Class Reference

#include <stream.h>

Inheritance diagram for librealsense::stream:
Inheritance graph
[legend]

Public Member Functions

int get_stream_index () const override
 
rs2_stream get_stream_type () const override
 
int get_unique_id () const override
 
void set_stream_index (int index) override
 
void set_stream_type (rs2_stream stream) override
 
void set_unique_id (int uid) override
 
 stream (rs2_stream stream_type, int index=0)
 
- Public Member Functions inherited from librealsense::stream_interface
virtual ~stream_interface ()=default
 

Private Attributes

int _index = 0
 
rs2_stream _type = RS2_STREAM_ANY
 
int _uid = 0
 

Detailed Description

Definition at line 14 of file src/stream.h.

Constructor & Destructor Documentation

librealsense::stream::stream ( rs2_stream  stream_type,
int  index = 0 
)

Definition at line 8 of file src/stream.cpp.

Member Function Documentation

int librealsense::stream::get_stream_index ( ) const
overridevirtual

Implements librealsense::stream_interface.

Definition at line 14 of file src/stream.cpp.

rs2_stream librealsense::stream::get_stream_type ( ) const
overridevirtual

Implements librealsense::stream_interface.

Definition at line 24 of file src/stream.cpp.

int librealsense::stream::get_unique_id ( ) const
inlineoverridevirtual

Implements librealsense::stream_interface.

Definition at line 25 of file src/stream.h.

void librealsense::stream::set_stream_index ( int  index)
overridevirtual

Implements librealsense::stream_interface.

Definition at line 19 of file src/stream.cpp.

void librealsense::stream::set_stream_type ( rs2_stream  stream)
overridevirtual

Implements librealsense::stream_interface.

Definition at line 29 of file src/stream.cpp.

void librealsense::stream::set_unique_id ( int  uid)
inlineoverridevirtual

Implements librealsense::stream_interface.

Definition at line 26 of file src/stream.h.

Member Data Documentation

int librealsense::stream::_index = 0
private

Definition at line 29 of file src/stream.h.

rs2_stream librealsense::stream::_type = RS2_STREAM_ANY
private

Definition at line 31 of file src/stream.h.

int librealsense::stream::_uid = 0
private

Definition at line 30 of file src/stream.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:38