mpacts.commands.monitors. testloop

In order to be able to use this module import it like this:

import mpacts.commands.monitors.testloop
#or assign it to a shorter name
import mpacts.commands.monitors.testloop as tes

TestLoopCommand_Alive

class mpacts.commands.monitors.testloop.TestLoopCommand_Alive

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

If there is an alivemask run over alive and ignore potential activelist.
Has no default location.
  • Required keywords:
    • pc — Particle container on which the command is applied
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
  • Read only properties:
    • counter — Number of times this loop was executed
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, [gate, predicate]
TestLoopCommand_Alive(name, parent, **kwargs)

TestLoopCommand_Default

class mpacts.commands.monitors.testloop.TestLoopCommand_Default

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

Performs default loop (tries to do active first, if that fails alive and finally regular for loop.
Has no default location.
  • Required keywords:
    • pc — Particle container on which the command is applied
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
  • Read only properties:
    • counter — Number of times this loop was executed
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, [gate, predicate]
TestLoopCommand_Default(name, parent, **kwargs)

TestLoopCommand_Everything

class mpacts.commands.monitors.testloop.TestLoopCommand_Everything

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

Ignores everything and does normal loop.
Has no default location.
  • Required keywords:
    • pc — Particle container on which the command is applied
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
  • Read only properties:
    • counter — Number of times this loop was executed
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, [gate, predicate]
TestLoopCommand_Everything(name, parent, **kwargs)

TestLoopCommand_WithArray_Alive

class mpacts.commands.monitors.testloop.TestLoopCommand_WithArray_Alive

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

If there is an alivemask run over alive and ignore potential activelist.
Has no default location.
  • Required keywords:
    • pc — Particle container on which the command is applied
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
  • Read only properties:
    • counter — Number of times this loop was executed
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, [gate, predicate]
TestLoopCommand_WithArray_Alive(name, parent, **kwargs)

TestLoopCommand_WithArray_Default

class mpacts.commands.monitors.testloop.TestLoopCommand_WithArray_Default

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

Performs default loop (tries to do active first, if that fails alive and finally regular for loop.
Has no default location.
  • Required keywords:
    • pc — Particle container on which the command is applied
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
  • Read only properties:
    • counter — Number of times this loop was executed
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, [gate, predicate]
TestLoopCommand_WithArray_Default(name, parent, **kwargs)

TestLoopCommand_WithArray_Everything

class mpacts.commands.monitors.testloop.TestLoopCommand_WithArray_Everything

Bases: mpacts.core.command.Command, mpacts.core.baseobject.BaseObject

Ignores everything and does normal loop.
Has no default location.
  • Required keywords:
    • pc — Particle container on which the command is applied
  • Optional keywords:
    • gate (default value = ET::ChildProperty const*) — Can decide to (temporarily) not execute the command in a CommandList. (Default is ExecuteAlways)
    • predicate (default value = None) — Predicate that will decide whether this command is executed for a specific particle, when absent the command is executed for every particle.
  • Read only properties:
    • counter — Number of times this loop was executed
object __init__(tuple args, dict kwds) :
args: name, parent kwds: pc, [gate, predicate]
TestLoopCommand_WithArray_Everything(name, parent, **kwargs)