Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContextServiceProvider

Hierarchy

  • ContextServiceProvider

Index

Constructors

constructor

Properties

Private _cacheTime

_cacheTime: JulianDate = new JulianDate(0,0)

Private _entityPoseCache

_entityPoseCache: SerializedEntityStateMap

Private _getSerializedEntityState

_getSerializedEntityState: getSerializedEntityState = getSerializedEntityState

Private _sessionEntities

_sessionEntities: SerializedEntityStateMap

Private contextService

contextService: ContextService

desiredGeolocationOptions

desiredGeolocationOptions: GeolocationOptions

entitySubscriptionsBySubscriber

entitySubscriptionsBySubscriber: WeakMap<SessionPort, object> = new WeakMap<SessionPort, {[subcription:string]:any}>()

publishingReferenceFrameMap

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

sessionGeolocationOptions

sessionGeolocationOptions: Map<SessionPort, GeolocationOptions> = new Map<SessionPort, GeolocationOptions|undefined>()

Private sessionService

sessionService: SessionService

subscribersByEntityId

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

subscribersChangeEvent

subscribersChangeEvent: Event<object> = new Event<{id:string, subscribers}>()

Accessors

geolocationDesired

  • get geolocationDesired(): boolean

Methods

Private _getCachedSerializedEntityState

Private _handleSetGeolocationOptions

Private _publishUpdates

  • _publishUpdates(): void

Private _sendUpdateForSession

Private _updateDesiredGeolocationOptions

  • _updateDesiredGeolocationOptions(): void

fillEntityStateMapForSession

Generated using TypeDoc