iCub-main
EyeLidsController.h
Go to the documentation of this file.
1 #ifndef __EYELIDS_CONTROLLER__
2 #define __EYELIDS_CONTROLLER__
3 
4 // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
5 
6 /*
7 * Copyright (C) 2010 RobotCub Consortium, European Commission FP6 Project IST-004370
8 * Author: Martin Peniak, Vadim Tikhanoff
9 * email: martin.peniak@plymouth.ac.uk, vadim.tikhanoff@iit.it
10 * website: www.robotcub.org
11 * Permission is granted to copy, distribute, and/or modify this program
12 * under the terms of the GNU General Public License, version 2 or any
13 * later version published by the Free Software Foundation.
14 *
15 * A copy of the license can be found at
16 * http://www.robotcub.org/icub/license/gpl.txt
17 *
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21 * Public License for more details
22 */
23 
24 #include <yarp/os/BufferedPort.h>
25 #include <yarp/os/Bottle.h>
26 #include <yarp/sig/Vector.h>
27 
28 #include <string>
29 
30 class EyeLids
31 {
32 public:
33  EyeLids();
34  ~EyeLids();
35 
36  yarp::os::BufferedPort<yarp::os::Bottle> port;
37 public:
38  std::string portName;
40  void setName( std::string module );
41  bool OpenPort();
42 
43  void ClosePort();
44  void checkPort();
45 };
46 
47 #endif
48 
yarp::os::BufferedPort< yarp::os::Bottle > port
std::string portName
void ClosePort()
void setName(std::string module)
void checkPort()
float eyeLidsRotation