Space Station 13 - Modules - TypesVar Details - Proc Details

singleton_manager

Vars

instancesA cache of individual singletons as (/singleton/path = Instance, ...)
resolved_instancesA map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for instances.
resolved_subtype_listsA map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for subtype_lists.
resolved_subtype_mapsA map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for subtype_maps.
resolved_type_listsA map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for type_lists.
resolved_type_mapsA map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for type_maps.
subtype_listsA cache of singleton subtypes according to a parent type as (/singleton/path = list(Subtype Instance, Subtype Instance, ...))
subtype_mapsA cache of singleton subtypes according to a parent type as (/singleton/path = list(/singleton/path/foo = Instance, ...))
type_listsA cache of singleton types according to a parent type as (/singleton/path = list(Parent Instance, Subtype Instance, ...))
type_mapsA cache of singleton types according to a parent type as (/singleton/path = list(/singleton/path = Instance, /singleton/path/foo = Instance, ...))

Procs

GetInstanceGet a singleton instance according to path. Creates it if necessary. Null if abstract or not a singleton. Prefer the GET_SINGLETON macro to minimize proc calls.
GetListGet a list of valid singletons according to paths.
GetMapGet a (path = instance) map of valid singletons according to paths.
GetSubtypeListGet a list of valid singletons according to subtypesof(path). Prefer the GET_SINGLETON_SUBTYPE_LIST macro to minimize proc calls.
GetSubtypeMapGet a (path = instance) map of valid singletons according to subtypesof(path). Prefer the GET_SINGLETON_SUBTYPE_MAP macro to minimize proc calls.
GetTypeListGet a list of valid singletons according to typesof(path). Prefer the GET_SINGLETON_TYPE_LIST macro to minimize proc calls.
GetTypeMapGet a (path = instance) map of valid singletons according to typesof(path). Prefer the GET_SINGLETON_TYPE_MAP macro to minimize proc calls.

Var Details

instances

A cache of individual singletons as (/singleton/path = Instance, ...)

resolved_instances

A map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for instances.

resolved_subtype_lists

A map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for subtype_lists.

resolved_subtype_maps

A map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for subtype_maps.

resolved_type_lists

A map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for type_lists.

resolved_type_maps

A map of (/singleton/path = TRUE, ...). Indicates whether a path has been tried for type_maps.

subtype_lists

A cache of singleton subtypes according to a parent type as (/singleton/path = list(Subtype Instance, Subtype Instance, ...))

subtype_maps

A cache of singleton subtypes according to a parent type as (/singleton/path = list(/singleton/path/foo = Instance, ...))

type_lists

A cache of singleton types according to a parent type as (/singleton/path = list(Parent Instance, Subtype Instance, ...))

type_maps

A cache of singleton types according to a parent type as (/singleton/path = list(/singleton/path = Instance, /singleton/path/foo = Instance, ...))

Proc Details

GetInstance

Get a singleton instance according to path. Creates it if necessary. Null if abstract or not a singleton. Prefer the GET_SINGLETON macro to minimize proc calls.

GetList

Get a list of valid singletons according to paths.

GetMap

Get a (path = instance) map of valid singletons according to paths.

GetSubtypeList

Get a list of valid singletons according to subtypesof(path). Prefer the GET_SINGLETON_SUBTYPE_LIST macro to minimize proc calls.

GetSubtypeMap

Get a (path = instance) map of valid singletons according to subtypesof(path). Prefer the GET_SINGLETON_SUBTYPE_MAP macro to minimize proc calls.

GetTypeList

Get a list of valid singletons according to typesof(path). Prefer the GET_SINGLETON_TYPE_LIST macro to minimize proc calls.

GetTypeMap

Get a (path = instance) map of valid singletons according to typesof(path). Prefer the GET_SINGLETON_TYPE_MAP macro to minimize proc calls.