driver_helpers.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2015 Aldebaran
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 
19 #ifndef DRIVER_HELPERS_HPP
20 #define DRIVER_HELPERS_HPP
21 
22 #include <naoqi_driver/tools.hpp>
23 
24 #include <naoqi_bridge_msgs/RobotInfo.h>
25 
26 #include <naoqi_bridge_msgs/SetString.h>
27 
28 #include <qi/applicationsession.hpp>
29 
30 namespace naoqi
31 {
32 namespace helpers
33 {
34 namespace driver
35 {
36 
37 const robot::Robot& getRobot( const qi::SessionPtr& session );
38 
39 const naoqi_bridge_msgs::RobotInfo& getRobotInfo( const qi::SessionPtr& session );
40 
41 bool& setLanguage( const qi::SessionPtr& session, naoqi_bridge_msgs::SetStringRequest req );
42 
43 std::string& getLanguage( const qi::SessionPtr& session );
44 
45 bool isDepthStereo(const qi::SessionPtr &session);
46 
47 } // driver
48 } // helpers
49 } // naoqi
50 
51 #endif
const naoqi_bridge_msgs::RobotInfo & getRobotInfo(const qi::SessionPtr &session)
bool isDepthStereo(const qi::SessionPtr &session)
std::string & getLanguage(const qi::SessionPtr &session)
bool & setLanguage(const qi::SessionPtr &session, naoqi_bridge_msgs::SetStringRequest req)
const robot::Robot & getRobot(const qi::SessionPtr &session)


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sat Feb 15 2020 03:24:26