pymoveit_mtc.core.PropertyMap

class PropertyMap(self: pymoveit_mtc.core.PropertyMap)

Bases: pybind11_object

Dictionary of named properties

Methods

configureInitFrom

Configure initialization of listed (or all) properties from given source(s).

exposeTo

Overloaded function.

items

Retrieve an iterator over the items of the dictionary.

property

Retrieve the property instance for the given key.

reset

Reset all properties to their default values

update

Update property values from another dictionary

__getitem__(self: pymoveit_mtc.core.PropertyMap, arg0: str) object
__iter__(self: pymoveit_mtc.core.PropertyMap) Iterator[str]
configureInitFrom(self: pymoveit_mtc.core.PropertyMap, sources: int, names: list = []) None

Configure initialization of listed (or all) properties from given source(s).

exposeTo(*args, **kwargs)

Overloaded function.

  1. exposeTo(self: pymoveit_mtc.core.PropertyMap, other: pymoveit_mtc.core.PropertyMap, name: str) -> None

Declare named property in other PropertyMap - using same name.

  1. exposeTo(self: pymoveit_mtc.core.PropertyMap, other: pymoveit_mtc.core.PropertyMap, name: str, other_name: str) -> None

Declare named property in other PropertyMap - using other_name.

  1. exposeTo(self: pymoveit_mtc.core.PropertyMap, other: pymoveit_mtc.core.PropertyMap, names: list) -> None

Declare all named properties in other PropertyMap - using the same names.

items(self: pymoveit_mtc.core.PropertyMap) Iterator[tuple[str, pymoveit_mtc.core.Property]]

Retrieve an iterator over the items of the dictionary.

property(self: pymoveit_mtc.core.PropertyMap, key: str) pymoveit_mtc.core.Property

Retrieve the property instance for the given key. This is in contrast to map[key], which returns map.property(key).value().

reset(self: pymoveit_mtc.core.PropertyMap) None

Reset all properties to their default values

update(self: pymoveit_mtc.core.PropertyMap, values: dict) None

Update property values from another dictionary