Public Member Functions | Private Attributes | List of all members
rs2::notification Class Reference

#include <rs_sensor.hpp>

Public Member Functions

rs2_notification_category get_category () const
 
std::string get_description () const
 
std::string get_serialized_data () const
 
rs2_log_severity get_severity () const
 
double get_timestamp () const
 
 notification (rs2_notification *nt)
 
 notification ()=default
 

Private Attributes

rs2_notification_category _category = RS2_NOTIFICATION_CATEGORY_COUNT
 
std::string _description
 
std::string _serialized_data
 
rs2_log_severity _severity = RS2_LOG_SEVERITY_COUNT
 
double _timestamp = -1
 

Detailed Description

Definition at line 14 of file rs_sensor.hpp.

Constructor & Destructor Documentation

rs2::notification::notification ( rs2_notification nt)
inline

Definition at line 17 of file rs_sensor.hpp.

rs2::notification::notification ( )
default

Member Function Documentation

rs2_notification_category rs2::notification::get_category ( ) const
inline

retrieve the notification category

Returns
the notification category

Definition at line 38 of file rs_sensor.hpp.

std::string rs2::notification::get_description ( ) const
inline

retrieve the notification description

Returns
the notification description

Definition at line 46 of file rs_sensor.hpp.

std::string rs2::notification::get_serialized_data ( ) const
inline

retrieve the notification's serialized data

Returns
the serialized data (in JSON format)

Definition at line 73 of file rs_sensor.hpp.

rs2_log_severity rs2::notification::get_severity ( ) const
inline

retrieve the notification severity

Returns
the severity

Definition at line 64 of file rs_sensor.hpp.

double rs2::notification::get_timestamp ( ) const
inline

retrieve the notification arrival timestamp

Returns
the arrival timestamp

Definition at line 55 of file rs_sensor.hpp.

Member Data Documentation

rs2_notification_category rs2::notification::_category = RS2_NOTIFICATION_CATEGORY_COUNT
private

Definition at line 82 of file rs_sensor.hpp.

std::string rs2::notification::_description
private

Definition at line 79 of file rs_sensor.hpp.

std::string rs2::notification::_serialized_data
private

Definition at line 83 of file rs_sensor.hpp.

rs2_log_severity rs2::notification::_severity = RS2_LOG_SEVERITY_COUNT
private

Definition at line 81 of file rs_sensor.hpp.

double rs2::notification::_timestamp = -1
private

Definition at line 80 of file rs_sensor.hpp.


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


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