openpectus.engine.internal_commands_impl
Attributes
Classes
Base class for internal engine commands. |
|
Pause execution of commands and time. Put output tags into safe state. |
|
Base class for internal engine commands. |
|
Hold execution of commands and time, keeping ouput tags in their current state. |
|
Base class for internal engine commands. |
|
Base class for internal engine commands. |
|
Base class for internal engine commands. |
|
Base class for internal engine commands. |
|
Base class for internal engine commands. |
|
Base class for internal engine commands. |
Module Contents
- openpectus.engine.internal_commands_impl.logger
- openpectus.engine.internal_commands_impl.CANCEL_TIMEOUT_TICKS = 10
- class openpectus.engine.internal_commands_impl.StartEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandBase class for internal engine commands.
Adds support for long-running commands via a _run() generator method. The tick() base class method implements the state management of these commands.
- Parameters:
- engine
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.PauseEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandPause execution of commands and time. Put output tags into safe state.
See also Hold and Wait.
- Parameters:
- engine
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.UnpauseEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandBase class for internal engine commands.
Adds support for long-running commands via a _run() generator method. The tick() base class method implements the state management of these commands.
- Parameters:
- engine
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.HoldEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandHold execution of commands and time, keeping ouput tags in their current state.
See also Pause and Wait.
- Parameters:
- engine
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.UnholdEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandBase class for internal engine commands.
Adds support for long-running commands via a _run() generator method. The tick() base class method implements the state management of these commands.
- Parameters:
- engine
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.StopEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandBase class for internal engine commands.
Adds support for long-running commands via a _run() generator method. The tick() base class method implements the state management of these commands.
- Parameters:
- engine
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.RestartEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandBase class for internal engine commands.
Adds support for long-running commands via a _run() generator method. The tick() base class method implements the state management of these commands.
- Parameters:
- engine
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.InfoEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandBase class for internal engine commands.
Adds support for long-running commands via a _run() generator method. The tick() base class method implements the state management of these commands.
- Parameters:
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.WarningEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandBase class for internal engine commands.
Adds support for long-running commands via a _run() generator method. The tick() base class method implements the state management of these commands.
- Parameters:
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).
- class openpectus.engine.internal_commands_impl.ErrorEngineCommand(engine, registry)
Bases:
openpectus.engine.internal_commands.InternalEngineCommandBase class for internal engine commands.
Adds support for long-running commands via a _run() generator method. The tick() base class method implements the state management of these commands.
- Parameters:
- _run()
Override to implement the command using a generator style where each yield pauses execution until the next tick (i.e. call to execute()).