[Positioning] Stock: add some comments
This commit is contained in:
parent
c731bf578f
commit
1e605ae16d
|
@ -107,7 +107,7 @@ const Mobile& Stock::get_mobile(const string &mac)
|
|||
|
||||
|
||||
/**
|
||||
* The MAC address of the Mobile is initialised.
|
||||
* If created, the MAC address of the Mobile is initialised.
|
||||
*/
|
||||
const Mobile& Stock::find_create_mobile(const string &mac)
|
||||
{
|
||||
|
|
|
@ -16,15 +16,18 @@ class Stock
|
|||
{
|
||||
private:
|
||||
/// List of known Building
|
||||
/** The string key of the map is the Building name. */
|
||||
static std::tr1::unordered_map<std::string, Building> buildings ;
|
||||
|
||||
/// List of known Waypoint
|
||||
static std::tr1::unordered_map<Point3D, Waypoint> waypoints ;
|
||||
|
||||
/// List of known Mobile
|
||||
/** The string key of the map is the Mobile MAC address. */
|
||||
static std::tr1::unordered_map<std::string, Mobile> mobiles ;
|
||||
|
||||
/// List of known AccessPoint
|
||||
/** The string key of the map is the AccessPoint MAC address. */
|
||||
static std::tr1::unordered_map<std::string, AccessPoint> aps ;
|
||||
|
||||
/// List of known ReferencePoint
|
||||
|
|
Loading…
Reference in New Issue