[Positioner] Add ResultList::set_request()
It is now possible to update the Request in a ResultList.
This commit is contained in:
parent
f38527cd93
commit
7b0aacd212
|
@ -48,7 +48,10 @@ public:
|
||||||
|
|
||||||
/** @name Write accessors */
|
/** @name Write accessors */
|
||||||
//@{
|
//@{
|
||||||
|
/// Adds a result to the ResultList
|
||||||
void add(const Result &res) ;
|
void add(const Result &res) ;
|
||||||
|
/// Sets the Request associated with the ResultList
|
||||||
|
void set_request(const Request *const _request) ;
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
/** @name Operators */
|
/** @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_
|
#endif // _OWLPS_POSITIONING_RESULTLIST_HH_
|
||||||
|
|
Loading…
Reference in New Issue