18 #ifndef __ICUB_STARTINSPECT_MOD_H__
19 #define __ICUB_STARTINSPECT_MOD_H__
21 #include <yarp/os/BufferedPort.h>
22 #include <yarp/os/RFModule.h>
23 #include <yarp/os/Network.h>
24 #include <yarp/os/Thread.h>
25 #include <yarp/os/PeriodicThread.h>
26 #include <yarp/os/Time.h>
27 #include <yarp/os/Stamp.h>
28 #include <yarp/sig/Vector.h>
29 #include <yarp/sig/Image.h>
31 #include <yarp/os/RpcClient.h>
41 std::vector<std::string> property;
44 class STARTManager :
public yarp::os::BufferedPort<yarp::os::Bottle>
48 std::string moduleName;
49 std::string inSpeechPortName;
50 std::string outSTARTPortName;
52 yarp::os::BufferedPort<yarp::os::Bottle> speechInPort;
53 yarp::os::BufferedPort<yarp::os::Bottle> startOutPort;
55 Object *objectDetails;
63 STARTManager(
const std::string &moduleName );
68 void onRead( yarp::os::Bottle &bot );
71 static bool aZCheck(
char c)
78 class STARTModule:
public yarp::os::RFModule
81 std::string moduleName;
82 std::string handlerPortName;
83 yarp::os::RpcServer rpcPort;
86 STARTManager *startManager;
92 bool configure(yarp::os::ResourceFinder &rf);
93 bool interruptModule();