From ef18541ac2e1e97de9f04f132ac7b2b1ba21e515 Mon Sep 17 00:00:00 2001 From: dpeter99 Date: Wed, 28 Mar 2018 17:34:56 +0200 Subject: c# binding WIP --- csharp-binding/LibSurviveBinding/SurviveContext.cs | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 csharp-binding/LibSurviveBinding/SurviveContext.cs (limited to 'csharp-binding/LibSurviveBinding/SurviveContext.cs') diff --git a/csharp-binding/LibSurviveBinding/SurviveContext.cs b/csharp-binding/LibSurviveBinding/SurviveContext.cs new file mode 100644 index 0000000..2ba9b7c --- /dev/null +++ b/csharp-binding/LibSurviveBinding/SurviveContext.cs @@ -0,0 +1,44 @@ +namespace LibSurviveBinding +{ + /* + public struct SurviveContext + { + text_feedback_func faultfunction; + text_feedback_func notefunction; + light_process_func lightproc; + imu_process_func imuproc; + angle_process_func angleproc; + button_process_func buttonproc; + raw_pose_func rawposeproc; + lighthouse_pose_func lighthouseposeproc; + htc_config_func configfunction; + handle_lightcap_func lightcapfunction; + + Config_group global_config_values; + Config_group* lh_config; //lighthouse configs + Config_group* temporary_config_values; //Set per-session, from command-line. Not saved but override global_config_values + + //Calibration data: + int activeLighthouses; + BaseStationData bsd[NUM_LIGHTHOUSES]; + SurviveCalData* calptr; //If and only if the calibration subsystem is attached. + struct SurviveRecordingData *recptr; // Iff recording is attached + SurviveObject** objs; + int objs_ct; + + void** drivers; + DeviceDriverCb* driverpolls; + DeviceDriverCb* drivercloses; + DeviceDriverMagicCb* drivermagics; + int driver_ct; + + SurviveState state; + + void* buttonservicethread; + ButtonQueue buttonQueue; + + void* user_ptr; + + } + */ +} \ No newline at end of file -- cgit v1.2.3