#include <unordered_set>
#include "../facade/UserPlacesTypes.h"
#include <Json.h>
-#include <DatabaseManager.h>
#include "VisitListenerIface.h"
#include "LocationLogger.h"
#include "LocationListenerIface.h"
int __tolerance;
bool __entranceToPlace;
int __periodSeconds;
- DatabaseManager *__dbManager;
// fields that are used only in case of entrance detection
std::shared_ptr<MacSet> __representativesMacs; // macs that represent the current place
void onWifiScan(MacEvent event);
void onNewLocation(LocationEvent location);
+ void __categorize(Visit &visit);
+
public:
VisitDetector(time_t startScan, PlaceRecogMode energyMode = PLACE_RECOG_HIGH_ACCURACY_MODE, bool testMode = false);
~VisitDetector();