icub-client
subSystem_SAM.h
Go to the documentation of this file.
1 #ifndef SUBSYSTEM_SAM_H
2 #define SUBSYSTEM_SAM_H
3 
4 /*
5  * Copyright (C) 2014 WYSIWYD Consortium, European Commission FP7 Project ICT-612139
6  * Authors: Daniel Camilleri
7  * email: d.camilleri@sheffield.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_SAM "SAM"
23 
24 #include <iostream>
26 
27 namespace icubclient{
33 class SubSystem_SAM : public SubSystem
34 {
35  friend class ICubClient;
36 
37 protected:
38  virtual bool connect();
39 
40 public:
46  SubSystem_SAM(const std::string &masterName);
47 
48  virtual void Close();
49 
55  bool attentionModulation(const std::string &mode);
56 
62  yarp::os::Bottle askXLabel(const std::string &model);
63 
64 };
65 }//Namespace
66 
67 #endif // SUBSYSTEM_SAM_H
yarp::os::Bottle askXLabel(const std::string &model)
Method to trigger a classification from SAM.
SubSystem_SAM(const std::string &masterName)
Default constructor.
SubSystem for SAM.
Definition: subSystem_SAM.h:33
Grants access to high level motor commands (grasp, touch, look, goto, etc) of the robot as well as it...
Definition: icubClient.h:66
Abstract class to handle sub-systems of the icub-client.
Definition: subSystem.h:43
bool attentionModulation(const std::string &mode)
Method to switch attention modes for SAM.
virtual void Close()
Clean up resources.