Skip to main content

Neuralyzer::Transforms::V2::Examples::AnalogEventThresholdParams

Neuralyzer::Transforms::V2::Examples::AnalogEventThresholdParams

Parameters for analog event threshold detection. More…

#include <AnalogEventThreshold.hpp>

Public Types

Name
enum class Direction { positive, negative, absolute}

Public Attributes

Name
float threshold_value
Direction direction
rfl::Validator< float, rfl::Minimum< 0.0f > > lockout_time

Detailed Description

struct Neuralyzer::Transforms::V2::Examples::AnalogEventThresholdParams;

Parameters for analog event threshold detection.

Uses reflect-cpp for automatic JSON serialization/deserialization with validation.

Example JSON: ```json

{ “threshold_value”: 1.0, “direction”: “positive”, “lockout_time”: 150.0 }


## Public Types Documentation

### enum Direction

| Enumerator | Value | Description |
| ---------- | ----- | ----------- |
| positive | |   |
| negative | |   |
| absolute | |   |




## Public Attributes Documentation

### variable threshold_value

```cpp
float threshold_value = 1.0f;

variable direction

Direction direction = Direction::positive;

variable lockout_time

rfl::Validator< float, rfl::Minimum< 0.0f > > lockout_time = 0.0f;

Updated on 2026-11-13 at 20:25:41 +0000