41 lines
635 B
C++
41 lines
635 B
C++
|
#include "calibrationrequest.hh"
|
||
|
|
||
|
|
||
|
|
||
|
/* *** Write accessors *** */
|
||
|
|
||
|
|
||
|
void CalibrationRequest::clear()
|
||
|
{
|
||
|
Request::clear() ;
|
||
|
reference_point = NULL ;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
/* *** Operators *** */
|
||
|
|
||
|
|
||
|
const CalibrationRequest&
|
||
|
CalibrationRequest::operator=(const CalibrationRequest &source)
|
||
|
{
|
||
|
if (this == &source)
|
||
|
return *this ;
|
||
|
|
||
|
this->Request::operator=(source) ;
|
||
|
reference_point = source.reference_point ;
|
||
|
|
||
|
return *this ;
|
||
|
}
|
||
|
|
||
|
|
||
|
bool CalibrationRequest::operator==(const CalibrationRequest &source)
|
||
|
{
|
||
|
if (this == &source)
|
||
|
return true ;
|
||
|
|
||
|
return
|
||
|
this->Request::operator==(source) &&
|
||
|
reference_point == source.reference_point ;
|
||
|
}
|