33 lines
841 B
C++
33 lines
841 B
C++
#ifndef _OWLPS_POSITIONING_MOBILE_HH_
|
|
#define _OWLPS_POSITIONING_MOBILE_HH_
|
|
|
|
#include "wifidevice.hh"
|
|
|
|
#include <iostream>
|
|
|
|
#define MOBILE_DEFAULT_ANTENNA_GAIN 2
|
|
|
|
class Mobile: public WifiDevice
|
|
{
|
|
public:
|
|
Mobile(const std::string &_ip_addr,
|
|
const std::string &_mac_addr,
|
|
const float &_antenna_gain = MOBILE_DEFAULT_ANTENNA_GAIN,
|
|
const float &_trx_power = WIFIDEVICE_DEFAULT_TRX_POWER):
|
|
WifiDevice(_ip_addr, _mac_addr, _antenna_gain, _trx_power) {}
|
|
Mobile(const WifiDevice &wd):
|
|
WifiDevice(wd) {}
|
|
Mobile(const Mobile &m):
|
|
WifiDevice(m) {}
|
|
|
|
~Mobile() {}
|
|
|
|
Mobile operator=(const Mobile &m) ;
|
|
bool operator==(const Mobile &m) const ;
|
|
bool operator!=(const Mobile &m) const ;
|
|
|
|
friend std::ostream &operator<<(std::ostream &os, const Mobile &m) ;
|
|
} ;
|
|
|
|
#endif // _OWLPS_POSITIONING_MOBILE_HH_
|