Public Member Functions | Private Attributes
rs::log_callback Class Reference

#include <rs.hpp>

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

List of all members.

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

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) [inline, explicit]

Definition at line 1094 of file rs.hpp.


Member Function Documentation

void rs::log_callback::on_event ( rs_log_severity  severity,
const char *  message 
) [inline, override, virtual]

Implements rs_log_callback.

Definition at line 1096 of file rs.hpp.

void rs::log_callback::release ( ) [inline, override, virtual]

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 Tue Jun 25 2019 19:54:41