replace c include

This commit is contained in:
Robin Müller 2022-07-25 10:31:49 +02:00
parent f0c8fd2688
commit 4921527022
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
4 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@
#include <cstddef>
#include <cstdint>
#include "../returnvalues/HasReturnvaluesIF.h"
#include "fsfw/returnvalues/HasReturnvaluesIF.h"
#include "Clock.h"
#include "clockDefinitions.h"

View File

@ -11,7 +11,7 @@
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/time.h>
#include <ctime>
#endif
class Clock {
@ -33,7 +33,7 @@ class Clock {
*
* @deprecated, we should not worry about ticks, but only time
*/
static uint32_t getTicksPerSecond(void);
static uint32_t getTicksPerSecond();
/**
* This system call sets the system time.
* To set the time, it uses a TimeOfDay_t struct.
@ -148,7 +148,7 @@ class Clock {
* @return
* - @c RETURN_OK on success.
*/
static ReturnValue_t setLeapSeconds(const uint16_t leapSeconds_);
static ReturnValue_t setLeapSeconds(uint16_t leapSeconds_);
/**
* Get the Leap Seconds since 1972

View File

@ -1,7 +1,7 @@
#ifndef FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_
#define FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_
#include "../ipc/MessageQueueSenderIF.h"
#include "fsfw/ipc/MessageQueueSenderIF.h"
/**
* This is a Interface for classes that receive timing information
@ -13,11 +13,11 @@ class ReceivesTimeInfoIF {
* Returns the id of the queue which receives the timing information.
* @return Queue id of the timing queue.
*/
virtual MessageQueueId_t getTimeReceptionQueue() const = 0;
[[nodiscard]] virtual MessageQueueId_t getTimeReceptionQueue() const = 0;
/**
* Empty virtual destructor.
*/
virtual ~ReceivesTimeInfoIF() {}
virtual ~ReceivesTimeInfoIF() = default;
};
#endif /* FSFW_TIMEMANAGER_RECEIVESTIMEINFOIF_H_ */

View File

@ -3,7 +3,7 @@
#include <cstring>
#include "../ipc/MessageQueueMessage.h"
#include "fsfw/ipc/MessageQueueMessage.h"
#include "Clock.h"
class TimeMessage : public MessageQueueMessage {