diff --git a/owlps-positioning/src/positioningalgorithm.hh b/owlps-positioning/src/positioningalgorithm.hh index daf8387..748cf54 100644 --- a/owlps-positioning/src/positioningalgorithm.hh +++ b/owlps-positioning/src/positioningalgorithm.hh @@ -16,7 +16,18 @@ public: name(_name) {} virtual ~PositioningAlgorithm(void) {} + const std::string& get_name(void) const ; + virtual Result compute(const Request &request) = 0 ; } ; + + +inline const std::string& PositioningAlgorithm::get_name() const +{ + return name ; +} + + + #endif // _OWLPS_POSITIONING_POSITIONINGALGORITHM_HH_