libraries Fsm are using to handle FsmDiagram
Summary
Functions
get list of all fsm_id
get element data from data :func - function of fsm :argv - argument :vars - variable fsmid owns
get fsm record {fsmid, func, argv, vars} from :ets
get pid of fsm process from fsm_id through Registry fsmid: module or name of starting process
put vars into vars data of {fsmid, func, argv, vars} vars data is any() but one the variables are stored as list of tuple [{var1,
get fsm_id from self() through Registry
update State machine function and the arguement func(): Module and function such as &Module.func/1 func.(any()) executes, so append Module. the arity of func is fixed one but any()
Types
Functions
@spec fsm_table() :: list()
get list of all fsm_id
get element data from data :func - function of fsm :argv - argument :vars - variable fsmid owns
@spec get_fsm() :: tuple() | nil
get fsm record {fsmid, func, argv, vars} from :ets
get pid of fsm process from fsm_id through Registry fsmid: module or name of starting process
put vars into vars data of {fsmid, func, argv, vars} vars data is any() but one the variables are stored as list of tuple [{var1,
get fsm_id from self() through Registry
update State machine function and the arguement func(): Module and function such as &Module.func/1 func.(any()) executes, so append Module. the arity of func is fixed one but any()