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. | |
virtual bool | updateService () |
Give the service the chance to run for a while. | |
virtual bool | stopService () |
Shut down the service, whatever it is. | |
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 23 of file ServiceInterfaces.h.
|
inlinevirtual |
Definition at line 25 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 yarp::dev::OVRHeadset.
Definition at line 37 of file ServiceInterfaces.h.
|
inlinevirtual |
Shut down the service, whatever it is.
Reimplemented in yarp::dev::OVRHeadset.
Definition at line 57 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 yarp::dev::OVRHeadset.
Definition at line 49 of file ServiceInterfaces.h.