Intel® RealSense™ Cross Platform API  2.13.0
Intel Realsense Cross-platform API
Public Member Functions | List of all members
rs2::notification Class Reference

#include <rs_sensor.hpp>

Public Member Functions

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

Constructor & Destructor Documentation

◆ notification() [1/2]

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

◆ notification() [2/2]

rs2::notification::notification ( )
default

Member Function Documentation

◆ get_category()

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

retrieve the notification category

Returns
the notification category

◆ get_description()

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

retrieve the notification description

Returns
the notification description

◆ get_serialized_data()

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

retrieve the notification's serialized data

Returns
the serialized data (in JSON format)

◆ get_severity()

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

retrieve the notification severity

Returns
the severity

◆ get_timestamp()

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

retrieve the notification arrival timestamp

Returns
the arrival timestamp

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