5 #include "davidSDK/david.h"
29 for (
int i=0; i < scanCount; ++i)
32 time_t begin = time(0);
37 localtime_s(&tstruct, &begin);
39 tstruct = *localtime(&begin);
42 strftime(buf,
sizeof(buf),
"%Y-%m-%d_%H-%M-%S", &tstruct);
47 std::cout <<
"filename: " << filename << std::endl;
57 while (dif < waitTimeInSeconds)
59 dif = difftime(time(0), begin);
60 std::this_thread::sleep_for(std::chrono::milliseconds(100));