MediaBaseInterface Class Reference

#include <mediasession_base.h>

Inheritance diagram for MediaBaseInterface:

Detailed Description

MediaSession Base Interface. This interface is the common base for all media converter classes.

Public Member Functions

MAXON_METHOD Result< void > ConnectToSession (const MediaSessionRef &session)
 
MAXON_METHOD MediaSessionRef GetSession () const
 

Private Member Functions

 MAXON_INTERFACE (MediaBaseInterface, MAXON_REFERENCE_NORMAL, "net.maxon.image.interface.mediabase", MAXON_IMPLEMENTATION_MODULE("net.maxon.image"))
 
- Private Member Functions inherited from DataDescriptionObjectInterface
MAXON_METHOD Result< DataDescription > GetObjectDescription (const Id &category, const LanguageRef &language, const DataDictionaryObjectRef &objectData) const
 

Additional Inherited Members

- Static Private Member Functions inherited from DataDescriptionObjectInterface
static MAXON_METHOD Result< StringGetObjectName (const Id &classId, const LanguageRef &language)
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( MediaBaseInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.image.interface.mediabase"  ,
MAXON_IMPLEMENTATION_MODULE("net.maxon.image")   
)
private

◆ ConnectToSession()

MAXON_METHOD Result<void> ConnectToSession ( const MediaSessionRef &  session)

PRIVATE

Parameters
[in]sessionMediaSession to be used with this connection.
Returns
OK on success.

◆ GetSession()

MAXON_METHOD MediaSessionRef GetSession ( ) const

Returns the connected essionRef of this connection.

Returns
If successful a valid MediaSessionRef will be returned.