BaseActor

class bapsf_motion.actors.base.BaseActor(*, name: str = None, logger: Logger = None)

Bases: ABC

Low-level base class for any Actor class.

Parameters:
  • name (str, optional) – A unique name for the Actor instance.

  • logger (Logger, optional) – The instance of Logger that the Actor should record events and status updates.

Attributes Summary

config

Configuration dictionary of the actor.

logger

The Logger instance being used for the actor.

name

(str) A unique name given for the instance of the actor.

Attributes Documentation

config

Configuration dictionary of the actor.

Warning

This dictionary should never be written to from outside the owning actor.

logger

The Logger instance being used for the actor.

name

(str) A unique name given for the instance of the actor. This name is used as an identifier in the actor logger (see logger).

If the user does not specify a name, then the Actor should auto-generate a name.