Public Member Functions | Private Attributes | List of all members
rc_rest_api::RestHelper Class Reference

#include <rest_helper.h>

Public Member Functions

std::tuple< size_t, size_t, size_t > getImageVersion ()
 
json getParameters ()
 
 RestHelper (const std::string &host, const std::string &node_name, int timeout)
 
json servicePutRequest (const std::string &service_name)
 
json servicePutRequest (const std::string &service_name, const json &js_args)
 
json setParameters (const json &js_params)
 

Private Attributes

const std::string host_
 
const std::string params_url_
 
const std::string services_url_
 
const int timeout_curl_
 
const std::string version_url_
 

Detailed Description

Definition at line 45 of file rest_helper.h.

Constructor & Destructor Documentation

rc_rest_api::RestHelper::RestHelper ( const std::string &  host,
const std::string &  node_name,
int  timeout 
)

Definition at line 64 of file rest_helper.cpp.

Member Function Documentation

std::tuple< size_t, size_t, size_t > rc_rest_api::RestHelper::getImageVersion ( )

Definition at line 128 of file rest_helper.cpp.

json rc_rest_api::RestHelper::getParameters ( )

Definition at line 112 of file rest_helper.cpp.

json rc_rest_api::RestHelper::servicePutRequest ( const std::string &  service_name)

Definition at line 92 of file rest_helper.cpp.

json rc_rest_api::RestHelper::servicePutRequest ( const std::string &  service_name,
const json js_args 
)

Definition at line 100 of file rest_helper.cpp.

json rc_rest_api::RestHelper::setParameters ( const json js_params)

Definition at line 119 of file rest_helper.cpp.

Member Data Documentation

const std::string rc_rest_api::RestHelper::host_
private

Definition at line 61 of file rest_helper.h.

const std::string rc_rest_api::RestHelper::params_url_
private

Definition at line 61 of file rest_helper.h.

const std::string rc_rest_api::RestHelper::services_url_
private

Definition at line 61 of file rest_helper.h.

const int rc_rest_api::RestHelper::timeout_curl_
private

Definition at line 62 of file rest_helper.h.

const std::string rc_rest_api::RestHelper::version_url_
private

Definition at line 61 of file rest_helper.h.


The documentation for this class was generated from the following files:


rc_hand_eye_calibration_client
Author(s): Christian Emmerich
autogenerated on Sat Feb 13 2021 03:41:55