23 #include <yarp/os/all.h>
24 #include <yarp/sig/all.h>
26 #include <opencv2/opencv.hpp>
30 using namespace yarp::os;
31 using namespace yarp::sig;
36 class Speaker :
public Port
42 Speaker() : speaking(true) { }
43 void setSpeaker(
const bool speaking) { this->speaking=speaking; }
44 bool getSpeaker()
const {
return speaking; }
45 void speak(
const string &phrase,
const bool force=
false);
50 class PointedLocationPort :
public BufferedPort<Bottle>
57 void onRead(Bottle &b);
60 PointedLocationPort();
61 bool getLoc(cv::Point &loc);
66 class StopCmdPort :
public BufferedPort<Bottle>
71 void onRead(Bottle &b);
75 void setManager(Manager *manager);
80 class Attention :
public PeriodicThread
91 void setManager(Manager *manager);
96 class RtLocalization :
public PeriodicThread
106 void setManager(Manager *manager);
111 class Exploration :
public PeriodicThread
123 void setManager(Manager *manager);
124 void setInfo(
const string &
object,
const Vector &position);
129 class MemoryUpdater :
public PeriodicThread
139 void setManager(Manager *manager);
144 class MemoryReporter :
public PortReport
150 void setManager(Manager *manager);
151 void report(
const PortInfo &info);