-
-
Notifications
You must be signed in to change notification settings - Fork 5
Configuration Instance
Andrew Gresyk edited this page Apr 1, 2022
·
2 revisions
-
FSM instance is configured by defining
Config
type, and passing it intoffsm2::MachineT<TConfig>
:using Config = ffsm2::Config; using M = ffsm2::MachineT<Config>;
-
Multiple
ffsm2::Config
sub-types can be combined together:using Config = ffsm2::Config ::ContextT<TC> ::ManualActivation ::PayloadT<TP>;
-
Set context
Config::ContextT<>
-
Enable manual activation
Config::ManualActivation
-
Set transition destination substitution limit
Config::SubstitutionLimitN<>
-
Set maximum number of tasks across all plans of the FSM instance
Config::TaskCapacityN<uint16_t>
-
Enable transition payloads (if not
void
)Config::PayloadT<Type>