Lumiera  0.pre.03
»edit your freedom«
StreamType::ImplConstraint Class Referenceabstract

#include "steam/streamtype.hpp"

Description

Special case of an implementation type being only partially specified Besides requiring some aspect of the implementation type, there is the promise to fill in defaults to build a complete implementation type if necessary.

Definition at line 137 of file streamtype.hpp.

Public Member Functions

virtual bool canConvert (ImplFacade const &other) const =0
 
virtual bool canConvert (StreamType const &other) const =0
 
virtual DataBuffercreateFrame () const =0
 create a default impl type in accordance to this constraint and use it to create a new framebuffer
 
virtual DataBuffercreateFrame (ImplConstraint const &furtherConstraints) const =0
 Similarly create a impl type which complies to this constraint as well as to the additional constraints (e.g. More...
 
virtual void makeCompliant (ImplFacade &other) const =0
 modify the other impl type such as to comply with this constraint
 
virtual bool subsumes (ImplFacade const &other) const =0
 
- Public Member Functions inherited from StreamType::ImplFacade
virtual MediaKind getKind () const =0
 
virtual bool operator== (ImplFacade const &other) const =0
 
virtual bool operator== (StreamType const &other) const =0
 

Additional Inherited Members

- Public Attributes inherited from StreamType::ImplFacade
Symbol libraryID
 
- Protected Member Functions inherited from StreamType::ImplFacade
 ImplFacade (Symbol libID)
 

Member Function Documentation

◆ createFrame()

virtual DataBuffer* createFrame ( ImplConstraint const &  furtherConstraints) const
pure virtual

Similarly create a impl type which complies to this constraint as well as to the additional constraints (e.g.

frame size). Create a new frame buffer of the resulting type

+ Inheritance diagram for StreamType::ImplConstraint:
+ Collaboration diagram for StreamType::ImplConstraint:

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