class documentation

class ContinuousSkillLogicMixin(_SkillLogicMixin):

Constructor: ContinuousSkillLogicMixin(**kwargs)

View In Hierarchy

Mixin for providing continuous skill logic.

Async Method condition_as_dependency_ready Undocumented
Property is_finite Undocumented
Async Method _after_running Is called by the finite state machine after SkillState.RUNNING is entered.
Async Method _get_definition Undocumented

Inherited from _SkillLogicMixin:

Method __init__ Cooperative constructor.
Async Method halt Undocumented
Async Method lifecycle_skill_state_machine Initialize the skill state machine.
Async Method reset Undocumented
Async Method start Undocumented
Async Method suspend Undocumented
Method _add_transitions Undocumented
Async Method _after_halting Is called by the finite state machine after the SkillState.HALTING state is entered.
Async Method _after_resetting Is called by the finite state machine after the SkillState.RESETTING state is entered.
Async Method _after_starting Is called by the finite state machine after the SkillState.STARTING state is entered.
Async Method _after_suspending Is called by the finite state machine after the SkillState.SUSPENDING state is entered.
Async Method _condition_reset_allowed Implement additional custom conditions checked before resetting the skill.
Async Method _condition_start_allowed Implement additional custom conditions checked before starting the skill.
Async Method _condition_suspend_allowed Implement additional custom conditions checked before suspending the skill.
Async Method _handle_halting Handle user-specific logic during the SkillState.HALTING state.
Async Method _handle_resetting Handle user-specific logic during SkillState.RESETTING state.
Async Method _handle_running Handle user-specific logic during the SkillState.RUNNING state.
Async Method _handle_starting Handle user-specific logic during the SkillState.STARTING state.
Async Method _handle_suspending Handle user-specific logic during the SkillState.SUSPENDING state.
Async Method _suspend_point Blocks if current_state is SkillState.SUSPENDING and allow advance to SkillState.SUSPENDED.
Async Method _ua_halt Undocumented
Async Method _ua_reset Undocumented
Async Method _ua_start Undocumented
Async Method _ua_suspend Undocumented
Async Method _wrap_handle_method Undocumented
Instance Variable __tasks Keeps track of tasks related to skill execution and their name. These tasks will get canceled and emptied before handle_halting() is called.
Instance Variable _machine Skill Finite State Machine.
Instance Variable _paused_event Undocumented
Instance Variable _resume_event Undocumented
@override
async def condition_as_dependency_ready(self, _user: UserAuthorization) -> bool:

Undocumented

@property
@override
is_finite: bool =

Undocumented

@override
async def _after_running(self, *args, **kwargs):

Is called by the finite state machine after SkillState.RUNNING is entered.

@override
async def _get_definition(self) -> UaObjectDefinition:

Undocumented