![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Stream/SubstreamWrapper.h>
Generic wrapper class for a Stream to become a substream. More...
Generic wrapper class for a Stream to become a substream.
The SubstreamWrapper owns any custom Stream to serve as a wrapper to add substream functionality to its stream. It takes care of syncing the stream state with the streamGroup proxy stream. The class can be used to bundle multiple individual streams into a StreamGroup.
Public Member Functions | |
SubstreamWrapper (std::unique_ptr< Stream > stream, StreamGroupBase *streamGroup) | |
Constructor that initializes a SubstreamWrapper with a given Stream and the StreamGroup it should be assigned to. | |
Stream * | stream () override |
Returns the owned stream that is wrapped into a substream by this wrapper class. | |
![]() | |
SubstreamBase (StreamGroupBase *streamGroup) | |
StreamGroupBase * | streamGroup () const |
Returns the streamGroup stream group. | |
Additional Inherited Members | |
![]() | |
StreamGroupBase * | m_streamGroup = nullptr |
|
overridevirtual |
Returns the owned stream that is wrapped into a substream by this wrapper class.
Implements SubstreamBase.