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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocationLogManager.LocationRecordA single location -
Field Summary
Fields Modifier and Type Field Description protected static Logger.Loglogger -
Constructor Summary
Constructors Constructor Description LocationLogManager() -
Method Summary
Modifier and Type Method Description voidaddRecord(IFocus object, ICamera camera, ITimeFrameProvider time)Adds a new record with the given object, camera and timevoidclearLocations()java.util.LinkedList<LocationLogManager.LocationRecord>getLocations()static voidinitialize()static LocationLogManagerinstance()voidnotify(Events event, java.lang.Object... data)voidstartCapturing()voidstopCapturing()Stops capturing locations.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
logger
-
-
Constructor Details
-
LocationLogManager
public LocationLogManager()
-
-
Method Details
-
instance
-
initialize
public static void initialize() -
getLocations
-
clearLocations
public void clearLocations() -
startCapturing
public void startCapturing() -
stopCapturing
public void stopCapturing()Stops capturing locations. -
addRecord
Adds a new record with the given object, camera and time -
notify
-