pymoveit_mtc.core.Property¶
- class Property(self: pymoveit_mtc.core.Property)¶
Bases:
pybind11_object
Holds an arbitrarily typed value and a default value
Methods
Retrieve the default value.
Was a (non-default) value stored?
Retrive the property description string
Reset the value to the stored default.
Set the current value only, w/o touching the default.
Set the property's description
Set current and default 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.