summaryrefslogtreecommitdiffstats
path: root/src/tests/sbus_codegen_tests_generated.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/sbus_codegen_tests_generated.h')
-rw-r--r--src/tests/sbus_codegen_tests_generated.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/tests/sbus_codegen_tests_generated.h b/src/tests/sbus_codegen_tests_generated.h
index 137dab8a0..9599091dd 100644
--- a/src/tests/sbus_codegen_tests_generated.h
+++ b/src/tests/sbus_codegen_tests_generated.h
@@ -24,6 +24,27 @@
#define TEST_PILOT_BLINK "Blink"
#define TEST_PILOT_EJECT "Eject"
#define TEST_PILOT_FULLNAME "FullName"
+#define TEST_PILOT_BYTE "byte"
+#define TEST_PILOT_BOOLEAN "boolean"
+#define TEST_PILOT_INT16 "int16"
+#define TEST_PILOT_UINT16 "uint16"
+#define TEST_PILOT_INT32 "int32"
+#define TEST_PILOT_UINT32 "uint32"
+#define TEST_PILOT_INT64 "int64"
+#define TEST_PILOT_UINT64 "uint64"
+#define TEST_PILOT_DOUBLE "double"
+#define TEST_PILOT_STRING "string"
+#define TEST_PILOT_OBJECT_PATH "object_path"
+#define TEST_PILOT_BYTE_ARRAY "byte_array"
+#define TEST_PILOT_INT16_ARRAY "int16_array"
+#define TEST_PILOT_UINT16_ARRAY "uint16_array"
+#define TEST_PILOT_INT32_ARRAY "int32_array"
+#define TEST_PILOT_UINT32_ARRAY "uint32_array"
+#define TEST_PILOT_INT64_ARRAY "int64_array"
+#define TEST_PILOT_UINT64_ARRAY "uint64_array"
+#define TEST_PILOT_DOUBLE_ARRAY "double_array"
+#define TEST_PILOT_STRING_ARRAY "string_array"
+#define TEST_PILOT_OBJECT_PATH_ARRAY "object_path_array"
/* ------------------------------------------------------------------------
* DBus handlers
@@ -49,6 +70,7 @@ struct com_planetexpress_Ship {
int (*MoveUniverse)(struct sbus_request *req, void *data, bool arg_smoothly, uint32_t arg_speed_factor);
int (*crash_now)(struct sbus_request *req, void *data, const char *arg_where);
sbus_msg_handler_fn Land;
+ void (*com_planetexpress_Ship_get_Color)(struct sbus_request *, void *data, const char * *);
};
/* finish function for MoveUniverse */
@@ -62,6 +84,28 @@ struct test_pilot {
struct sbus_vtable vtable; /* derive from sbus_vtable */
int (*Blink)(struct sbus_request *req, void *data, uint32_t arg_duration);
int (*Eject)(struct sbus_request *req, void *data, uint8_t arg_byte, bool arg_boolean, int16_t arg_int16, uint16_t arg_uint16, int32_t arg_int32, uint32_t arg_uint32, int64_t arg_int64, uint64_t arg_uint64, double arg_double, const char *arg_string, const char *arg_object_path, uint8_t arg_byte_array[], int len_byte_array, int16_t arg_int16_array[], int len_int16_array, uint16_t arg_uint16_array[], int len_uint16_array, int32_t arg_int32_array[], int len_int32_array, uint32_t arg_uint32_array[], int len_uint32_array, int64_t arg_int64_array[], int len_int64_array, uint64_t arg_uint64_array[], int len_uint64_array, double arg_double_array[], int len_double_array, const char *arg_string_array[], int len_string_array, const char *arg_object_path_array[], int len_object_path_array);
+ void (*test_pilot_get_FullName)(struct sbus_request *, void *data, const char * *);
+ void (*test_pilot_get_byte)(struct sbus_request *, void *data, uint8_t *);
+ void (*test_pilot_get_boolean)(struct sbus_request *, void *data, bool *);
+ void (*test_pilot_get_int16)(struct sbus_request *, void *data, int16_t *);
+ void (*test_pilot_get_uint16)(struct sbus_request *, void *data, uint16_t *);
+ void (*test_pilot_get_int32)(struct sbus_request *, void *data, int32_t *);
+ void (*test_pilot_get_uint32)(struct sbus_request *, void *data, uint32_t *);
+ void (*test_pilot_get_int64)(struct sbus_request *, void *data, int64_t *);
+ void (*test_pilot_get_uint64)(struct sbus_request *, void *data, uint64_t *);
+ void (*test_pilot_get_double)(struct sbus_request *, void *data, double *);
+ void (*test_pilot_get_string)(struct sbus_request *, void *data, const char * *);
+ void (*test_pilot_get_object_path)(struct sbus_request *, void *data, const char * *);
+ void (*test_pilot_get_byte_array)(struct sbus_request *, void *data, uint8_t * *, int *);
+ void (*test_pilot_get_int16_array)(struct sbus_request *, void *data, int16_t * *, int *);
+ void (*test_pilot_get_uint16_array)(struct sbus_request *, void *data, uint16_t * *, int *);
+ void (*test_pilot_get_int32_array)(struct sbus_request *, void *data, int32_t * *, int *);
+ void (*test_pilot_get_uint32_array)(struct sbus_request *, void *data, uint32_t * *, int *);
+ void (*test_pilot_get_int64_array)(struct sbus_request *, void *data, int64_t * *, int *);
+ void (*test_pilot_get_uint64_array)(struct sbus_request *, void *data, uint64_t * *, int *);
+ void (*test_pilot_get_double_array)(struct sbus_request *, void *data, double * *, int *);
+ void (*test_pilot_get_string_array)(struct sbus_request *, void *data, const char * * *, int *);
+ void (*test_pilot_get_object_path_array)(struct sbus_request *, void *data, const char * * *, int *);
};
/* finish function for Blink */