11void log_button(
const char *tag,
const char *prefix,
const char *
type, Button *obj);
13#define LOG_BUTTON(prefix, type, obj) log_button(TAG, prefix, LOG_STR_LITERAL(type), obj)
15#define SUB_BUTTON(name) \
17 button::Button *name##_button_{nullptr}; \
20 void set_##name##_button(button::Button *button) { this->name##_button_ = button; }
Providing packet encoding functions for exchanging data with a remote host.