huge commit
- worked on about everything - grid walker using plugable modules - wifi models - new distributions - worked on geometric data-structures - added typesafe timestamps - worked on grid-building - added sensor-classes - added sensor analysis (step-detection, turn-detection) - offline data reader - many test-cases
This commit is contained in:
@@ -10,26 +10,50 @@
|
||||
*/
|
||||
class AccessPoint {
|
||||
|
||||
public:
|
||||
private:
|
||||
|
||||
/** the AP's MAC-Address */
|
||||
const MACAddress mac;
|
||||
MACAddress mac;
|
||||
|
||||
/** the AP's readable SSID */
|
||||
const std::string ssid;
|
||||
/** OPTIONAL the AP's readable SSID */
|
||||
std::string ssid;
|
||||
|
||||
public:
|
||||
|
||||
/** ctor */
|
||||
/** empty ctor */
|
||||
AccessPoint() {
|
||||
;
|
||||
}
|
||||
|
||||
/** ctor with MAC and SSID */
|
||||
AccessPoint(const MACAddress& mac, const std::string& ssid) : mac(mac), ssid(ssid) {
|
||||
;
|
||||
}
|
||||
|
||||
/** ctor */
|
||||
/** ctor with MAC and SSID */
|
||||
AccessPoint(const std::string& mac, const std::string& ssid) : mac(mac), ssid(ssid) {
|
||||
;
|
||||
}
|
||||
|
||||
/** ctor with MAC and without SSID */
|
||||
AccessPoint(const MACAddress& mac) : mac(mac), ssid() {
|
||||
;
|
||||
}
|
||||
|
||||
/** ctor with MAC and without SSID */
|
||||
AccessPoint(const std::string& mac) : mac(mac), ssid() {
|
||||
;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
/** get the AP's MAC address */
|
||||
inline const MACAddress& getMAC() const {return mac;}
|
||||
|
||||
/** OPTIONAL: get the AP's ssid (if any) */
|
||||
inline const std::string& getSSID() const {return ssid;}
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // ACCESSPOINT_H
|
||||
|
||||
Reference in New Issue
Block a user