Ejemplo n.º 1
0
 public void Subscribe()
 {
     if (subscribed)
     {
         return;
     }
     subscribed = true;
     m_synchronizer.Subscribe(m_currentTime.UpdateEvent, m_handler);
     PTThreadSafeLogger.Debug($"Subscribing to {m_synchronizerName}.{PTUpdateEventMap.ToName(m_currentTime.UpdateEvent)}");
 }
Ejemplo n.º 2
0
 public void Unsubscribe()
 {
     if (!subscribed)
     {
         return;
     }
     subscribed = false;
     m_synchronizer.Unsubscribe(m_currentTime.UpdateEvent, m_handler);
     PTThreadSafeLogger.Debug($"Unsubscribing from {m_synchronizerName}.{PTUpdateEventMap.ToName(m_currentTime.UpdateEvent)}");
 }
Ejemplo n.º 3
0
 public static void Debug(object message)
 {
     PTThreadSafeLogger.Debug(message);
 }