[Positioning] Stock: add some comments

This commit is contained in:
Matteo Cypriani 2010-06-21 14:54:50 +02:00
parent c731bf578f
commit 1e605ae16d
2 changed files with 4 additions and 1 deletions

View File

@ -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)
{

View File

@ -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