Package gaiasky.util

Class LocationLogManager

java.lang.Object
gaiasky.util.LocationLogManager
All Implemented Interfaces:
IObserver

public class LocationLogManager
extends java.lang.Object
implements IObserver
This guy is in charge of logging the visited locations and serving them to the corresponding subsystems.
  • Field Details

    • logger

      protected static final Logger.Log logger
  • Constructor Details

    • LocationLogManager

      public LocationLogManager()
  • Method Details

    • instance

      public static LocationLogManager instance()
    • initialize

      public static void initialize()
    • getLocations

      public java.util.LinkedList<LocationLogManager.LocationRecord> getLocations()
    • clearLocations

      public void clearLocations()
    • startCapturing

      public void startCapturing()
    • stopCapturing

      public void stopCapturing()
      Stops capturing locations.
    • addRecord

      public void addRecord​(IFocus object, ICamera camera, ITimeFrameProvider time)
      Adds a new record with the given object, camera and time
    • notify

      public void notify​(Events event, java.lang.Object... data)
      Specified by:
      notify in interface IObserver