class documentation

class RequirementsMixin(AbstractUaObject):

View In Hierarchy

Mixin providing requirement/dependency management capabilities for UaObject.

Async Method add_dependency Add the given UaObject (skill, port, resource, etc.) as a dependency.
Property dependencies List of dependencies of this UaObject.
Async Method _init_requirements Undocumented
Class Variable __dependencies List of dependencies that will be checked before a skill/method can be executed.
Instance Variable __ua_requirements_folder OPC UA folder node organizing all requirements. Is initialized as soon as the first requirement is added.
async def add_dependency(self, other: UaObject):

Add the given UaObject (skill, port, resource, etc.) as a dependency.

Influences the conditions before this skill/method can be executed: * If the dependency is a port, it must be coupled. * If the dependency is a finite skill, it must be ready. * If the dependency is a continuous skill, it must be running.

@property
dependencies: list[UaObject] =

List of dependencies of this UaObject.

async def _init_requirements(self):

Undocumented

__dependencies: list[UaObject] | None =

List of dependencies that will be checked before a skill/method can be executed.

__ua_requirements_folder: Node | None =

OPC UA folder node organizing all requirements. Is initialized as soon as the first requirement is added.