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

#include <rs.hpp>

Inheritance diagram for rs2::log_callback:
rs2_log_callback

Public Types

typedef std::function< void(rs2_log_severity, rs2::log_message const &) > log_fn
 

Public Member Functions

 log_callback (log_fn &&on_log)
 
void on_log (rs2_log_severity severity, rs2_log_message const &msg) noexcept override
 
void release () override
 
- Public Member Functions inherited from rs2_log_callback
virtual ~rs2_log_callback ()
 

Member Typedef Documentation

◆ log_fn

typedef std::function< void( rs2_log_severity, rs2::log_message const & ) > rs2::log_callback::log_fn

Constructor & Destructor Documentation

◆ log_callback()

rs2::log_callback::log_callback ( log_fn &&  on_log)
inlineexplicit

Member Function Documentation

◆ on_log()

void rs2::log_callback::on_log ( rs2_log_severity  severity,
rs2_log_message const &  msg 
)
inlineoverridevirtualnoexcept

Implements rs2_log_callback.

◆ release()

void rs2::log_callback::release ( )
inlineoverridevirtual

Implements rs2_log_callback.


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