Common interface for devices that act like services (by which we mean they do something for remote users, with minimal interaction with their creator other than initial configuration). More...
#include <yarp/dev/ServiceInterfaces.h>
Public Member Functions | |
virtual | ~IService () |
virtual bool | startService () |
Initiate the service, whatever it is. More... | |
virtual bool | updateService () |
Give the service the chance to run for a while. More... | |
virtual bool | stopService () |
Shut down the service, whatever it is. More... | |
Common interface for devices that act like services (by which we mean they do something for remote users, with minimal interaction with their creator other than initial configuration).
Definition at line 25 of file ServiceInterfaces.h.
|
inlinevirtual |
Definition at line 27 of file ServiceInterfaces.h.
|
inlinevirtual |
Initiate the service, whatever it is.
The service should then run by itself, without any further interaction with its creator until stopService() is called.
Reimplemented in ServerFrameGrabber, DevicePipe, and DeviceGroup.
Definition at line 39 of file ServiceInterfaces.h.
|
inlinevirtual |
Shut down the service, whatever it is.
Reimplemented in ServerFrameGrabber, DevicePipe, and DeviceGroup.
Definition at line 59 of file ServiceInterfaces.h.
|
inlinevirtual |
Give the service the chance to run for a while.
This is an alternative to calling startService(). It is more appropriate in a single-threaded environment.
Reimplemented in ServerFrameGrabber, DevicePipe, and DeviceGroup.
Definition at line 51 of file ServiceInterfaces.h.