Contract Class
A single validation rule. More...
Declaration
class simaai::neat::Contract { ... }
Included Headers
#include <Contract.h>
Public Destructor Index
| ~Contract ()=default | |
Public Member Functions Index
| std::string | id () const =0 |
|
Stable identifier (used for filtering, report grouping). More... | |
| std::string | description () const |
|
Human-readable description (optional). More... | |
| void | validate (const NodeGroup &nodes, const ValidationContext &ctx, ValidationReport &report) const =0 |
|
Validate the node group and append issues to report. More... | |
Description
A single validation rule.
Contracts must:
- never include or call GStreamer APIs
- only use Node/NodeGroup/Graph/policy and STL
- report issues via ValidationReport (do not throw for normal violations)
Definition at line 54 of file Contract.h.
Public Destructor
~Contract()
| virtual default |
Definition at line 56 of file Contract.h.
Public Member Functions
description()
| inline virtual |
Human-readable description (optional).
Definition at line 62 of file Contract.h.
id()
|
Stable identifier (used for filtering, report grouping).
Definition at line 59 of file Contract.h.
validate()
|
Validate the node group and append issues to report.
Definition at line 67 of file Contract.h.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.