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

#include <option.h>

Inheritance diagram for librealsense::observable_option:
Inheritance graph
[legend]

Public Member Functions

void add_observer (std::function< void(float)> callback)
 
void notify (float val)
 

Private Attributes

std::vector< std::function< void(float)> > _callbacks
 

Detailed Description

Definition at line 21 of file option.h.

Member Function Documentation

void librealsense::observable_option::add_observer ( std::function< void(float)>  callback)
inline

Definition at line 24 of file option.h.

void librealsense::observable_option::notify ( float  val)
inline

Definition at line 29 of file option.h.

Member Data Documentation

std::vector<std::function<void(float)> > librealsense::observable_option::_callbacks
private

Definition at line 38 of file option.h.


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


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