Public Member Functions | Private Member Functions | Private Attributes
rs::context Class Reference

Context. More...

#include <rs.hpp>

List of all members.

Public Member Functions

 context ()
 Creates RealSense context that is required for the rest of the API.
 context (rs_context *handle)
deviceget_device (int index)
int get_device_count () const
 ~context ()

Private Member Functions

 context (const context &)
contextoperator= (const context &)

Private Attributes

rs_contexthandle

Detailed Description

Context.

Definition at line 319 of file rs.hpp.


Constructor & Destructor Documentation

rs::context::context ( const context ) [private]
rs::context::context ( ) [inline]

Creates RealSense context that is required for the rest of the API.

Definition at line 327 of file rs.hpp.

rs::context::context ( rs_context handle) [inline, explicit]

Definition at line 334 of file rs.hpp.

rs::context::~context ( ) [inline]

Definition at line 336 of file rs.hpp.


Member Function Documentation

device* rs::context::get_device ( int  index) [inline]

Retrieves connected device by index

Parameters:
[in]indexZero-based index of device to retrieve
Returns:
Requested device

Definition at line 354 of file rs.hpp.

int rs::context::get_device_count ( ) const [inline]

Determines number of connected devices

Returns:
Device count

Definition at line 343 of file rs.hpp.

context& rs::context::operator= ( const context ) [private]

Member Data Documentation

Definition at line 321 of file rs.hpp.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:41