Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ModelProcessManager

Index

Constructors

Properties

_counter: number = 0
_cur_mid: number = 0
_cur_process_id: number = 0
_def: ISpinalModel = {}
_force_m: boolean = false
_modlist: Map<number, Model> = ...
_n_processes: Map<number, Process> = ...
_timeout: Timeout = undefined
spinal: Partial<{ BindProcess: typeof BindProcess; Bool: typeof Bool; Choice: typeof Choice; Directory: typeof Directory; File: typeof File; FileSystem: typeof FileSystem; Lst: typeof Lst; Model: typeof Model; ModelProcessManager: typeof ModelProcessManager; Obj: typeof Obj; Path: typeof Path; Pbr: typeof Pbr; Process: typeof Process; Ptr: typeof Ptr; RightSetList: typeof RightSetList; RightsItem: typeof RightsItem; SessionModel: typeof SessionModel; SpinalUserManager: typeof SpinalUserManager; Str: typeof Str; TiffFile: typeof TiffFile; TypedArray: typeof TypedArray; TypedArray_Float64: typeof TypedArray_Float64; TypedArray_Int32: typeof TypedArray_Int32; User: typeof User; UserRight: typeof UserRight; Val: typeof Val; Vec: typeof Vec; spinalCore: typeof spinalCore; version: string }> = ...

Methods

  • _get_attribute_names(m: object | Model): string[]
  • _need_sync_processes(): Timeout
  • say that something will need a call to ModelProcessManager._sync_processes during the next round

    Returns Timeout

    {ReturnType}

  • _new_model_from_state<T>(mid: string, map: IStateMap<T>): T
  • _register_models_check(func: typeof Model, name?: string): void
  • _sync_processes(): void
  • the function that is called after a very short timeout, when at least one object has been modified

    Returns void

  • get_object_class(obj: Model): string
  • load(): void
  • new_from_state(): void
  • register_models(model: typeof Model, name?: string): void
  • register_models(modelList: typeof Model[] | {}): void

Generated using TypeDoc