Adherence to the new OOP coding standards

This commit is contained in:
João Brázio
2016-04-07 12:41:09 +01:00
parent e48d0263bf
commit 7c7e30f4cc
4 changed files with 24 additions and 24 deletions

View File

@ -23,7 +23,7 @@
#ifndef STOPWATCH_H
#define STOPWATCH_H
enum stopwatch_s {
enum StopwatchStatus {
STPWTCH_STOPPED = 0x0,
STPWTCH_RUNNING = 0x1,
STPWTCH_PAUSED = 0x2
@ -34,9 +34,9 @@ enum stopwatch_s {
* @details This class acts as a timer proving stopwatch functionality including
* the ability to pause the running time counter.
*/
class stopwatch {
class Stopwatch {
private:
stopwatch_s status;
StopwatchStatus status;
uint16_t accumulator;
uint32_t startTimestamp;
uint32_t stopTimestamp;
@ -45,7 +45,7 @@ class stopwatch {
/**
* @brief Class constructor
*/
stopwatch();
Stopwatch();
/**
* @brief Stops the stopwatch