View Source Rclex.ResourceServer (Rclex v0.5.3)

T.B.A

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

複数ノード生成
create_nodes/4ではcreate_nodes/3に加えて名前空間の指定が可能
返り値:
    node_identifier_list :: Enumerable.t()
    作成したノードプロセスのnameのリストを返す
ノードをひとつだけ作成
名前空間の有無を設定可能
返り値:
    node_identifier :: string()
    作成したノードプロセスのnameを返す
エグゼキュータの設定をしたノードをひとつだけ作成
名前空間の有無を設定可能
返り値:
    node_identifier :: string()
    作成したノードプロセスのnameを返す
ノードプロセスを削除する
入力
    node_identifier :: string()
    削除するnodeのプロセス名
ResourceServerプロセスの初期化
状態:
    supervisor_ids :: map()
    keyがnode_identifervalueがnode情報現在はnodeプロセスのsupervisorのidを格納している
タイマープロセスを削除する
入力
    timer_identifier :: ()
    削除するタイマープロセスの識別子
    {:global, timer_identifier}がタイマープロセス名になる

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

create_nodes(context, node_name, num_node)

View Source
Link to this function

create_nodes(context, node_name, namespace, num_node)

View Source
複数ノード生成
create_nodes/4ではcreate_nodes/3に加えて名前空間の指定が可能
返り値:
    node_identifier_list :: Enumerable.t()
    作成したノードプロセスのnameのリストを返す
Link to this function

create_nodes_with_executor_setting(context, node_name, num_node, arg)

View Source
Link to this function

create_nodes_with_executor_setting(context, node_name, node_name_space, num_node, arg)

View Source
Link to this function

create_singlenode(context, node_name)

View Source
Link to this function

create_singlenode(context, node_name, node_namespace)

View Source
ノードをひとつだけ作成
名前空間の有無を設定可能
返り値:
    node_identifier :: string()
    作成したノードプロセスのnameを返す
Link to this function

create_singlenode_with_executor_setting(context, node_name, arg)

View Source
エグゼキュータの設定をしたノードをひとつだけ作成
名前空間の有無を設定可能
返り値:
    node_identifier :: string()
    作成したノードプロセスのnameを返す
Link to this function

create_singlenode_with_executor_setting(context, node_name, node_name_space, arg)

View Source
Link to this function

create_timer(call_back, args, time, timer_name)

View Source
Link to this function

create_timer(call_back, args, time, timer_name, limit)

View Source
Link to this function

create_timer_with_executor_setting(call_back, args, time, timer_name, arg)

View Source
Link to this function

create_timer_with_executor_setting(call_back, args, time, timer_name, limit, arg)

View Source
Link to this function

finish_node(node_identifier)

View Source
ノードプロセスを削除する
入力
    node_identifier :: string()
    削除するnodeのプロセス名
Link to this function

finish_nodes(node_identifier_list)

View Source
ResourceServerプロセスの初期化
状態:
    supervisor_ids :: map()
    keyがnode_identifervalueがnode情報現在はnodeプロセスのsupervisorのidを格納している
Link to this function

stop_timer(timer_identifier)

View Source
タイマープロセスを削除する
入力
    timer_identifier :: ()
    削除するタイマープロセスの識別子
    {:global, timer_identifier}がタイマープロセス名になる