Monado OpenXR Runtime
|
Variable tracking code. More...
#include "util/u_var.h"
#include "util/u_time.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_device.h"
#include <string>
#include <sstream>
#include <vector>
#include <unordered_map>
Data Structures | |
class | Var |
class | Obj |
class | Tracker |
Macros | |
#define | ADD_FUNC(SUFFIX, TYPE, ENUM) |
Functions | |
void | u_var_force_on (void) |
This forces the variable tracking code to on, it is disabled by default. More... | |
void | u_var_add_root (void *root, const char *c_name, bool number) |
Add a named root object, the u_var subsystem is completely none-invasive to the object it's tracking. More... | |
void | u_var_remove_root (void *root) |
Remove the root node. More... | |
void | u_var_visit (u_var_root_cb enter_cb, u_var_root_cb exit_cb, u_var_elm_cb elem_cb, void *priv) |
Visit all root nodes and their variables. More... | |
Variable tracking code.
#define ADD_FUNC | ( | SUFFIX, | |
TYPE, | |||
ENUM | |||
) |
void u_var_force_on | ( | void | ) |
This forces the variable tracking code to on, it is disabled by default.
References Tracker::on, and Tracker::tested.
Referenced by main(), and oxr_sdl2_hack_stop().
void u_var_remove_root | ( | void * | root | ) |
Remove the root node.
Referenced by gui_sdl2_imgui_loop(), and oxr_sdl2_hack_stop().
void u_var_visit | ( | u_var_root_cb | enter_cb, |
u_var_root_cb | exit_cb, | ||
u_var_elm_cb | elem_cb, | ||
void * | priv | ||
) |
Visit all root nodes and their variables.