tools.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2016 SoftBank Robotics Europe
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef TOOLS_HPP
19 #define TOOLS_HPP
20 
21 // NAOqi Headers
22 #include <qi/anyvalue.hpp>
23 
24 #include <ros/ros.h>
25 
26 qi::AnyValue fromStringVectorToAnyValue(const std::vector<std::string> &vector);
27 
28 qi::AnyValue fromDoubleVectorToAnyValue(const std::vector<double> &vector);
29 
30 std::vector<float> fromAnyValueToFloatVector(qi::AnyValue& value);
31 
32 std::vector<int> fromAnyValueToIntVector(qi::AnyValue& value);
33 
34 std::string print(const std::vector <std::string> &vector);
35 
36 std::vector <std::string> toVector(const std::string &input);
37 
38 void xmlToVector(XmlRpc::XmlRpcValue &topicList,
39  std::vector <std::string> *joints);
40 
41 #endif // TOOLS_HPP
void xmlToVector(XmlRpc::XmlRpcValue &topicList, std::vector< std::string > *joints)
Definition: tools.cpp:137
std::string print(const std::vector< std::string > &vector)
Definition: tools.cpp:110
qi::AnyValue fromDoubleVectorToAnyValue(const std::vector< double > &vector)
Definition: tools.cpp:46
qi::AnyValue fromStringVectorToAnyValue(const std::vector< std::string > &vector)
Definition: tools.cpp:22
std::vector< int > fromAnyValueToIntVector(qi::AnyValue &value)
Definition: tools.cpp:90
std::vector< std::string > toVector(const std::string &input)
Definition: tools.cpp:121
std::vector< float > fromAnyValueToFloatVector(qi::AnyValue &value)
Definition: tools.cpp:70


naoqi_dcm_driver
Author(s): Konstantinos Chatzilygeroudis , Mikael Arguedas , Karsten Knese , Natalia Lyubova
autogenerated on Thu Jul 25 2019 03:49:27