scenic.core.dynamics.invocables

General code for invocables, i.e. behaviors, monitors, and modular scenarios.

Summary of Module Members

Functions

runTryInterrupt

Classes

BlockConclusion

An enumeration.

InterruptBlock

Invocable

Abstract class with common code for behaviors and modular scenarios.

Member Details

class Invocable(*args, **kwargs)[source]

Abstract class with common code for behaviors and modular scenarios.

Both of these types of objects can be called like functions, can have guards, and can suspend their own execution to invoke sub-behaviors/scenarios.

_invokeInner(agent, subs)[source]

Run the given sub-behavior/scenario(s) in parallel.

Implemented by subclasses.

class BlockConclusion(value)[source]

Bases: Enum

An enumeration.