[Positioning] CalibrationRequest: default args in .cc
Move default argument declaration from .hh to .cc.
This commit is contained in:
parent
a54b8ab06b
commit
77c66bf194
|
@ -6,7 +6,8 @@
|
|||
/* *** Constructors *** */
|
||||
|
||||
|
||||
CalibrationRequest::CalibrationRequest(uint_fast8_t _type):
|
||||
CalibrationRequest::
|
||||
CalibrationRequest(uint_fast8_t _type = OWL_REQUEST_AUTOCALIBRATION):
|
||||
reference_point(NULL), direction(Direction())
|
||||
{
|
||||
type = _type ;
|
||||
|
@ -16,8 +17,8 @@ CalibrationRequest::CalibrationRequest(uint_fast8_t _type):
|
|||
CalibrationRequest::
|
||||
CalibrationRequest(const Request &source,
|
||||
ReferencePoint *_reference_point = NULL,
|
||||
const Direction &_direction,
|
||||
uint_fast8_t _type):
|
||||
const Direction &_direction = Direction(),
|
||||
uint_fast8_t _type = OWL_REQUEST_AUTOCALIBRATION):
|
||||
Request(source), reference_point(_reference_point),
|
||||
direction(_direction)
|
||||
{
|
||||
|
|
|
@ -16,14 +16,16 @@ protected:
|
|||
Direction direction ;
|
||||
|
||||
public:
|
||||
CalibrationRequest(uint_fast8_t _type = OWL_REQUEST_AUTOCALIBRATION) ;
|
||||
CalibrationRequest(uint_fast8_t _type) ;
|
||||
|
||||
CalibrationRequest(const CalibrationRequest &source):
|
||||
Request(source), reference_point(source.reference_point),
|
||||
direction(source.direction) {}
|
||||
|
||||
CalibrationRequest(const Request &source,
|
||||
ReferencePoint *_reference_point,
|
||||
const Direction &_direction = Direction(),
|
||||
uint_fast8_t _type = OWL_REQUEST_AUTOCALIBRATION) ;
|
||||
const Direction &_direction,
|
||||
uint_fast8_t _type) ;
|
||||
|
||||
~CalibrationRequest(void) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue