Skip to content
Snippets Groups Projects
Commit d8e43572 authored by jotpio's avatar jotpio
Browse files

Add process ID to end of export file names

parent 79d1c480
Branches
No related tags found
No related merge requests found
......@@ -17,4 +17,82 @@ build
/.gitattributes
/*.opendb
/*.db
/*.sln
\ No newline at end of file
/*.sln
*_autogen
*.dir
*.stamp
*.stamp.depend
GeneratedFiles/
desktop.ini
*.swp
*.opensdf
*.sdf
*.suo
*.exe
*.psess
*.vsp
*.ipch
*.sln
*.vcxproj
*.vcxproj.filters
*.vcxproj.vspscc
.gitignore.swp
*.bak_*
*.ini
# ignore editor ~ files
.tags*
Doxyfile
Makefile
cmake_install.cmake
doxygen_sqlite3.db
*~
.idea/
/CMakeFiles
/doc
/html
/Debug
/Release
/build*
/Build*
/.vscode
*.kate-swp
# astyle original files
*.orig
*.user
*.obj
*.dll
*.qm
*.avi
*moc_*
*.tlog
*.log
*.ilk
*.lib
*.lastbuildstate
*.stamp
*.depend
*.pdb
*.exp
*.db
*.opendb
CMakeFiles
/BioTracker/*.vspx
*.cache
*.csv
build
bst_workspace.code-workspace
*.dll
*.qm
*.ilk
*.pdb
*.lib
*.json
*.ini
*.xml
*.csv
\ No newline at end of file
......@@ -2,7 +2,7 @@
#include <QPoint> // QPoint
#include <QString>
#include <QStringList>
#include <QStringList>
int BioTrackerUtilsMisc::split(std::string &txt, std::vector<std::string> &strs, char ch)
{
......@@ -37,9 +37,6 @@ std::string BioTrackerUtilsMisc::getTimeAndDate(std::string prefix, std::string
// timeInfo += suffix;
// return timeInfo;
time_t rawtime;
struct tm * timeinfo;
......@@ -54,6 +51,9 @@ std::string BioTrackerUtilsMisc::getTimeAndDate(std::string prefix, std::string
std::string timeStampF(t);
out += timeStampF;
out += "_";
out += std::to_string(_getpid());
out += suffix;
return out;
......
......@@ -3,6 +3,8 @@
#include <string>
#include <time.h>
#include <cv.h>
#include <stdio.h>
#include <process.h>
#include <QPoint>
namespace BioTrackerUtilsMisc{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment