28 lines
532 B
C
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_ */
|