|
|
|
@ -86,7 +86,7 @@ public:
|
|
|
|
|
//@{
|
|
|
|
|
/// Returns the number of buildings
|
|
|
|
|
static unsigned int nb_buildings(void) ;
|
|
|
|
|
/// Reads the Building corresponding to a given name
|
|
|
|
|
/// Returns the Building corresponding to a given name
|
|
|
|
|
static const Building& get_building(const std::string &name) ;
|
|
|
|
|
/// Searches for a Building and creates it if it does not exist
|
|
|
|
|
static const Building& find_create_building(const std::string &name) ;
|
|
|
|
@ -117,7 +117,7 @@ public:
|
|
|
|
|
static unsigned int nb_mobiles(void) ;
|
|
|
|
|
/// Verify the existence of a mobile
|
|
|
|
|
static bool mobile_exists(const std::string &mac) ;
|
|
|
|
|
/// Reads the Mobile corresponding to a given MAC address
|
|
|
|
|
/// Returns the Mobile corresponding to a given MAC address
|
|
|
|
|
static const Mobile& get_mobile(const std::string &mac) ;
|
|
|
|
|
/// Searches for a Mobile given its MAC address and creates it if it
|
|
|
|
|
/// does not exist
|
|
|
|
@ -138,7 +138,7 @@ public:
|
|
|
|
|
std::unordered_map<std::string, CapturePoint>& get_cps(void) ;
|
|
|
|
|
/// Verify the existence of a CP
|
|
|
|
|
static bool cp_exists(const std::string &mac) ;
|
|
|
|
|
/// Reads the CapturePoint corresponding to a given MAC address
|
|
|
|
|
/// Returns the CapturePoint corresponding to a given MAC address
|
|
|
|
|
static const CapturePoint& get_cp(const std::string &mac) ;
|
|
|
|
|
/// Searches for a CapturePoint given its MAC address and creates it
|
|
|
|
|
/// if it does not exist
|
|
|
|
@ -166,7 +166,7 @@ public:
|
|
|
|
|
static unsigned int nb_reference_points(void) ;
|
|
|
|
|
/// Verify the existence of a reference point at the given coordinates
|
|
|
|
|
static bool reference_point_exists(const ReferencePoint &point) ;
|
|
|
|
|
/// Reads the ReferencePoint at the given coordinates
|
|
|
|
|
/// Returns the ReferencePoint at the given coordinates
|
|
|
|
|
static const ReferencePoint&
|
|
|
|
|
get_reference_point(const ReferencePoint &point) ;
|
|
|
|
|
/// Searches for a ReferencePoint and adds it if it does not exist
|
|
|
|
|