Public Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::polling_error_handler Class Reference

#include <error-handling.h>

Public Member Functions

unsigned int get_polling_interval () const
 
 polling_error_handler (unsigned int poll_intervals_ms, std::shared_ptr< option > option, std::shared_ptr< notifications_processor > processor, std::shared_ptr< notification_decoder > decoder)
 
 polling_error_handler (const polling_error_handler &h)
 
void start (unsigned int poll_intervals_ms=0)
 
void stop ()
 
 ~polling_error_handler ()
 

Private Member Functions

void polling (dispatcher::cancellable_timer cancellable_timer)
 

Private Attributes

std::shared_ptr< active_object<> > _active_object
 
std::shared_ptr< notification_decoder_decoder
 
std::weak_ptr< notifications_processor_notifications_processor
 
std::shared_ptr< option_option
 
unsigned int _poll_intervals_ms
 
bool _silenced = false
 

Detailed Description

Definition at line 11 of file error-handling.h.

Constructor & Destructor Documentation

librealsense::polling_error_handler::polling_error_handler ( unsigned int  poll_intervals_ms,
std::shared_ptr< option option,
std::shared_ptr< notifications_processor processor,
std::shared_ptr< notification_decoder decoder 
)

Definition at line 10 of file error-handling.cpp.

librealsense::polling_error_handler::~polling_error_handler ( )

Definition at line 21 of file error-handling.cpp.

librealsense::polling_error_handler::polling_error_handler ( const polling_error_handler h)

Definition at line 26 of file error-handling.cpp.

Member Function Documentation

unsigned int librealsense::polling_error_handler::get_polling_interval ( ) const
inline

Definition at line 20 of file error-handling.h.

void librealsense::polling_error_handler::polling ( dispatcher::cancellable_timer  cancellable_timer)
private

Definition at line 46 of file error-handling.cpp.

void librealsense::polling_error_handler::start ( unsigned int  poll_intervals_ms = 0)

Definition at line 35 of file error-handling.cpp.

void librealsense::polling_error_handler::stop ( )

Definition at line 41 of file error-handling.cpp.

Member Data Documentation

std::shared_ptr< active_object<> > librealsense::polling_error_handler::_active_object
private

Definition at line 31 of file error-handling.h.

std::shared_ptr<notification_decoder> librealsense::polling_error_handler::_decoder
private

Definition at line 33 of file error-handling.h.

std::weak_ptr<notifications_processor> librealsense::polling_error_handler::_notifications_processor
private

Definition at line 32 of file error-handling.h.

std::shared_ptr<option> librealsense::polling_error_handler::_option
private

Definition at line 30 of file error-handling.h.

unsigned int librealsense::polling_error_handler::_poll_intervals_ms
private

Definition at line 28 of file error-handling.h.

bool librealsense::polling_error_handler::_silenced = false
private

Definition at line 29 of file error-handling.h.


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


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