gusimplewhiteboard
|
Provides a C++ wrapper around wb_r_m_s_levels
.
More...
#include <RMSLevels.hpp>
Public Member Functions | |
RMSLevels (int16_t t_rear_left=0, int16_t t_rear_right=0, int16_t t_front_left=0, int16_t t_front_right=0) | |
Create a new RMSLevels . More... | |
RMSLevels (const RMSLevels &t_other) | |
Copy Constructor. More... | |
RMSLevels (const struct wb_r_m_s_levels &t_other) | |
Copy Constructor. More... | |
RMSLevels & | operator= (const RMSLevels &t_other) |
Copy Assignment Operator. More... | |
RMSLevels & | operator= (const struct wb_r_m_s_levels &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const RMSLevels &t_other) const |
bool | operator!= (const RMSLevels &t_other) const |
bool | operator== (const wb_r_m_s_levels &t_other) const |
bool | operator!= (const wb_r_m_s_levels &t_other) const |
int16_t & | rear_left () |
const int16_t & | rear_left () const |
void | set_rear_left (const int16_t &t_newValue) |
int16_t & | rear_right () |
const int16_t & | rear_right () const |
void | set_rear_right (const int16_t &t_newValue) |
int16_t & | front_left () |
const int16_t & | front_left () const |
void | set_front_left (const int16_t &t_newValue) |
int16_t & | front_right () |
const int16_t & | front_right () const |
void | set_front_right (const int16_t &t_newValue) |
RMSLevels (const std::string &t_str) | |
String Constructor. More... | |
std::string | description () |
std::string | to_string () |
void | from_string (const std::string &t_str) |
Additional Inherited Members | |
![]() | |
int16_t | rear_left |
rear left RMS level More... | |
int16_t | rear_right |
rear right RMS level More... | |
int16_t | front_left |
front left RMS level More... | |
int16_t | front_right |
front left RMS level More... | |
Provides a C++ wrapper around wb_r_m_s_levels
.
Definition at line 83 of file RMSLevels.hpp.
|
inline |
|
inline |
Copy Constructor.
Definition at line 109 of file RMSLevels.hpp.
References front_left(), front_right(), rear_left(), and rear_right().
|
inline |
Copy Constructor.
Definition at line 116 of file RMSLevels.hpp.
References wb_r_m_s_levels::front_left, wb_r_m_s_levels::front_right, wb_r_m_s_levels::rear_left, and wb_r_m_s_levels::rear_right.
|
inline |
|
inline |
USE_WB_R_M_S_LEVELS_C_CONVERSION
Definition at line 228 of file RMSLevels.hpp.
References front_left(), front_right(), rear_left(), rear_right(), RMS_LEVELS_DESC_BUFFER_SIZE, and wb_r_m_s_levels_description().
Referenced by guWhiteboard::DominantFrequencies::description().
|
inline |
USE_WB_R_M_S_LEVELS_C_CONVERSION
Definition at line 270 of file RMSLevels.hpp.
References RMS_LEVELS_DESC_BUFFER_SIZE, set_front_left(), set_front_right(), set_rear_left(), and set_rear_right().
Referenced by RMSLevels(), and guWhiteboard::DominantFrequencies::from_string().
|
inline |
Definition at line 189 of file RMSLevels.hpp.
References wb_r_m_s_levels::front_left.
Referenced by RMSLevels(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 194 of file RMSLevels.hpp.
References wb_r_m_s_levels::front_left.
|
inline |
Definition at line 204 of file RMSLevels.hpp.
References wb_r_m_s_levels::front_right.
Referenced by RMSLevels(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 209 of file RMSLevels.hpp.
References wb_r_m_s_levels::front_right.
|
inline |
Definition at line 144 of file RMSLevels.hpp.
|
inline |
Definition at line 154 of file RMSLevels.hpp.
Copy Assignment Operator.
Definition at line 123 of file RMSLevels.hpp.
References front_left(), front_right(), rear_left(), and rear_right().
|
inline |
Copy Assignment Operator.
Definition at line 131 of file RMSLevels.hpp.
References wb_r_m_s_levels::front_left, wb_r_m_s_levels::front_right, wb_r_m_s_levels::rear_left, and wb_r_m_s_levels::rear_right.
|
inline |
Definition at line 136 of file RMSLevels.hpp.
References front_left(), front_right(), rear_left(), and rear_right().
|
inline |
Definition at line 149 of file RMSLevels.hpp.
References RMSLevels().
|
inline |
Definition at line 159 of file RMSLevels.hpp.
References wb_r_m_s_levels::rear_left.
Referenced by RMSLevels(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 164 of file RMSLevels.hpp.
References wb_r_m_s_levels::rear_left.
|
inline |
Definition at line 174 of file RMSLevels.hpp.
References wb_r_m_s_levels::rear_right.
Referenced by RMSLevels(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 179 of file RMSLevels.hpp.
References wb_r_m_s_levels::rear_right.
|
inline |
Definition at line 199 of file RMSLevels.hpp.
References wb_r_m_s_levels::front_left.
Referenced by from_string().
|
inline |
Definition at line 214 of file RMSLevels.hpp.
References wb_r_m_s_levels::front_right.
Referenced by from_string().
|
inline |
Definition at line 169 of file RMSLevels.hpp.
References wb_r_m_s_levels::rear_left.
Referenced by from_string().
|
inline |
Definition at line 184 of file RMSLevels.hpp.
References wb_r_m_s_levels::rear_right.
Referenced by from_string().
|
inline |
USE_WB_R_M_S_LEVELS_C_CONVERSION
Definition at line 247 of file RMSLevels.hpp.
References front_left(), front_right(), rear_left(), rear_right(), RMS_LEVELS_TO_STRING_BUFFER_SIZE, and wb_r_m_s_levels_to_string().
Referenced by guWhiteboard::DominantFrequencies::to_string().