7 #ifndef YARP_OS_RFMODULE_H
8 #define YARP_OS_RFMODULE_H
40 virtual double getPeriod();
84 virtual int runModule();
117 virtual int runModuleThreaded();
132 virtual int getThreadKey();
162 virtual bool respond(
const Bottle& command,
Bottle& reply);
188 bool attachTerminal();
193 bool detachTerminal();
207 virtual bool interruptModule();
219 virtual bool close();
230 void stopModule(
bool wait =
false);
252 bool joinModule(
double seconds = -1);
268 std::string getName(
const std::string& subName =
"");
275 void setName(
const char* name);
287 virtual bool basicRespond(
const Bottle& command,
Bottle& reply);
289 #ifndef DOXYGEN_SHOULD_SKIP_THIS
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for network communication.
A base-class for standard YARP modules that supports ResourceFinder.
virtual bool updateModule()=0
Override this to do whatever your module needs to do.
Helper class for finding config files and other external resources.
A port that is specialized as an RPC server.
The main, catch-all namespace for YARP.
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.