noos::cloud::upload_slam_config_file Struct Reference
upload a config file with slam parameters to the platform More...
#include <navigation.hpp>
Public Types | |
using | callback = std::function< void(data_type)> |
![]() | |
using | data_type = bool |
Public Member Functions | |
upload_slam_config_file (noos::object::config_file &file, std::string name, slam_type type) | |
![]() | |
http_request (const std::string uri) | |
construct a cloud HTTP request (multipart/form-data) | |
http_request (const std::string uri, bool keep_alive) | |
construct a cloud HTTP request (multipart/form-data) with keep_alive param | |
http_request (const http_request &arg) | |
copy constructor | |
void | fill_buffer (boost::asio::streambuf &buffer, noos::cloud::platform info) |
fill the socket streambuf with the request header and post data More... | |
template<typename... Args> | |
void | add_content (Args...args) |
add multiple content to the post with HTTP Protocol | |
void | close () |
close this request properly More... | |
std::string | to_string (noos::cloud::platform info) const |
translate noos::cloud::platform parameters into a string with HTTP Protocol format | |
std::string | to_post () const |
translate post data into a string with HTTP Protocol format | |
bool | operator== (const http_request &rhs) const |
compare if two http_request are equal | |
void | make_multipart_form () |
make this a multipart-form, by creating the correct header fields, boundaries and multipart entries | |
![]() | |
cloud_base (bool single_call) | |
Constructor. More... | |
bool | is_single_callable () const |
std::string | make_http_uri (std::string uri) const |
Static Public Attributes | |
static const std::string | uri |
static std::map< slam_type, std::string > | config_type |
Detailed Description
upload a config file with slam parameters to the platform
- Version
- 0.8.0
- Date
- 01.09.2017
- Note
- data type passed back is
bool
Inheritance diagram for noos::cloud::upload_slam_config_file:

Collaboration diagram for noos::cloud::upload_slam_config_file:

Constructor & Destructor Documentation
noos::cloud::upload_slam_config_file::upload_slam_config_file | ( | noos::object::config_file & | file, |
std::string | name, | ||
slam_type | type | ||
) |
- Parameters
-
file is the config file to upload name is the name that the file will have in the platform type the type of slam
The documentation for this struct was generated from the following file:
- noos/cloud/navigation.hpp