event buffer request wip
This commit is contained in:
28
mission/utility/Filenaming.h
Normal file
28
mission/utility/Filenaming.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef MISSION_UTILITY_FILENAMING_H_
|
||||
#define MISSION_UTILITY_FILENAMING_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
/**
|
||||
* @brief Static functions related to file name creation
|
||||
*/
|
||||
class Filenaming {
|
||||
public:
|
||||
/**
|
||||
* @brief Creates the absolute name of a file by merging the path name, the filename and adding
|
||||
* an optional timestamp.
|
||||
*
|
||||
* @param path
|
||||
* @param filename
|
||||
* @param addTimestap Set to true if timestamp should be considered in name
|
||||
*
|
||||
* @return The absolute filename
|
||||
*/
|
||||
static std::string generateAbsoluteFilename(std::string path, std::string filename,
|
||||
bool addTimestamp);
|
||||
|
||||
private:
|
||||
Filenaming();
|
||||
};
|
||||
|
||||
#endif /* MISSION_UTILITY_FILENAMING_H_ */
|
Reference in New Issue
Block a user