#include <rs_frame.hpp>
Definition at line 22 of file rs_frame.hpp.
rs2::stream_profile::stream_profile |
( |
| ) |
|
|
inline |
Class to store the profile of stream
Definition at line 28 of file rs_frame.hpp.
template<class T >
T rs2::stream_profile::as |
( |
| ) |
const |
|
inline |
Template function, casting the instance as another class type
- Returns
- class instance - pointer or null.
Definition at line 103 of file rs_frame.hpp.
Clone the current profile and change the type, index and format to input parameters
- Parameters
-
[in] | type | - will change the stream type from the cloned profile. |
[in] | index | - will change the stream index from the cloned profile. |
[in] | format | - will change the stream format from the cloned profile. |
- Returns
- stream_profile - return the cloned stream profile.
Definition at line 63 of file rs_frame.hpp.
Return the stream format
- Returns
- rs2_format - stream format
Definition at line 44 of file rs_frame.hpp.
int rs2::stream_profile::fps |
( |
| ) |
const |
|
inline |
Return the stream frame per second
- Returns
- int - frame rate
Definition at line 49 of file rs_frame.hpp.
Get back the internal stream profile instance
- Returns
- rs2_stream_profile* - internal implementation of the profile class
Definition at line 137 of file rs_frame.hpp.
Operator implement, return the internal stream profile instance.
- Returns
- rs2_stream_profile* - internal instance to communicate with real implementation. Get the extrinsic transformation between two profiles (representing physical sensors)
- Parameters
-
[in] | stream_profile | to - the stream profile (another sensor) to be based to return the extrinsic |
- Returns
- rs2_stream_profile* - internal instance to communicate with real implementation.
Definition at line 148 of file rs_frame.hpp.
template<class T >
bool rs2::stream_profile::is |
( |
| ) |
const |
|
inline |
Template function, checking if the instance belongs to specific class type
- Returns
- bool - true or false.
Definition at line 92 of file rs_frame.hpp.
bool rs2::stream_profile::is_cloned |
( |
| ) |
|
|
inline |
bool rs2::stream_profile::is_default |
( |
| ) |
const |
|
inline |
Checks if stream profile is marked/assigned as default, meaning that the profile will be selected when the user requests stream configuration using wildcards (RS2_DEPTH, -1,-1,...
- Returns
- bool - true or false.
Definition at line 125 of file rs_frame.hpp.
rs2::stream_profile::operator bool |
( |
| ) |
const |
|
inline |
Checks if the profile is valid
- Returns
- bool - true or false.
Definition at line 131 of file rs_frame.hpp.
Comparison operator, compare if two stream profiles are the same
- Parameters
-
[in] | rhs | - stream profile to compare with. |
- Returns
- bool - true or false.
Definition at line 79 of file rs_frame.hpp.
Assign extrinsic transformation parameters to a specific profile (sensor). The extrinsic information is generally available as part of the camera calibration, and librealsense is responsible for retrieving and assigning these parameters where appropriate. This specific function is intended for synthetic/mock-up (software) devices for which the parameters are produced and injected by the user.
- Parameters
-
[in] | stream_profile | to - which stream profile to be registered with the extrinsic. |
[in] | rs2_extrinsics | extrinsics - the extrinsics to be registered. |
Definition at line 162 of file rs_frame.hpp.
int rs2::stream_profile::stream_index |
( |
| ) |
const |
|
inline |
Return the specific stream index
- Returns
- int - stream index
Definition at line 34 of file rs_frame.hpp.
Return the string of stream name
- Returns
- string - stream name.
Definition at line 113 of file rs_frame.hpp.
rs2_stream rs2::stream_profile::stream_type |
( |
| ) |
const |
|
inline |
Return the stream type
- Returns
- rs2_stream - stream type
Definition at line 39 of file rs_frame.hpp.
int rs2::stream_profile::unique_id |
( |
| ) |
const |
|
inline |
Return the assigned unique index when the stream was created
- Returns
- int - unique id
Definition at line 54 of file rs_frame.hpp.
bool rs2::stream_profile::_default = false |
|
protected |
int rs2::stream_profile::_framerate = 0 |
|
protected |
int rs2::stream_profile::_index = 0 |
|
protected |
int rs2::stream_profile::_uid = 0 |
|
protected |
The documentation for this class was generated from the following file: