engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMediaClock类 参考abstract

Interface for media framework clocks. 更多...

#include <IMediaClock.h>

Public 成员函数

virtual void AddSink (const TSharedRef< IMediaClockSink, ESPMode::ThreadSafe > &Sink)=0
 Add a media clock sink. 更多...
 
virtual FTimespan GetTimecode () const =0
 Get the clock's current time code. 更多...
 
virtual bool IsTimecodeLocked () const =0
 Whether the clock's time code is locked to an external time source. 更多...
 
virtual void RemoveSink (const TSharedRef< IMediaClockSink, ESPMode::ThreadSafe > &Sink)=0
 Remove a media clock sink. 更多...
 
virtual ~IMediaClock ()
 Virtual destructor.
 

详细描述

Interface for media framework clocks.

成员函数说明

◆ AddSink()

virtual void IMediaClock::AddSink ( const TSharedRef< IMediaClockSink, ESPMode::ThreadSafe > &  Sink)
pure virtual

Add a media clock sink.

参数
SinkThe sink object to add.
参见
RemoveSink

◆ GetTimecode()

virtual FTimespan IMediaClock::GetTimecode ( ) const
pure virtual

Get the clock's current time code.

返回
Time code.
参见
IsTimecodeLocked

◆ IsTimecodeLocked()

virtual bool IMediaClock::IsTimecodeLocked ( ) const
pure virtual

Whether the clock's time code is locked to an external time source.

返回
true if locked, false otherwise.
参见
GetTimecode

◆ RemoveSink()

virtual void IMediaClock::RemoveSink ( const TSharedRef< IMediaClockSink, ESPMode::ThreadSafe > &  Sink)
pure virtual

Remove a media clock sink.

参数
SinkThe sink object to remove.
参见
AddSink

该类的文档由以下文件生成: