adf_core_python.core.gateway package#
Subpackages#
- adf_core_python.core.gateway.component package
- adf_core_python.core.gateway.message package
- Subpackages
- Submodules
- adf_core_python.core.gateway.message.am_agent module
- adf_core_python.core.gateway.message.am_exec module
- adf_core_python.core.gateway.message.am_module module
- adf_core_python.core.gateway.message.am_update module
- adf_core_python.core.gateway.message.ma_exec_response module
- adf_core_python.core.gateway.message.ma_module_response module
- adf_core_python.core.gateway.message.moduleMessageFactory module
- Module contents
Submodules#
adf_core_python.core.gateway.gateway_agent module#
- class adf_core_python.core.gateway.gateway_agent.GatewayAgent(gateway_launcher: GatewayLauncher)#
ベースクラス:
object
- add_gateway_module(gateway_module: GatewayModule) None #
- get_module_count() int #
- initialize() None #
- is_initialized() bool #
- message_received(msg: <module 'rcrs_core.connection.RCRSProto_pb2' from '/home/runner/work/adf-core-python/adf-core-python/.venv/lib/python3.12/site-packages/rcrs_core/connection/RCRSProto_pb2.py'>) None #
- set_initialize_data(agent_info: AgentInfo, world_info: WorldInfo, scenario_info: ScenarioInfo) None #
- set_send_msg(connection_send_func: Callable) None #
- update() None #
adf_core_python.core.gateway.gateway_launcher module#
- class adf_core_python.core.gateway.gateway_launcher.GatewayLauncher(host: str, port: int, logger: BoundLogger)#
ベースクラス:
object
- connect(gateway_agent: GatewayAgent) None #
- make_connection() Connection #
adf_core_python.core.gateway.gateway_module module#
- class adf_core_python.core.gateway.gateway_module.GatewayModule(gateway_agent: GatewayAgent)#
ベースクラス:
object
- execute(method_name: str, args: dict[str, str] | None = None) Config #
- get_execute_response() Config #
- get_gateway_class_name() str #
- get_is_executed() bool #
- get_is_initialized() bool #
- get_module_id() str #
- initialize(module_name: str, default_class_name: str) str #
- set_execute_response(result: Config) None #
- set_gateway_class_name(gateway_class_name: str) None #
- set_is_executed(_is_executed: bool) None #
- set_is_initialized(is_initialized: bool) None #
adf_core_python.core.gateway.module_dict module#
- class adf_core_python.core.gateway.module_dict.ModuleDict(module_dict: dict[str, str] | None = None)#
ベースクラス:
object