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 Properties 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:- Constructor(IOntologyBackend)
- Constructor(Properties)
- Constructor()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IServiceProvider
getServiceProvider()
A null return is expected if the module doesn't provide any RPC service to register.void
step()
'Step' the module.
-
-
-
Method Detail
-
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.
-
-