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