Go to the documentation of this file. 1 #ifndef _ALB_CURL_HELPER_H
2 #define _ALB_CURL_HELPER_H
11 #include "outsight_alb_driver/AlbConfig.h"
12 #include "outsight_alb_driver/AlbFile.h"
59 outsight_alb_driver::AlbConfig::Request &request);
88 outsight_alb_driver::AlbConfig::Request &request);
106 bool exportData(
const std::string &data,
const std::string &output_path,
107 const std::string &print_text = std::string(
"Print data:"));
110 const std::string
readData(
const std::string &filepath);
127 #endif // _ALB_CURL_HELPER_H
struct curl_slist * chunk
AlbCurlHelper(const std::string &ip_address)
storage_service_e
Storage services.
std::string error_message
bool initCurl(void)
Initialize the curl command.
bool executeCurlCommand(const std::string &command)
Execute the curl command.
Class to handle the curl ALB requests.
const std::string getErrorMessage(void) const
Get the error message.
bool executeProcessingConfig(const processing_config_e &service, outsight_alb_driver::AlbConfig::Request &request)
Execute the processing command for the configuration.
processing_config_e
Processing configuration services.
bool defineProcessingConfig(const processing_config_e &service, outsight_alb_driver::AlbConfig::Request &request)
Define the processing configuration command.
bool defineStorageListCommand(const outsight_alb_driver::AlbFile::Request &request)
Define the command to list storage files.
bool executeStorage(const storage_service_e service, outsight_alb_driver::AlbFile::Request &request)
Execute the storage command.
bool defineStorageCommand(const storage_service_e service, outsight_alb_driver::AlbFile::Request &request)
Define the storage command.
bool executeProcessing(const processing_service_e service)
Execute the processing command.
processing_service_e
Processing services of the ALB.
bool exportData(const std::string &data, const std::string &output_path, const std::string &print_text=std::string("Print data:"))
Export the data to the output filepath.
void defineBaseCommand(const std::string &alb_command)
Define base curl command for the ALB.
std::string callback_data
bool executeProcessingZones(std::string &zones)
Execute the processing command for the zones.
const std::string readData(const std::string &filepath)
Read data from the input filepath.
bool isProcessingRunning(bool &running)
Check if processing is running.