noos::cloud::vision_batch< ties > Class Template Reference
#include <vision_batch.hpp>
Public Types | |
| using | callback = std::function< void(std::string)> |
| typedef vision_batch< ties... >::data_type | data_types |
Public Types inherited from noos::cloud::cloud_base< bool > | |
| using | data_type = bool |
Public Member Functions | |
| vision_batch (noos::object::picture image, ties...args) | |
construct a vision_batch using a list of tied wrappers More... | |
| void | process (std::string json) |
process the JSON reply and delegate to services This method becomes the specialisation of deserialize<vision_batch<...>>, More... | |
Public Member Functions inherited from noos::cloud::http_request | |
| 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 | |
Public Member Functions inherited from noos::cloud::cloud_base< bool > | |
| cloud_base (bool single_call) | |
| Constructor. More... | |
| bool | is_single_callable () const |
| std::string | make_http_uri (std::string uri) const |
Additional Inherited Members | |
Public Attributes inherited from noos::cloud::cloud_batch | |
| unsigned int | size |
Detailed Description
template<class... ties>
class noos::cloud::vision_batch< ties >
- Note
- creates a call with multiple vision services
- Version
- 0.8.0
- Date
- 21.09.2017
- Note
- you can only using this class with
vision_basederived classes
Inheritance diagram for noos::cloud::vision_batch< ties >:

Collaboration diagram for noos::cloud::vision_batch< ties >:

Constructor & Destructor Documentation
template<class... ties>
| noos::cloud::vision_batch< ties >::vision_batch | ( | noos::object::picture | image, |
| ties... | args | ||
| ) |
construct a vision_batch using a list of tied wrappers
- Parameters
-
image is a noos::object::picture
- Note
- args will be called in a sequential manner
Member Function Documentation
template<class... ties>
| void noos::cloud::vision_batch< ties >::process | ( | std::string | json | ) |
process the JSON reply and delegate to services This method becomes the specialisation of deserialize<vision_batch<...>>,
- Note
- this is the callback for
callableand calls the ties functors using a fold expression and tuple unpacking
The documentation for this class was generated from the following file:
- noos/cloud/vision_batch.hpp

Public Types inherited from