--- org/HAL4RT_Device.h 2016-03-15 03:11:51.496000000 +0900
+++ mod/HAL4RT_Device.h 2016-03-15 03:14:42.412000000 +0900
@@ -1,6 +1,7 @@
#ifndef HAL4RT_DEVICE_H
#define HAL4RT_DEVICE_H
+#include <stdint.h>
typedef struct HALComponent {
char ComponentName[32];
@@ -13,7 +14,7 @@
typedef struct Actuator {
uint32_t ActuatorKindId;
-} ACTUATOR
+} ACTUATOR;
typedef struct Sensor {
@@ -21,13 +22,13 @@
int32_t ValueOfMeasurement[32];
int32_t ScaleFactor[32];
int32_t Origin[32];
- int32_t GetSensorKind();
- int32_t GetValueOfMeasurement();
- int32_t SetUintOfMeasurement();
- int32_t GetUnitOfMeasurement();
- int32_t SetScaleFactor();
- int32_t SetOrigin();
-} SENSOR
+ int32_t (*GetSensorKind)();
+ int32_t (*GetValueOfMeasurement)();
+ int32_t (*SetUintOfMeasurement)();
+ int32_t (*GetUnitOfMeasurement)();
+ int32_t (*SetScaleFactor)();
+ int32_t (*SetOrigin)();
+} SENSOR;
-#endif HAL4RT_DEVICE_H
+#endif /* HAL4RT_DEVICE_H */