icub-client
src
modules
reactiveLayer
sensationManager
include
sensationManager.h
Go to the documentation of this file.
1
#ifndef SENSATION_MANAGER
2
#define SENSATION_MANAGER
3
4
#include <string>
5
#include <iostream>
6
#include <iomanip>
7
#include <yarp/os/all.h>
8
#include <yarp/sig/all.h>
9
#include <map>
10
11
#include "
opcSensation.h
"
12
#include "
test.h
"
13
14
using namespace
std
;
15
using namespace
yarp::os
;
16
using namespace
yarp::sig
;
17
using namespace
icubclient
;
18
22
class
SensationManager
:
public
RFModule
23
{
24
private
:
25
vector<Sensation*> sensations;
26
Bottle sensationList;
27
string
moduleName;
28
Port rpc_in_port;
29
30
protected
:
31
double
period
;
32
33
public
:
34
SensationManager
() : period(0.1) {
35
;
36
}
37
38
bool
configure(yarp::os::ResourceFinder &
rf
);
39
40
bool
interruptModule
()
41
{
42
return
true
;
43
}
44
45
double
getPeriod
()
46
{
47
return
period;
48
}
49
50
bool
updateModule();
51
bool
respond(
const
Bottle& cmd, Bottle& reply);
52
53
bool
close();
54
55
};
56
57
#endif
SensationManager::period
double period
Definition:
sensationManager.h:31
test.h
std
STL namespace.
SensationManager::getPeriod
double getPeriod()
Definition:
sensationManager.h:45
allostatic_plot.rf
rf
Definition:
allostatic_plot.py:237
icubclient
Definition:
icubClient.h:40
SensationManager::SensationManager
SensationManager()
Definition:
sensationManager.h:34
SensationManager
Definition:
sensationManager.h:22
SensationManager::interruptModule
bool interruptModule()
Definition:
sensationManager.h:40
os
sig
opcSensation.h
Generated on Wed Feb 19 2020 23:45:26 for icub-client by
1.8.13