icub-client
subSystem_iol2opc.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 WYSIWYD Consortium, European Commission FP7 Project ICT-612139
3  * Authors: Tobias Fischer
4  * email: t.fischer@imperial.ac.uk
5  * website: https://github.com/robotology/icub-client/
6  * Permission is granted to copy, distribute, and/or modify this program
7  * under the terms of the GNU General Public License, version 2 or any
8  * later version published by the Free Software Foundation.
9  *
10  * A copy of the license can be found at
11  * icub-client/license/gpl.txt
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16  * Public License for more details
17  */
18 
19 #ifndef SUBSYSTEM_IOL2OPC_H
20 #define SUBSYSTEM_IOL2OPC_H
21 
22 #define SUBSYSTEM_IOL2OPC "iol2opc"
23 
24 #include <iostream>
26 
27 namespace icubclient{
34 {
35  friend class ICubClient;
36 
37 protected:
38  virtual bool connect();
39 
46  bool changeName(const std::string &old_name, const std::string &new_name);
47 
48 public:
49 
54  SubSystem_IOL2OPC(const std::string &masterName);
55 
56  virtual void Close();
57 
61  void pause();
62 
66  void resume();
67 };
68 }//Namespace
69 
70 #endif // SUBSYSTEM_IOL2OPC_H
Grants access to high level motor commands (grasp, touch, look, goto, etc) of the robot as well as it...
Definition: icubClient.h:66
SubSystem_IOL2OPC(const std::string &masterName)
Default constructor.
SubSystem for iol2opc.
bool changeName(const std::string &old_name, const std::string &new_name)
Change the name of an object Internally used by ICubClient::changeName.
Abstract class to handle sub-systems of the icub-client.
Definition: subSystem.h:43
void pause()
Pause the iol2opc object detection.
virtual void Close()
Clean up resources.
void resume()
Resume the iol2opc object detection.