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

Match if the input is of the correct stream type. More...

#include <InputConstraint.h>

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

Public Member Functions

 InputConstraintStreamType (FlowGraphNode *sink, Stream::StreamType stype)
 
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

Stream::StreamType m_type
 
- 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 of the correct stream type.

Member Function Documentation

◆ Check()

virtual bool InputConstraintStreamType::Check ( StreamDescriptor  source)
inlineoverridevirtual

Checks if the given input satisfies the constraint.

Implements InputConstraint.

Reimplemented in InputConstraintSparseStreamType.

◆ ToString()

virtual std::string InputConstraintStreamType::ToString ( )
inlineoverridevirtual

Convert this constraint to a string.

Implements InputConstraint.

Reimplemented in InputConstraintSparseStreamType.


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