VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtVreVideoStreamCreator Class Reference

Detailed Description

DtVreVideoStreamCreator is responsible for creating instances of DtVreVideoStream. It follows the factory pattern, providing a standard way to instantiate video streams with the correct configuration.

#include <vreVideoStream.h>

Inheritance diagram for makVre::DtVreVideoStreamCreator:
[legend]

Public Member Functions

 DtVreVideoStreamCreator ()
 
virtual ~DtVreVideoStreamCreator () override
 

Protected Member Functions

virtual makVrv::DtVideoStream * create (makVrv::DtDe &de, makVrv::DtVideoStreamManager &mgr, const makVrv::DtUnicode &className, const makVrv::DtUnicode &instanceName) const override
 

Friends

class DtVreVideoStreamManager
 

Constructor & Destructor Documentation

◆ DtVreVideoStreamCreator()

makVre::DtVreVideoStreamCreator::DtVreVideoStreamCreator ( )

Constructor.

Creates a new video stream creator.

◆ ~DtVreVideoStreamCreator()

virtual makVre::DtVreVideoStreamCreator::~DtVreVideoStreamCreator ( )
overridevirtual

Destructor.

Cleans up resources used by the video stream creator.

Member Function Documentation

◆ create()

virtual makVrv::DtVideoStream * makVre::DtVreVideoStreamCreator::create ( makVrv::DtDe & de,
makVrv::DtVideoStreamManager & mgr,
const makVrv::DtUnicode & className,
const makVrv::DtUnicode & instanceName ) const
overrideprotectedvirtual

Creates a new video stream instance.

Parameters
deReference to the display engine
mgrReference to the video stream manager
classNameClass name of the video stream
instanceNameUnique instance name for this video stream
Returns
Pointer to the newly created video stream

Factory method that creates a new DtVreVideoStream instance with the specified parameters. This method is protected and can only be called by the friend DtVreVideoStreamManager class.

References de().

Friends And Related Symbol Documentation

◆ DtVreVideoStreamManager

friend class DtVreVideoStreamManager
friend

Friend declaration for manager class.

Only DtVreVideoStreamManager can call the create method.

References DtVreVideoStreamManager.

Referenced by DtVreVideoStreamManager.


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