Options
All
  • Public
  • Public/Protected
  • All
Menu

System behavior class.

Hierarchy

Index

Constructors

constructor

  • new Behavior(__namedParameters: object): Behavior

Properties

Protected atomicLock

atomicLock: AtomicLock = new AtomicLock()

Atomic lock to perform counter increments.

Protected behaviorId

behaviorId: BehaviorIndex = new Object() as BehaviorIndex

IDs to use as actual event identifiers.

Protected behaviorIndex

behaviorIndex: BehaviorIndex = new Object() as BehaviorIndex

Index to link id's back to behavior names.

call

call: Method = new Object() as Method

Private functions.

Protected emitter

emitter: EventEmitter = new EventEmitter()

Contains the event data for the behaviors to fire.

get

get: Data = new Object() as Data

Data.

Protected nextBehaviorCounter

nextBehaviorCounter: number = 0

Counter to use to generate IDs.

private

private: SubsystemEntrypoint = this

Reference to private entrypoint.

protected

Reference to protected entrypoint.

public

Reference to public entrypoint.

Protected role

role: object

Role

Type declaration

  • [key: string]: string

    Subsystem.

shared

Reference to shared entrypoint.

Protected subsystem

subsystem: object

Contains the shared subsystem entrypoint.

Type declaration

Protected system

system: System

Parent system.

Methods

Protected addData

Protected addMethods

Generated using TypeDoc