Mozart.ProcessEngine (Mozart v0.1.4)
A ProcessEngine is dynamically spawned for the purpose of executing a process model.
Summary
Functions
Returns a specification to start this module under a supervisor.
Used to initiate task completion on any complete-able open tasks.
Utility function mainly for debugging. Returns the state of the process engine.
Callback implementation for GenServer.handle_continue/2
.
Callback implementation for GenServer.init/1
.
Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
complete_user_task(ppid, task_uid, data)
Link to this function
complete_user_task_and_go(ppid, task_uid, data)
Link to this function
create_next_tasks(state, next_task_name, previous_task_name \\ nil)
Link to this function
execute(ppid)
Used to initiate task completion on any complete-able open tasks.
Link to this function
execute_and_wait(ppid)
Link to this function
get_data(ppid)
Link to this function
get_model(ppid)
Link to this function
get_open_tasks(ppid)
Link to this function
get_state(ppid)
Utility function mainly for debugging. Returns the state of the process engine.
Link to this function
get_uid(ppid)
Link to this function
handle_continue(arg, state)
Callback implementation for GenServer.handle_continue/2
.
Link to this function
init(arg)
Callback implementation for GenServer.init/1
.
Link to this function
is_complete(ppid)
Link to this function
notify_child_complete(parent_pid, sub_process_name, data, completed_tasks)
Link to this function
set_data(ppid, data)
Link to this function