Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EntityServiceProvider

A service for publishing entity states to managed sessions

Hierarchy

  • EntityServiceProvider

Index

Constructors

constructor

Properties

Private _cacheTime

_cacheTime: JulianDate = new JulianDate(0,0)

Private _entityPoseCache

_entityPoseCache: SerializedEntityStateMap

Private _getSerializedEntityState

_getSerializedEntityState: getSerializedEntityState = getSerializedEntityState

Private entityService

entityService: EntityService

Private permissionServiceProvider

permissionServiceProvider: PermissionServiceProvider

Private sessionService

sessionService: SessionService

sessionSubscribedEvent

sessionSubscribedEvent: Event<object> = new Event<{session:SessionPort, id:string, options:{}}>()

sessionUnsubscribedEvent

sessionUnsubscribedEvent: Event<object> = new Event<{session:SessionPort, id:string}>()

subscribersByEntity

subscribersByEntity: Map<string, Set<SessionPort>> = new Map<string, Set<SessionPort>>()

subscriptionsBySubscriber

subscriptionsBySubscriber: WeakMap<SessionPort, Map<string, __type>> = new WeakMap<SessionPort, Map<string,{}|undefined>>()

targetReferenceFrameMap

targetReferenceFrameMap: Map<string, string | ReferenceFrame> = new Map<string, string|ReferenceFrame>()

Methods

fillEntityStateMapForSession

getCachedSerializedEntityState

Generated using TypeDoc