Esempio n. 1
0
 protected void Enqueue(IFixedLocation locationProvider)
 {
     lock (_syncLock)
     {
         _syncronizationPointQueue.Enqueue(locationProvider);
         //Debug.Log("Enqueue " + _syncronizationPointQueue.Count);
     }
 }
 protected void Enqueue(IFixedLocation locationProvider)
 {
     lock (_syncLock)
     {
         if (!_syncronizationPoints.ContainsKey(locationProvider.LocationId))
         {
             Debug.Log("Registering id : " + locationProvider.LocationId);
             _syncronizationPoints.Add(locationProvider.LocationId, locationProvider);
         }
     }
 }
Esempio n. 3
0
 public void Register(IFixedLocation locationProvider)
 {
     Enqueue(locationProvider);
 }