[Positioner] Add ResultList::set_request()

It is now possible to update the Request in a ResultList.
This commit is contained in:
Matteo Cypriani 2014-05-13 16:40:14 -04:00
parent f38527cd93
commit 7b0aacd212
1 changed files with 9 additions and 0 deletions

View File

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