Package laas.openrobots.ontology.modules
Interface IModule
- All Known Implementing Classes:
AlteriteModule
public interface IModule
Modules must implement this interface to be loaded at runtime.
At instanciation time, ORO-server will look for a constructor that takes a
IOntologyBackend as first parameter and a
object as second parameter. The module will be instanciated with the current
ontology backend and the server parameters coming from the configuration file.
If this constructor doesn't exist, ORO-server will look in this order for:
invalid reference
Properties
- Constructor(IOntologyBackend)
- Constructor(Properties)
- Constructor()
-
Method Summary
Modifier and TypeMethodDescriptionA null return is expected if the module doesn't provide any RPC service to register.void
step()
'Step' the module.
-
Method Details
-
getServiceProvider
IServiceProvider getServiceProvider()A null return is expected if the module doesn't provide any RPC service to register.- Returns:
-
step
void step()'Step' the module. At each server main loop iteration, the 'step' method is called. The module can do here its own internal homeworks.
-