Utility struct describing one configured output for the gstreamer module.
More...
#include <gstreamer_options.h>
|
| std::string | format |
| | Output format token used to select a plugin.
|
| |
| std::string | rootname |
| | Base filename (without extension), possibly specialized by thread id.
|
| |
| std::string | type |
| | Semantic output type token (e.g. "event" or "stream").
|
| |
| int | tid = -1 |
| | Thread id used to specialize rootname; negative means "not specialized".
|
| |
A GStreamerDefinition is typically produced from a user option node and then specialized per-thread by appending a thread suffix to the base filename.
Members:
- format : output format selector (e.g.
"root", "ascii", "jlabsro", "csv").
- rootname : user-provided base filename (without extension). A per-thread suffix may be appended.
- type : semantic output type (e.g.
"event" or "stream"). Plugins may use this to select which hooks are implemented.
- tid : thread id used to specialize the filename; negative means "not thread specialized".
Definition at line 35 of file gstreamer_options.h.
◆ GStreamerDefinition() [1/3]
| GStreamerDefinition::GStreamerDefinition |
( |
| ) |
|
|
default |
◆ GStreamerDefinition() [2/3]
| GStreamerDefinition::GStreamerDefinition |
( |
std::string | f, |
|
|
std::string | n, |
|
|
std::string | t ) |
|
inline |
- Parameters
-
| f | Output format token. |
| n | Base filename (without extension). |
| t | Output type token. |
Definition at line 46 of file gstreamer_options.h.
◆ GStreamerDefinition() [3/3]
If t is non-negative, the constructor appends "_t<tid>" to rootname. If t is negative, the original rootname is preserved and tid remains negative.
- Parameters
-
| other | Source definition (usually shared across all threads). |
| t | Thread id. Use a negative value to disable filename specialization. |
Definition at line 59 of file gstreamer_options.h.
◆ gstreamerPluginName()
| std::string GStreamerDefinition::gstreamerPluginName |
( |
| ) |
const |
|
inline |
The convention is: "gstreamer_<format>_plugin".
- Returns
- The plugin name derived from format.
Definition at line 85 of file gstreamer_options.h.
◆ format
| std::string GStreamerDefinition::format |
◆ rootname
| std::string GStreamerDefinition::rootname |
◆ tid
| int GStreamerDefinition::tid = -1 |
◆ type
| std::string GStreamerDefinition::type |
The documentation for this struct was generated from the following file: