Package gaiasky.util

Class LocationLogManager

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

public class LocationLogManager extends 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

    • 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(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.