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

A set of constraints, all of which must be satisfied for the group to match. More...

#include <InputConstraint.h>

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

Public Member Functions

 InputConstraintAND (FlowGraphNode *sink, std::initializer_list< std::shared_ptr< InputConstraint > > constraints)
 
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< std::shared_ptr< InputConstraint > > m_constraints
 
- Protected Attributes inherited from InputConstraint
FlowGraphNodem_sink
 

Additional Inherited Members

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

Detailed Description

A set of constraints, all of which must be satisfied for the group to match.

Member Function Documentation

◆ Check()

virtual bool InputConstraintAND::Check ( StreamDescriptor  source)
inlineoverridevirtual

Checks if the given input satisfies the constraint.

Implements InputConstraint.

◆ ToString()

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

Convert this constraint to a string.

Implements InputConstraint.


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