diff --git a/owlps-positioner/resultlist.hh b/owlps-positioner/resultlist.hh index 9b9fdde..31e7ec0 100644 --- a/owlps-positioner/resultlist.hh +++ b/owlps-positioner/resultlist.hh @@ -48,7 +48,10 @@ public: /** @name Write accessors */ //@{ + /// Adds a result to the ResultList void add(const Result &res) ; + /// Sets the Request associated with the ResultList + void set_request(const Request *const _request) ; //@} /** @name Operators */ @@ -103,5 +106,11 @@ inline void ResultList::add(const Result &res) } +inline void ResultList::set_request(const Request *const _request) +{ + request = _request ; +} + + #endif // _OWLPS_POSITIONING_RESULTLIST_HH_