svvitch
digital signage player
MixContent Class Reference

複合再生コンテントクラス. More...

#include <MixContent.h>

Inheritance diagram for MixContent:
Collaboration diagram for MixContent:

List of all members.

Public Member Functions

 MixContent (Renderer &renderer, int splitType)
 ‾MixContent ()
void initialize ()
 初期化
bool open (const MediaItemPtr media, const int offset=0)
 ファイルをオープンします
void play ()
 再生
void stop ()
 停止
bool useFastStop ()
 再生終了時にすぐさま停止するかどうか
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
vector< ContentPtr_contents
bool _playing
PerformanceTimer _playTimer

Detailed Description

複合再生コンテントクラス.

複数のコンテントを領域分割して同時に描画します

Definition at line 25 of file MixContent.h.


Constructor & Destructor Documentation

MixContent::MixContent ( Renderer renderer,
int  splitType 
)

Definition at line 20 of file MixContent.cpp.

Here is the call graph for this function:


Member Function Documentation

void MixContent::close ( ) [virtual]

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

Reimplemented from Content.

Definition at line 154 of file MixContent.cpp.

Here is the caller graph for this function:

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

描画

Reimplemented from Content.

Definition at line 179 of file MixContent.cpp.

const bool MixContent::finished ( ) [virtual]

終了したかどうか

Reimplemented from Content.

Definition at line 142 of file MixContent.cpp.

void MixContent::initialize ( ) [virtual]

初期化

Reimplemented from Content.

Definition at line 31 of file MixContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Reimplemented from Content.

Definition at line 36 of file MixContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void MixContent::play ( ) [virtual]

再生

Reimplemented from Content.

Definition at line 114 of file MixContent.cpp.

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

再生中かどうか

Reimplemented from Content.

Definition at line 134 of file MixContent.cpp.

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

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

Reimplemented from Content.

Definition at line 159 of file MixContent.cpp.

Here is the call graph for this function:

void MixContent::stop ( ) [virtual]

停止

Reimplemented from Content.

Definition at line 121 of file MixContent.cpp.

bool MixContent::useFastStop ( ) [virtual]

再生終了時にすぐさま停止するかどうか

Reimplemented from Content.

Definition at line 125 of file MixContent.cpp.

MixContent::‾MixContent ( )

Definition at line 26 of file MixContent.cpp.

Here is the call graph for this function:


Member Data Documentation

vector<ContentPtr> MixContent::_contents [private]

Definition at line 30 of file MixContent.h.

Poco::FastMutex MixContent::_lock [private]

Definition at line 28 of file MixContent.h.

bool MixContent::_playing [private]

Reimplemented from Content.

Definition at line 32 of file MixContent.h.

Definition at line 33 of file MixContent.h.


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