|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_RFMODULE_H
11 #define YARP_OS_RFMODULE_H
43 virtual double getPeriod();
87 virtual int runModule();
120 virtual int runModuleThreaded();
135 virtual int getThreadKey();
165 virtual bool respond(
const Bottle& command,
Bottle& reply);
191 bool attachTerminal();
196 bool detachTerminal();
210 virtual bool interruptModule();
222 virtual bool close();
233 void stopModule(
bool wait =
false);
255 bool joinModule(
double seconds = -1);
271 std::string getName(
const std::string& subName =
"");
278 void setName(
const char* name);
290 virtual bool basicRespond(
const Bottle& command,
Bottle& reply);
292 #ifndef DOXYGEN_SHOULD_SKIP_THIS
296 #endif // DOXYGEN_SHOULD_SKIP_THIS
302 #endif // YARP_OS_RFMODULE_H
A base-class for standard YARP modules that supports ResourceFinder.
A simple collection of objects that can be described and transmitted in a portable way.
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.
A mini-server for network communication.
virtual bool updateModule()=0
Override this to do whatever your module needs to do.
A port that is specialized as an RPC server.
The main, catch-all namespace for YARP.
Helper class for finding config files and other external resources.