eive-obsw/mission/utility/Timestamp.h
Jakob Meier 9c42b861f4
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
timestamp for file creation
2021-12-11 11:56:47 +01:00

28 lines
532 B
C++

#ifndef MISSION_UTILITY_TIMESTAMP_H_
#define MISSION_UTILITY_TIMESTAMP_H_
#include <string>
#include "fsfw/timemanager/Clock.h"
#include "fsfw/returnvalues/HasReturnvaluesIF.h"
/**
* @brief This class generates timestamps for files.
*
* @author J. Meier
*/
class Timestamp : public HasReturnvaluesIF {
public:
Timestamp();
virtual ~Timestamp();
/**
* @brief Returns the timestamp string
*/
std::string str();
private:
Clock::TimeOfDay_t time;
};
#endif /* MISSION_UTILITY_TIMESTAMP_H_ */