RAPP Platform API
|
Get all personal data for a specific user. More...
#include <fetch_personal_data.hpp>
Public Member Functions | |
fetch_personal_data (const std::string user, std::function< void(const std::string) > callback) | |
Constructor for obtained personal (JSON) data for a specific user. More... | |
Private Member Functions | |
void | handle_reply (std::string json) |
Private Attributes | |
std::function< void(const std::string)> | delegate__ |
The callback called upon completion of receiving the detected faces. More... | |
Get all personal data for a specific user.
Definition at line 13 of file fetch_personal_data.hpp.
rapp::cloud::fetch_personal_data::fetch_personal_data | ( | const std::string | user, |
std::function< void(const std::string) > | callback | ||
) |
Constructor for obtained personal (JSON) data for a specific user.
user | is the string username as stored in the database |
callback | is the functor that will received the obtained data |
Definition at line 23 of file fetch_personal_data.hpp.
|
private |
Get reply and send it directly to delegate
Definition at line 47 of file fetch_personal_data.hpp.
|
private |
The callback called upon completion of receiving the detected faces.
Definition at line 53 of file fetch_personal_data.hpp.