ros2_snapshot.core.deployments.service module

Metamodels used to model ROS Services and the Banks that contain them.

class ros2_snapshot.core.deployments.service.Service(*args: Any, **kwargs: Any)

Bases: _EntityMetamodel

Metamodel for ROS Services.

construct_type: str | None = None
service_provider_node_names: Set[str] | List[str] | None = None
yaml_tag: ClassVar[str] = '!Service'
class ros2_snapshot.core.deployments.service.ServiceBank(*args: Any, **kwargs: Any)

Bases: _BankMetamodel

Metamodel for Bank of ROS Services.

HUMAN_OUTPUT_NAME = 'Services:'
entity_class(name)

Return class of entity given bank type.

Returns:

instance of entity class definition

yaml_tag: ClassVar[str] = '!ServiceBank'