16 std::stringstream cleanTerminalCommand;
20 char *** localArgv = usageManagerInstance->
get_argv();
23 cleanTerminalCommand <<
"rm -r " << imagesFolder <<
"rgb/ > /dev/null && "
24 "rm -r " << imagesFolder <<
"d/ > /dev/null && "
25 "rm -r " << imagesFolder <<
"skeleton/ > /dev/null && "
26 "rm -r " << imagesFolder <<
"videoframe/ > /dev/null && "
27 "rm -r " << outputFolder <<
"op/ > /dev/null && "
28 "rm -r " << imagesFolder <<
"depth/ > /dev/null && "
29 "rm -r " << imagesFolder <<
"sk/ > /dev/null && "
30 "rm -r " << outputFolder <<
"movement/ > /dev/null && "
31 "mkdir " << imagesFolder <<
"rgb && "
32 "mkdir " << imagesFolder <<
"d && "
33 "mkdir " << imagesFolder <<
"videoframe && "
34 "mkdir " << imagesFolder <<
"skeleton && "
35 "mkdir " << imagesFolder <<
"depth && "
36 "mkdir " << imagesFolder <<
"sk && "
37 "mkdir " << outputFolder <<
"movement/ && "
38 "mkdir " << outputFolder <<
"op/";
void setCommand(int *argc, char ***argv) override
Set the string command to a cleaning command.
virtual void setCommand(int *argc, char ***argv)=0
Set the string command. The method is inherited from the subclasses and overridden in order to expres...
UsageManager class is a utility class that helps with configuration parameters.
char *** get_argv(void)
Get the argv's pointer.
static UsageManager * getInstance(void)
Get the unique class instance. This methods should be called in the following scenario: when we just ...
static const short int imagesFolderOffset
static const short int USAGE_MANAGER_NULLPTR_ERROR
static const short int outputFolderOffset
static const char * USAGE_MANAGER_NULLPTR_SCOPE