phytrace_builder_set_operational

Function phytrace_builder_set_operational 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn phytrace_builder_set_operational( builder: *mut PhyTraceBuilderHandle, mode: i32, state: i32, task_id: *const c_char, task_type: *const c_char, uptime_sec: f64, mission_id: *const c_char, ) -> i32
Expand description

Set the operational domain on the builder.

Enum parameters use -1 for “not set”. String parameters use null. Float parameters use NAN.

§Parameters

  • modePHYTRACE_OPERATIONAL_MODE_* constant, or -1
  • statePHYTRACE_OPERATIONAL_STATE_* constant, or -1
  • task_id — Current task ID string, or null
  • task_type — Current task type string, or null
  • uptime_sec — System uptime in seconds, or NAN
  • mission_id — Mission ID string, or null