AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
|
The CleanCommand class is a class that implements a command to clean the build folder by deleting old files. More...
#include <SystemCommand.hpp>
Public Member Functions | |
void | executeCommand (int *argc, char ***argv) |
This method is responsible for executing commands on the system based on the filled command string. If the string is empty, then no command is executed. More... | |
Protected Member Functions | |
void | setCommand (int *argc, char ***argv) override |
Set the string command to a cleaning command. More... | |
void | setCommand (std::string command) |
Set the string command with a particularly given string passed as a parameter. More... | |
std::string | getCommand (void) |
Get the string command. More... | |
Private Attributes | |
std::string | command |
The final command given to the system by the program. More... | |
The CleanCommand class is a class that implements a command to clean the build folder by deleting old files.
The CleanCommand class is a class that implements a command to clean the build folder by deleting old files. It deletes all the images captured and computed when the current "JSONs' sending session with Kafka" is completed, as well as it deletes all the JSONs files produced in the meanwhile.
Definition at line 73 of file SystemCommand.hpp.
|
inherited |
This method is responsible for executing commands on the system based on the filled command string. If the string is empty, then no command is executed.
argc | pointer to argc from the main function or based on what the program reads from the configuration file. |
argv | pointer to argv from the main function or based on what the program reads from the configuration file. |
Definition at line 23 of file SystemCommand.cpp.
References SystemCommand::getCommand(), and SystemCommand::setCommand().
Referenced by FacadeSingleton::cleanBuildFolder(), and FacadeSingleton::getVideoBodyKeyPoints().
|
protectedinherited |
Get the string command.
Definition at line 19 of file SystemCommand.cpp.
References SystemCommand::command.
Referenced by SystemCommand::executeCommand().
|
overrideprotectedvirtual |
Set the string command to a cleaning command.
argc | pointer to argc based on what the program reads from the configuration file. |
argv | pointer to argv based on what the program reads from the configuration file. |
Implements SystemCommand.
Definition at line 15 of file CleanCommand.cpp.
References UsageManager::get_argv(), UsageManager::getInstance(), imagesFolderOffset, outputFolderOffset, SystemCommand::setCommand(), USAGE_MANAGER_NULLPTR_ERROR, and USAGE_MANAGER_NULLPTR_SCOPE.
|
protectedinherited |
Set the string command with a particularly given string passed as a parameter.
command |
Definition at line 15 of file SystemCommand.cpp.
References SystemCommand::command.
|
privateinherited |
The final command given to the system by the program.
Definition at line 33 of file SystemCommand.hpp.
Referenced by SystemCommand::getCommand(), and SystemCommand::setCommand().