#include <algorithm>#include <chrono>#include <cmath>#include <iostream>#include <memory>#include <string>#include "helper.h"#include <grpc/grpc.h>#include <grpcpp/security/server_credentials.h>#include <grpcpp/server.h>#include <grpcpp/server_builder.h>#include <grpcpp/server_context.h>#include "route_guide.grpc.pb.h"
Go to the source code of this file.
Classes | |
| class | RouteGuideImpl |
Functions | |
| float | ConvertToRadians (float num) |
| float | GetDistance (const Point &start, const Point &end) |
| std::string | GetFeatureName (const Point &point, const std::vector< Feature > &feature_list) |
| int | main (int argc, char **argv) |
| void | RunServer (const std::string &db_path) |
| float ConvertToRadians | ( | float | num | ) |
Definition at line 54 of file route_guide_server.cc.
Definition at line 57 of file route_guide_server.cc.
Definition at line 76 of file route_guide_server.cc.
Definition at line 184 of file route_guide_server.cc.
| void RunServer | ( | const std::string & | db_path | ) |
Definition at line 172 of file route_guide_server.cc.