Trigger Field

struct SmartCapture::Trigger::TriggerField()

Member Fields

  • string name: name of the field
  • FieldType type: type FieldType
  • Source source: type Source

Enum FieldType

enum FieldType {
  INTEGER = 0,
  FLOAT = 1,
  STRING = 2,
  BOOL = 3,
  FLOAT_VECTOR = 4,
  DOUBLE_ARRAY = 5
  };

Enum Source

The source enum currently supports two values: MANUAL and DEVICE_STAT. MANUAL requires the user to call the update_state method– this is best suited for sensor data, model outputs, and other software outputs.

The DEVICE_STAT type refers to compute utilization metrics that can be automatically looked up by the SDK. This includes CPU utilization, GPU utilization, disk space and memory usage.

enum Source {MANUAL, DEVICE_STAT}

Did this page help you?