mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 01:11:10 +03:00
java: Created a general interface that is no longer included in each package and updated examples
Signed-off-by: Bogdan Ichim <bogdan.ichim@rinftech.com> Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com>
This commit is contained in:

committed by
sisinty sasmita patra

parent
e3a8b2fc13
commit
fe9254c004
@ -1,8 +1,12 @@
|
||||
%module javaupm_ms5611
|
||||
%include "../upm.i"
|
||||
|
||||
%include "../interfaces/javaupm_iTemperatureSensor.i"
|
||||
%include "../interfaces/javaupm_iPressureSensor.i"
|
||||
%import "../interfaces/javaupm_iTemperatureSensor.i"
|
||||
%import "../interfaces/javaupm_iPressureSensor.i"
|
||||
|
||||
%typemap(javaimports) SWIGTYPE %{
|
||||
import upm_interfaces.*;
|
||||
%}
|
||||
|
||||
%{
|
||||
#include "ms5611.hpp"
|
||||
|
@ -58,7 +58,7 @@ namespace upm
|
||||
* @snippet ms5611.cxx Interesting
|
||||
*/
|
||||
|
||||
class MS5611 : public IPressureSensor, ITemperatureSensor
|
||||
class MS5611 : public IPressureSensor, public ITemperatureSensor
|
||||
{
|
||||
public:
|
||||
enum OsrMode
|
||||
|
Reference in New Issue
Block a user