|
ENERGY MONITOR 0.2
|
wrap the core folder / include base helper methods and macros used accross the program More...
#include <vector>#include "data_IO/data_IO.h"#include "data_IO/pdfWrapper.h"#include <stdlib.h>#include <type_traits>#include <string>#include "settings/setting.h"#include <math.h>#include <ctime>#include <cmath>Go to the source code of this file.
Classes | |
| struct | eng_multiplier< t > |
| struct | process_feedback |
| class | mode< DATA > |
Macros | |
| #define | toRad(_deg) ((_deg/180) * M_PI) |
| #define | toDeg(_rad) ((_rad/M_PI) * 180) |
| #define | positive 1 |
| #define | zero 0 |
| #define | negative -1 |
| #define | sign(c) ((c>0) ? positive : ((c<0) ? negative : zero)) |
| #define | _USE_MATH_DEFINES |
| #define | toRad(_deg) ((_deg/180) * M_PI) |
| #define | toDeg(_rad) ((_rad/M_PI) * 180) |
Functions | |
| double | constrain (double _rad) |
| bool | isInDomain (double start, double end, double current) |
| bool | isNear (double v1, double v2, double acc) |
| template<typename t > | |
| t | roundTo (t num, t n) |
| float | getCurrentTime () |
| void | replace_char (char c) |
| std::string | bool_to_string (int v) |
Variables | |
| _settings | settings |
wrap the core folder / include base helper methods and macros used accross the program
Definition in file core.h.
|
inline |