Public Member Functions | Private Attributes | List of all members
bit_packer Class Reference

#include <latency-detector.h>

Public Member Functions

 bit_packer (int digits)
 
std::vector< bool > & get ()
 
void reset ()
 
bool try_pack (int number)
 
bool try_unpack (int *number)
 

Private Attributes

std::vector< bool > _bits
 
int _digits
 

Detailed Description

Definition at line 71 of file latency-detector.h.

Constructor & Destructor Documentation

bit_packer::bit_packer ( int  digits)
inline

Definition at line 74 of file latency-detector.h.

Member Function Documentation

std::vector<bool>& bit_packer::get ( )
inline

Definition at line 132 of file latency-detector.h.

void bit_packer::reset ( void  )
inline

Definition at line 79 of file latency-detector.h.

bool bit_packer::try_pack ( int  number)
inline

Definition at line 105 of file latency-detector.h.

bool bit_packer::try_unpack ( int *  number)
inline

Definition at line 85 of file latency-detector.h.

Member Data Documentation

std::vector<bool> bit_packer::_bits
private

Definition at line 135 of file latency-detector.h.

int bit_packer::_digits
private

Definition at line 136 of file latency-detector.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:31