pymoveit_mtc.core.Property

class Property(self: pymoveit_mtc.core.Property)

Bases: pybind11_object

Holds an arbitrarily typed value and a default value

Methods

defaultValue

Retrieve the default value.

defined

Was a (non-default) value stored?

description

Retrive the property description string

reset

Reset the value to the stored default.

setCurrentValue

Set the current value only, w/o touching the default.

setDescription

Set the property's description

setValue

Set current and default value.

value

Retrieve the stored value.

defaultValue(self: pymoveit_mtc.core.Property) object

Retrieve the default value.

defined(self: pymoveit_mtc.core.Property) bool

Was a (non-default) value stored?

description(self: pymoveit_mtc.core.Property) str

Retrive the property description string

reset(self: pymoveit_mtc.core.Property) None

Reset the value to the stored default.

setCurrentValue(self: pymoveit_mtc.core.Property, value: object) None

Set the current value only, w/o touching the default.

setDescription(self: pymoveit_mtc.core.Property, desc: str) None

Set the property’s description

setValue(self: pymoveit_mtc.core.Property, value: object) None

Set current and default value.

value(self: pymoveit_mtc.core.Property) object

Retrieve the stored value.