icub-client
src
modules
reactiveLayer
sensationManager
include
test.h
Go to the documentation of this file.
1
#ifndef HOMEO_TEST
2
#define HOMEO_TEST
3
4
#include <string>
5
#include <iostream>
6
#include <iomanip>
7
#include <map>
8
9
#include <yarp/os/all.h>
10
#include <yarp/sig/all.h>
11
12
#include "
icubclient/clients/icubClient.h
"
13
14
#include "
sensation.h
"
15
19
class
TestSensation
:
public
Sensation
20
{
21
private
:
22
bool
on;
23
string
moduleName, unknown_obj_port_name, confusion_port_name;
24
yarp::os::BufferedPort<Bottle> in;
25
yarp::os::BufferedPort<Bottle> out;
26
27
28
public
:
29
TestSensation
() : on(false) {
30
;
31
}
32
33
void
configure
();
34
void
publish
();
35
void
close_ports
() {
36
in.interrupt();
37
in.close();
38
out.interrupt();
39
out.close();
40
}
41
};
42
43
#endif
TestSensation::publish
void publish()
send sensation data to port
Definition:
test.cpp:15
TestSensation::configure
void configure()
Definition:
test.cpp:8
sensation.h
icubClient.h
TestSensation
Definition:
test.h:19
TestSensation::close_ports
void close_ports()
Definition:
test.h:35
TestSensation::TestSensation
TestSensation()
Definition:
test.h:29
Sensation
Definition:
sensation.h:13
Generated on Wed Feb 19 2020 23:45:26 for icub-client by
1.8.13