ngscopeclient v0.2
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
InputConstraintStreamTypes Class Reference

Match if the input is one of a list of stream types. More...

#include <InputConstraint.h>

Inheritance diagram for InputConstraintStreamTypes:
Inheritance graph
[legend]
Collaboration diagram for InputConstraintStreamTypes:
Collaboration graph
[legend]

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::StreamTypem_types
 
- Protected Attributes inherited from InputConstraint
FlowGraphNodem_sink
 

Additional Inherited Members

- Protected Member Functions inherited from InputConstraint
std::string StreamTypeToString (Stream::StreamType type)
 

Detailed Description

Match if the input is one of a list of stream types.

Member Function Documentation

◆ Check()

virtual bool InputConstraintStreamTypes::Check ( StreamDescriptor  source)
inlineoverridevirtual

Checks if the given input satisfies the constraint.

Implements InputConstraint.

◆ ToString()

string InputConstraintStreamTypes::ToString ( )
overridevirtual

Convert this constraint to a string.

Implements InputConstraint.


The documentation for this class was generated from the following files: