Public Member Functions | Private Attributes | List of all members
rs::log_callback Class Reference

#include <rs.hpp>

Inheritance diagram for rs::log_callback:
Inheritance graph
[legend]

Public Member Functions

 log_callback (std::function< void(log_severity, const char *)> on_event)
 
void on_event (rs_log_severity severity, const char *message) override
 
void release () override
 
- Public Member Functions inherited from rs_log_callback
virtual ~rs_log_callback ()
 

Private Attributes

std::function< void(log_severity, const char *)> on_event_function
 

Detailed Description

Definition at line 1090 of file rs.hpp.

Constructor & Destructor Documentation

rs::log_callback::log_callback ( std::function< void(log_severity, const char *)>  on_event)
inlineexplicit

Definition at line 1094 of file rs.hpp.

Member Function Documentation

void rs::log_callback::on_event ( rs_log_severity  severity,
const char *  message 
)
inlineoverridevirtual

Implements rs_log_callback.

Definition at line 1096 of file rs.hpp.

void rs::log_callback::release ( )
inlineoverridevirtual

Implements rs_log_callback.

Definition at line 1101 of file rs.hpp.

Member Data Documentation

std::function<void(log_severity, const char *)> rs::log_callback::on_event_function
private

Definition at line 1092 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 Fri Mar 13 2020 03:16:19