Skip to content

Commit

Permalink
Fixed doxygen findings
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Jun 26, 2024
1 parent 54ad700 commit 1b5104e
Show file tree
Hide file tree
Showing 47 changed files with 805 additions and 151 deletions.
20 changes: 17 additions & 3 deletions lib/APPCalib/src/App.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,23 @@ class App
/** Timer used for differential drive control processing. */
SimpleTimer m_controlInterval;

/* Not allowed. */
App(const App& app); /**< Copy construction of an instance. */
App& operator=(const App& app); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] app Source instance.
*/
App(const App& app);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] app Source instance.
*
* @returns Reference to App instance.
*/
App& operator=(const App& app);
};

/******************************************************************************
Expand Down
20 changes: 17 additions & 3 deletions lib/APPCalib/src/DrivingState.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,23 @@ class DrivingState : public IState
{
}

/* Not allowed. */
DrivingState(const DrivingState& state); /**< Copy construction of an instance. */
DrivingState& operator=(const DrivingState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
DrivingState(const DrivingState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to DrivingState instance.
*/
DrivingState& operator=(const DrivingState& state);
};

/******************************************************************************
Expand Down
20 changes: 17 additions & 3 deletions lib/APPCalib/src/ErrorState.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,23 @@ class ErrorState : public IState
{
}

/* Not allowed. */
ErrorState(const ErrorState& state); /**< Copy construction of an instance. */
ErrorState& operator=(const ErrorState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
ErrorState(const ErrorState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to ErrorState instance.
*/
ErrorState& operator=(const ErrorState& state);
};

/******************************************************************************
Expand Down
20 changes: 17 additions & 3 deletions lib/APPCalib/src/MotorSpeedCalibrationState.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,23 @@ class MotorSpeedCalibrationState : public IState
{
}

/* Not allowed. */
MotorSpeedCalibrationState(const MotorSpeedCalibrationState& state); /**< Copy construction of an instance. */
MotorSpeedCalibrationState& operator=(const MotorSpeedCalibrationState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
MotorSpeedCalibrationState(const MotorSpeedCalibrationState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to MotorSpeedCalibrationStateinstance.
*/
MotorSpeedCalibrationState& operator=(const MotorSpeedCalibrationState& state);

/**
* Determine the max. motor speed, considering both driving directions.
Expand Down
20 changes: 17 additions & 3 deletions lib/APPCalib/src/ReadyState.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,23 @@ class ReadyState : public IState
{
}

/* Not allowed. */
ReadyState(const ReadyState& state); /**< Copy construction of an instance. */
ReadyState& operator=(const ReadyState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
ReadyState(const ReadyState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to ReadyState instance.
*/
ReadyState& operator=(const ReadyState& state);

/**
* Show next user info.
Expand Down
20 changes: 17 additions & 3 deletions lib/APPCalib/src/StartupState.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,23 @@ class StartupState : public IState
{
}

/* Not allowed. */
StartupState(const StartupState& state); /**< Copy construction of an instance. */
StartupState& operator=(const StartupState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
StartupState(const StartupState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to StartupState instance.
*/
StartupState& operator=(const StartupState& state);

/**
* Show next user info.
Expand Down
20 changes: 17 additions & 3 deletions lib/APPConvoyFollower/src/App.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,23 @@ class App
*/
void sendLineSensorsData() const;

/* Not allowed. */
App(const App& app); /**< Copy construction of an instance. */
App& operator=(const App& app); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] app Source instance.
*/
App(const App& app);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] app Source instance.
*
* @returns Reference to App instance.
*/
App& operator=(const App& app);
};

/******************************************************************************
Expand Down
20 changes: 17 additions & 3 deletions lib/APPConvoyFollower/src/DrivingState.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,23 @@ class DrivingState : public IState
{
}

/* Not allowed. */
DrivingState(const DrivingState& state); /**< Copy construction of an instance. */
DrivingState& operator=(const DrivingState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
DrivingState(const DrivingState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to DrivingState instance.
*/
DrivingState& operator=(const DrivingState& state);
};

/******************************************************************************
Expand Down
20 changes: 17 additions & 3 deletions lib/APPConvoyFollower/src/ErrorState.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,23 @@ class ErrorState : public IState
{
}

/* Not allowed. */
ErrorState(const ErrorState& state); /**< Copy construction of an instance. */
ErrorState& operator=(const ErrorState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
ErrorState(const ErrorState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to ErrorState instance.
*/
ErrorState& operator=(const ErrorState& state);
};

/******************************************************************************
Expand Down
20 changes: 17 additions & 3 deletions lib/APPConvoyFollower/src/LineSensorsCalibrationState.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,23 @@ class LineSensorsCalibrationState : public IState
{
}

/* Not allowed. */
LineSensorsCalibrationState(const LineSensorsCalibrationState& state); /**< Copy construction of an instance. */
LineSensorsCalibrationState& operator=(const LineSensorsCalibrationState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
LineSensorsCalibrationState(const LineSensorsCalibrationState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to LineSensorsCalibrationState.
*/
LineSensorsCalibrationState& operator=(const LineSensorsCalibrationState& state);

/**
* Turn and calibrate the line sensors.
Expand Down
20 changes: 17 additions & 3 deletions lib/APPConvoyFollower/src/StartupState.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,23 @@ class StartupState : public IState
{
}

/* Not allowed. */
StartupState(const StartupState& state); /**< Copy construction of an instance. */
StartupState& operator=(const StartupState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
StartupState(const StartupState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to StartupState instance.
*/
StartupState& operator=(const StartupState& state);
};

/******************************************************************************
Expand Down
20 changes: 17 additions & 3 deletions lib/APPConvoyLeader/src/App.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,23 @@ class App
*/
bool setupSerialMuxProt();

/* Not allowed. */
App(const App& app); /**< Copy construction of an instance. */
App& operator=(const App& app); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] app Source instance.
*/
App(const App& app);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] app Source instance.
*
* @returns Reference to App instance.
*/
App& operator=(const App& app);
};

/******************************************************************************
Expand Down
20 changes: 17 additions & 3 deletions lib/APPConvoyLeader/src/DrivingState.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,23 @@ class DrivingState : public IState
{
}

/* Not allowed. */
DrivingState(const DrivingState& state); /**< Copy construction of an instance. */
DrivingState& operator=(const DrivingState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
DrivingState(const DrivingState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to DrivingState instance.
*/
DrivingState& operator=(const DrivingState& state);

/**
* Control driving in case the robot is on track.
Expand Down
20 changes: 17 additions & 3 deletions lib/APPConvoyLeader/src/ErrorState.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,23 @@ class ErrorState : public IState
{
}

/* Not allowed. */
ErrorState(const ErrorState& state); /**< Copy construction of an instance. */
ErrorState& operator=(const ErrorState& state); /**< Assignment of an instance. */
/**
* Copy construction of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*/
ErrorState(const ErrorState& state);

/**
* Assignment of an instance.
* Not allowed.
*
* @param[in] state Source instance.
*
* @returns Reference to ErrorState instance.
*/
ErrorState& operator=(const ErrorState& state);
};

/******************************************************************************
Expand Down
Loading

0 comments on commit 1b5104e

Please sign in to comment.