|
ngscopeclient v0.2
|
Match if the input is one of a list of stream types. More...
#include <InputConstraint.h>


Public Member Functions | |
| InputConstraintStreamTypes (FlowGraphNode *sink, std::initializer_list< Stream::StreamType > stypes) | |
| virtual bool | Check (StreamDescriptor source) override |
| Checks if the given input satisfies the constraint. | |
| virtual std::string | ToString () override |
| Convert this constraint to a string. | |
Public Member Functions inherited from InputConstraint | |
| InputConstraint (FlowGraphNode *sink) | |
Protected Attributes | |
| std::vector< Stream::StreamType > | m_types |
Protected Attributes inherited from InputConstraint | |
| FlowGraphNode * | m_sink |
Additional Inherited Members | |
Protected Member Functions inherited from InputConstraint | |
| std::string | StreamTypeToString (Stream::StreamType type) |
Match if the input is one of a list of stream types.
|
inlineoverridevirtual |
Checks if the given input satisfies the constraint.
Implements InputConstraint.
|
overridevirtual |
Convert this constraint to a string.
Implements InputConstraint.