SimaaiGstErrorContext Struct
Bag of diagnostic fields used to build SiMa GStreamer error/warning messages. More...
Declaration
Included Headers
Public Member Attributes Index
| const char * | plugin = nullptr |
|
Owning plugin name, e.g., "simaai-process-mla". More... | |
| const char * | node = nullptr |
|
Logical node identifier within the pipeline. More... | |
| const char * | config_path = nullptr |
|
Path to the plugin's config JSON, if any. More... | |
| const char * | model_path = nullptr |
|
Path to the model artifact, if any. More... | |
| int | graph_id = -1 |
|
Graph identifier; -1 if unset. More... | |
| std::int64_t | frame_id = -1 |
|
Frame counter where the error occurred; -1 if unset. More... | |
| const char * | stream_id = nullptr |
|
GStreamer stream id. More... | |
| const char * | input_caps = nullptr |
|
Input pad caps as a string. More... | |
| const char * | output_caps = nullptr |
|
Output pad caps as a string. More... | |
| const char * | input_dims = nullptr |
|
Input tensor dims summary. More... | |
| const char * | output_dims = nullptr |
|
Output tensor dims summary. More... | |
| const char * | allocator = nullptr |
|
Allocator name in use. More... | |
| const char * | dispatcher_err = nullptr |
|
Dispatcher-layer error string, if any. More... | |
| const char * | hint = nullptr |
|
Free-form actionable hint for the user. More... | |
| const char * | stage_key = nullptr |
|
Stage key that failed. More... | |
| const char * | source_used = nullptr |
|
Origin of the config decision (e.g., "framework"). More... | |
| const char * | missing_field = ... |
|
Missing required field name, if a config-validation failure. More... | |
| const char * | fallback_chain = nullptr |
|
Comma-separated fallback chain that was tried. More... | |
Description
Bag of diagnostic fields used to build SiMa GStreamer error/warning messages.
Every field is optional; formatters skip null/empty values. Integer fields use -1 as their "unset" sentinel and are skipped when negative. Populate as many fields as the plugin has on hand at the failure site — more context means easier triage.
Definition at line 34 of file SimaaiGstErrors.h.
Public Member Attributes
allocator
|
Allocator name in use.
Definition at line 46 of file SimaaiGstErrors.h.
config_path
|
Path to the plugin's config JSON, if any.
Definition at line 37 of file SimaaiGstErrors.h.
dispatcher_err
|
Dispatcher-layer error string, if any.
Definition at line 47 of file SimaaiGstErrors.h.
fallback_chain
|
Comma-separated fallback chain that was tried.
Definition at line 53 of file SimaaiGstErrors.h.
frame_id
|
Frame counter where the error occurred; -1 if unset.
Definition at line 40 of file SimaaiGstErrors.h.
graph_id
|
Graph identifier; -1 if unset.
Definition at line 39 of file SimaaiGstErrors.h.
hint
|
Free-form actionable hint for the user.
Definition at line 48 of file SimaaiGstErrors.h.
input_caps
|
Input pad caps as a string.
Definition at line 42 of file SimaaiGstErrors.h.
input_dims
|
Input tensor dims summary.
Definition at line 44 of file SimaaiGstErrors.h.
missing_field
|
Missing required field name, if a config-validation failure.
- Initialiser
-
= nullptr
Definition at line 51 of file SimaaiGstErrors.h.
model_path
|
Path to the model artifact, if any.
Definition at line 38 of file SimaaiGstErrors.h.
node
|
Logical node identifier within the pipeline.
Definition at line 36 of file SimaaiGstErrors.h.
output_caps
|
Output pad caps as a string.
Definition at line 43 of file SimaaiGstErrors.h.
output_dims
|
Output tensor dims summary.
Definition at line 45 of file SimaaiGstErrors.h.
plugin
|
Owning plugin name, e.g., "simaai-process-mla".
Definition at line 35 of file SimaaiGstErrors.h.
source_used
|
Origin of the config decision (e.g., "framework").
Definition at line 50 of file SimaaiGstErrors.h.
stage_key
|
Stage key that failed.
Definition at line 49 of file SimaaiGstErrors.h.
stream_id
|
GStreamer stream id.
Definition at line 41 of file SimaaiGstErrors.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.