arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
audio_tools::BitVector Class Reference

Space optimized vector which stores the boolean values as bits. More...

#include <BitVector.h>

Public Member Functions

void clear ()
 
bool get (size_t index)
 
bool operator[] (size_t index)
 
void set (size_t index, bool value)
 
void setChangeCallback (void(*hdler)(int idx, bool value, void *ref), void *ref=nullptr)
 Defines a callback method which is called when a value is updated.
 
int size ()
 

Protected Attributes

void(* changeHandler )(int idx, bool value, void *ref) = nullptr
 
size_t max_idx =0
 
void * ref
 
Vector< uint64_t > vector
 

Detailed Description

Space optimized vector which stores the boolean values as bits.

Author
Phil Schatzmann

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