fixed some issues

added new tools for creating APs, Beacons, GTP, POI, Fingerprints
fixed selection issue
changed new-element creation
added missing layer parameters
This commit is contained in:
2017-06-01 16:26:09 +02:00
parent 489a64fd69
commit 7a23001b82
29 changed files with 763 additions and 265 deletions

View File

@@ -30,13 +30,19 @@ public:
std::string getLayerName() const override {return "Beacons";}
//TODO: check
void createBeacon(Floorplan::Beacon* b) {
MMFloorBeacon* createBeacon(Floorplan::Beacon* b) {
// add to underlying model
floor->beacons.push_back(b);
// // add to myself as element
// addElement(new MMFloorBeacon(this, floor, b));
// add to myself as element
addElement(new MMFloorBeacon(this, floor, b));
MMFloorBeacon* mm = new MMFloorBeacon(this, floor, b);
addElement(mm);
return mm;
}
};