-
-
Notifications
You must be signed in to change notification settings - Fork 63
Feature Macros
Andrew Gresyk edited this page Apr 12, 2024
·
1 revision
Heavy features are disabled by default to speed up builds and reduce memory footprint, and can be explicitly enabled if needed.
#define
these before #include <hfsm2/machine.hpp>
.
-
Enable everything:
#define HFSM2_ENABLE_ALL
-
Enable per-state debug info for Visual Studio .natvis:
#define HFSM2_ENABLE_DEBUG_STATE_TYPE
-
Enable plans support:
#define HFSM2_ENABLE_PLANS
-
Enable serialization:
#define HFSM2_ENABLE_SERIALIZATION
-
Enable structure report:
#define HFSM2_ENABLE_STRUCTURE_REPORT
-
Enable transition history reporting:
#define HFSM2_ENABLE_TRANSITION_HISTORY
-
Enable utility theory-based transitions:
#define HFSM2_ENABLE_UTILITY_THEORY
-
Enable logging support:
#define HFSM2_ENABLE_LOG_INTERFACE #define HFSM2_ENABLE_VERBOSE_DEBUG_LOG