svvitch
digital signage player
MFContent Class Reference

MediaFoundation動画再生コンテントクラス. More...

#include <MFContent.h>

Inheritance diagram for MFContent:
Collaboration diagram for MFContent:

List of all members.

Public Member Functions

 MFContent (Renderer &renderer, int splitType)
virtual ‾MFContent ()
void initialize ()
 初期化
bool open (const MediaItemPtr media, const int offset=0)
 ファイルをオープンします
void play ()
 再生
void stop ()
 停止
const bool playing () const
 再生中かどうか
const bool finished ()
 終了したかどうか
void close ()
 ファイルをクローズします
void process (const DWORD &frame)
 1フレームに1度だけ処理される
void draw (const DWORD &frame)
 描画

Private Attributes

Poco::FastMutex _lock
bool _finished
IMFMediaSession * _session

Detailed Description

MediaFoundation動画再生コンテントクラス.

Definition at line 16 of file MFContent.h.


Constructor & Destructor Documentation

MFContent::MFContent ( Renderer renderer,
int  splitType 
)

Definition at line 5 of file MFContent.cpp.


Member Function Documentation

void MFContent::close ( ) [virtual]

ファイルをクローズします

Reimplemented from Content.

Definition at line 52 of file MFContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void MFContent::draw ( const DWORD &  frame) [virtual]

描画

Reimplemented from Content.

Definition at line 59 of file MFContent.cpp.

const bool MFContent::finished ( ) [virtual]

終了したかどうか

Reimplemented from Content.

Definition at line 47 of file MFContent.cpp.

void MFContent::initialize ( ) [virtual]

初期化

Reimplemented from Content.

Definition at line 12 of file MFContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool MFContent::open ( const MediaItemPtr  media,
const int  offset = 0 
) [virtual]

ファイルをオープンします

Reimplemented from Content.

Definition at line 19 of file MFContent.cpp.

Here is the call graph for this function:

void MFContent::play ( ) [virtual]

再生

Reimplemented from Content.

Definition at line 30 of file MFContent.cpp.

const bool MFContent::playing ( ) const [virtual]

再生中かどうか

Reimplemented from Content.

Definition at line 43 of file MFContent.cpp.

void MFContent::process ( const DWORD &  frame) [virtual]

1フレームに1度だけ処理される

Reimplemented from Content.

Definition at line 56 of file MFContent.cpp.

void MFContent::stop ( ) [virtual]

停止

Reimplemented from Content.

Definition at line 36 of file MFContent.cpp.

Here is the caller graph for this function:

MFContent::‾MFContent ( ) [virtual]

Definition at line 8 of file MFContent.cpp.

Here is the call graph for this function:


Member Data Documentation

bool MFContent::_finished [private]

Definition at line 19 of file MFContent.h.

Poco::FastMutex MFContent::_lock [private]

Definition at line 18 of file MFContent.h.

IMFMediaSession* MFContent::_session [private]

Definition at line 20 of file MFContent.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines