Skip to content

Releases: amaiorano/hsm

Patch: deprecate transitions for state overrides that accept state args

10 Oct 00:53
Compare
Choose a tag to compare
  • Deprecate transition functions for state overrides that also accept state args as these cannot be supported
  • Add HSM_DEPRECATED macro and use them to deprecate three functions that were deprecated in comments
  • Move GenerateOnEnterArgsFunc and related code below State definition to fix undefined class usage when compiling with gcc and clang
  • Assert that variadic args OnEnterArgs func is invoked on the expected type of state at runtime
  • Always store RTTI info on StateTypeId, whether using C++ RTTI or custom
  • Delete outdated "sample_1_basic"

Better StateArgs (C++14)

07 Oct 03:12
Compare
Choose a tag to compare
  • Remove std::ref() wrapping immediate string state args in book samples as they are no longer required
  • Implement MSVC-specific workaround so that we can pass immediate strings as state args
  • Optimize case of transition for state override with no state args
  • Add support for state overrides with state args
  • Fix book samples to work with new state args mechanism
  • Improve StateArgs mechanism by making use of C++11 features
  • Enable C++14 support for gcc and Clang
  • Simplify .gitignore