|
Apollo 10.0
自动驾驶开放平台
|
Parameter Client is used to set/get/list parameter(s) by sending a request to ParameterServer 更多...
#include <parameter_client.h>
Public 类型 | |
| using | Param = apollo::cyber::proto::Param |
| using | NodeName = apollo::cyber::proto::NodeName |
| using | ParamName = apollo::cyber::proto::ParamName |
| using | BoolResult = apollo::cyber::proto::BoolResult |
| using | Params = apollo::cyber::proto::Params |
| using | GetParameterClient = Client< ParamName, Param > |
| using | SetParameterClient = Client< Param, BoolResult > |
| using | ListParametersClient = Client< NodeName, Params > |
Public 成员函数 | |
| ParameterClient (const std::shared_ptr< Node > &node, const std::string &service_node_name) | |
| Construct a new ParameterClient object | |
| bool | GetParameter (const std::string ¶m_name, Parameter *parameter) |
| Get the Parameter object | |
| bool | SetParameter (const Parameter ¶meter) |
| Set the Parameter object | |
| bool | ListParameters (std::vector< Parameter > *parameters) |
| Get all the Parameter objects | |
Parameter Client is used to set/get/list parameter(s) by sending a request to ParameterServer
在文件 parameter_client.h 第 39 行定义.
在文件 parameter_client.h 第 44 行定义.
在文件 parameter_client.h 第 46 行定义.
在文件 parameter_client.h 第 48 行定义.
在文件 parameter_client.h 第 42 行定义.
在文件 parameter_client.h 第 41 行定义.
在文件 parameter_client.h 第 43 行定义.
在文件 parameter_client.h 第 45 行定义.
在文件 parameter_client.h 第 47 行定义.
| apollo::cyber::ParameterClient::ParameterClient | ( | const std::shared_ptr< Node > & | node, |
| const std::string & | service_node_name | ||
| ) |
Construct a new ParameterClient object
| node | shared_ptr of the node handler |
| service_node_name | node name which provide a param services |
在文件 parameter_client.cc 第 25 行定义.
| bool apollo::cyber::ParameterClient::GetParameter | ( | const std::string & | param_name, |
| Parameter * | parameter | ||
| ) |
Get the Parameter object
| param_name | |
| parameter | the pointer to store |
在文件 parameter_client.cc 第 38 行定义.
| bool apollo::cyber::ParameterClient::ListParameters | ( | std::vector< Parameter > * | parameters | ) |
Get all the Parameter objects
| parameters | pointer of vector to store all the parameters |
在文件 parameter_client.cc 第 65 行定义.
| bool apollo::cyber::ParameterClient::SetParameter | ( | const Parameter & | parameter | ) |
Set the Parameter object
| parameter | parameter to be set |
在文件 parameter_client.cc 第 55 行定义.