Ark
Loading...
Searching...
No Matches
comm_infrastructure.endpoint.EndPoint Class Reference

Public Member Functions

None __init__ (self, global_config)
 Initialize an Endpoint object for interacting with the registry and setting up LCM communication.

Public Attributes

 registry_host = self.network_config.get("registry_host", "127.0.0.1")
 registry_port = self.network_config.get("registry_port", 1234)
 lcm_network_bounces = self.network_config.get("lcm_network_bounces", 1)
dict network_config = {}

Protected Member Functions

None _load_network_config (self, str|Path|dict|None global_config)
 Load and update the network configuration from the given input.

Protected Attributes

LCM _lcm = lcm.LCM(udpm)

Constructor & Destructor Documentation

◆ __init__()

None comm_infrastructure.endpoint.EndPoint.__init__ ( self,
global_config )

Initialize an Endpoint object for interacting with the registry and setting up LCM communication.

Parameters
global_configGlobal configuration containing network settings.

Member Function Documentation

◆ _load_network_config()

None comm_infrastructure.endpoint.EndPoint._load_network_config ( self,
str | Path | dict | None global_config )
protected

Load and update the network configuration from the given input.

This method accepts a string path, a :class:Path object, a dictionary or None. The resulting configuration is stored in self.network_config.

Parameters
global_configPath to a YAML file, a dictionary containing the network configuration, or None to use defaults.
Returns
: None. self.network_config is updated in place.

Member Data Documentation

◆ _lcm

LCM comm_infrastructure.endpoint.EndPoint._lcm = lcm.LCM(udpm)
protected

◆ lcm_network_bounces

comm_infrastructure.endpoint.EndPoint.lcm_network_bounces = self.network_config.get("lcm_network_bounces", 1)

◆ network_config

comm_infrastructure.endpoint.EndPoint.network_config = {}

◆ registry_host

comm_infrastructure.endpoint.EndPoint.registry_host = self.network_config.get("registry_host", "127.0.0.1")

◆ registry_port

comm_infrastructure.endpoint.EndPoint.registry_port = self.network_config.get("registry_port", 1234)

The documentation for this class was generated from the following file: