validators Namespace
Definition
Functions Index
| std::shared_ptr< Contract > | NonEmptyPipeline () |
|
Ensures NodeGroup is not empty. More... | |
| std::shared_ptr< Contract > | NoNullNodes () |
|
Ensures there are no null node pointers. More... | |
| std::shared_ptr< Contract > | SinkLastForRun (std::string sink_kind="Output") |
|
Ensures Output exists and is last when ctx.mode == Run. More... | |
| std::shared_ptr< Contract > | RtspRequiresSource (std::string source_kind="StillImageInput") |
|
Ensures an RTSP source node exists when ctx.mode == Rtsp. More... | |
| ContractRegistry | DefaultRegistry () |
|
Reasonable default set of builder-level contracts. More... | |
Functions
DefaultRegistry()
| inline |
Reasonable default set of builder-level contracts.
Keep this purely structural (no GStreamer).
Definition at line 180 of file Validators.h.
NonEmptyPipeline()
| inline |
Ensures NodeGroup is not empty.
Definition at line 29 of file Validators.h.
NoNullNodes()
| inline |
Ensures there are no null node pointers.
Definition at line 53 of file Validators.h.
RtspRequiresSource()
| inline |
Ensures an RTSP source node exists when ctx.mode == Rtsp.
Builder-level: we only check presence of StillImageInput (or another configured kind).
Definition at line 133 of file Validators.h.
SinkLastForRun()
| inline |
Ensures Output exists and is last when ctx.mode == Run.
This is the builder-level version of the "sink last" contract described in the architecture.
Definition at line 82 of file Validators.h.
The documentation for this namespace was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.