iCub-main
icub-main
src
simulators
iCubSimulation
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
;
39
float
eyeLidsRotation
;
40
void
setName
( std::string module );
41
bool
OpenPort
();
42
43
void
ClosePort
();
44
void
checkPort
();
45
};
46
47
#endif
48
EyeLids
Definition:
EyeLidsController.h:31
EyeLids::ClosePort
void ClosePort()
Definition:
EyeLidsController.cpp:38
EyeLids::portName
std::string portName
Definition:
EyeLidsController.h:38
EyeLids::port
yarp::os::BufferedPort< yarp::os::Bottle > port
Definition:
EyeLidsController.h:36
EyeLids::OpenPort
bool OpenPort()
Definition:
EyeLidsController.cpp:48
EyeLids::~EyeLids
~EyeLids()
Definition:
EyeLidsController.cpp:33
EyeLids::setName
void setName(std::string module)
Definition:
EyeLidsController.cpp:43
EyeLids::EyeLids
EyeLids()
Definition:
EyeLidsController.cpp:28
EyeLids::checkPort
void checkPort()
Definition:
EyeLidsController.cpp:57
EyeLids::eyeLidsRotation
float eyeLidsRotation
Definition:
EyeLidsController.h:39
Generated on Mon Jan 30 2023 11:20:16 for iCub-main by
1.9.1