-
Notifications
You must be signed in to change notification settings - Fork 10
okebkal edited this page Apr 1, 2016
·
16 revisions
fsm
Generic fsm behaviour
time() = {s, integer() > 0} | {ms, integer() > 0} | {us, integer() > 0}
trans() =
cb() =
at() =
Types
SM = sm()
Event = atom()
Result = sm()
Types
SM = sm()
Result = sm()
Types
SM = sm()
EventList = [atom()]
Result = sm()
Types
SM = sm()
Time = time()
Event = atom()
Result = sm()
Types
SM = sm()
Event = atom()
Result = true | false
Types
SM = sm()
Event = atom()
Result = sm()
Types
MiddleMan = mm()
SM = sm()
Term = any()
Result = sm()
Types
SM = sm()
AT = at()
Result = sm()
Types
SM = sm()
Target = atom()
Term = any()
Result = sm()
Types
CB = cb()
Term = any()
Types
SM = sm()
Target = atom()
Term = any()
Result = sm()
Types
SM = sm()
MiddleMan = mm()
EOpts = any()
Term = any()
Condition = fun((MiddleMan :: mm(),Role :: atom(),EOpts :: any()) -> true | false)
Result = sm()
Types
SM = sm()
Target = atom()
Result = true | false
The following functions must be exported from a fsm callback module.
Types
SM = sm()
Result = {ok,pid()} | ignore | {error,any()}
Types
SM = sm()
Result = sm()
Types
SM = sm()
Types
SM = sm()
MM = mm()
Term = any()
Result = sm()
Types
Result = trans()
Types
Result = [atom()]
Types
Result = atom()