[Positioning] ReferencePoint: variable renaming
This commit is contained in:
parent
0d160f8b23
commit
602f9c5399
|
@ -54,7 +54,7 @@ public:
|
||||||
/** @name Write accessors */
|
/** @name Write accessors */
|
||||||
//@{
|
//@{
|
||||||
/// Adds a Request to the \link #requests request list\endlink
|
/// Adds a Request to the \link #requests request list\endlink
|
||||||
void add_request(const CalibrationRequest *cm) ;
|
void add_request(const CalibrationRequest *r) ;
|
||||||
/// Deletes all the requests contained in #requests
|
/// Deletes all the requests contained in #requests
|
||||||
void delete_requests(void) ;
|
void delete_requests(void) ;
|
||||||
/// Deletes the requests that are not sent by an AP
|
/// Deletes the requests that are not sent by an AP
|
||||||
|
@ -104,16 +104,16 @@ std::vector<CalibrationRequest*>& ReferencePoint::get_requests() const
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param cm A pointer to the CalibrationRequest to add. If it is
|
* @param r A pointer to the CalibrationRequest to add. If it is
|
||||||
* NULL, nothing will be done.
|
* NULL, nothing will be done.
|
||||||
* The memory pointed by this pointer must not be deallocated before
|
* The memory pointed by this pointer must not be deallocated before
|
||||||
* the ReferencePoint destruction (do \em not pass a pointer to a local
|
* the ReferencePoint destruction (do \em not pass a pointer to a local
|
||||||
* variable!).
|
* variable!).
|
||||||
*/
|
*/
|
||||||
inline void ReferencePoint::add_request(const CalibrationRequest *cm)
|
inline void ReferencePoint::add_request(const CalibrationRequest *r)
|
||||||
{
|
{
|
||||||
if (cm != NULL)
|
if (r != NULL)
|
||||||
requests.push_back(const_cast<CalibrationRequest*>(cm)) ;
|
requests.push_back(const_cast<CalibrationRequest*>(r)) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue