svvitch
digital signage player
|
静止画コンテントクラス. More...
#include <ImageContent.h>
Public Member Functions | |
ImageContent (Renderer &renderer, int splitType, float x=0, float y=0, float w=0, float h=0) | |
virtual | ‾ImageContent () |
void | initialize () |
初期化 | |
bool | open (const MediaItemPtr media, const int offset=0) |
ファイルをオープンします | |
void | play () |
再生 | |
void | stop () |
停止 | |
const bool | playing () const |
再生中かどうか | |
const bool | finished () |
終了したかどうか | |
void | close () |
ファイルをクローズします | |
virtual void | process (const DWORD &frame) |
1フレームに1度だけ処理される | |
virtual void | draw (const DWORD &frame) |
描画 | |
Private Attributes | |
Poco::FastMutex | _lock |
int | _iw |
int | _ih |
LPDIRECT3DTEXTURE9 | _target |
int | _tw |
int | _th |
float | _dy |
bool | _finished |
bool | _playing |
PerformanceTimer | _playTimer |
ImageContent::ImageContent | ( | Renderer & | renderer, |
int | splitType, | ||
float | x = 0 , |
||
float | y = 0 , |
||
float | w = 0 , |
||
float | h = 0 |
||
) |
void ImageContent::close | ( | ) | [virtual] |
ファイルをクローズします
Reimplemented from Content.
Definition at line 158 of file ImageContent.cpp.
void ImageContent::draw | ( | const DWORD & | frame | ) | [virtual] |
描画
Reimplemented from Content.
Definition at line 186 of file ImageContent.cpp.
const bool ImageContent::finished | ( | ) | [virtual] |
void ImageContent::initialize | ( | ) | [virtual] |
初期化
Reimplemented from Content.
Definition at line 16 of file ImageContent.cpp.
bool ImageContent::open | ( | const MediaItemPtr | media, |
const int | offset = 0 |
||
) | [virtual] |
ファイルをオープンします
Reimplemented from Content.
Definition at line 21 of file ImageContent.cpp.
void ImageContent::play | ( | ) | [virtual] |
再生
Reimplemented from Content.
Definition at line 140 of file ImageContent.cpp.
const bool ImageContent::playing | ( | ) | const [virtual] |
void ImageContent::process | ( | const DWORD & | frame | ) | [virtual] |
void ImageContent::stop | ( | ) | [virtual] |
停止
Reimplemented from Content.
Definition at line 145 of file ImageContent.cpp.
ImageContent::‾ImageContent | ( | ) | [virtual] |
float ImageContent::_dy [private] |
Definition at line 26 of file ImageContent.h.
bool ImageContent::_finished [private] |
Definition at line 28 of file ImageContent.h.
int ImageContent::_ih [private] |
Definition at line 22 of file ImageContent.h.
int ImageContent::_iw [private] |
Definition at line 21 of file ImageContent.h.
Poco::FastMutex ImageContent::_lock [private] |
Definition at line 19 of file ImageContent.h.
bool ImageContent::_playing [private] |
Reimplemented from Content.
Definition at line 29 of file ImageContent.h.
PerformanceTimer ImageContent::_playTimer [private] |
Definition at line 30 of file ImageContent.h.
LPDIRECT3DTEXTURE9 ImageContent::_target [private] |
Definition at line 23 of file ImageContent.h.
int ImageContent::_th [private] |
Definition at line 25 of file ImageContent.h.
int ImageContent::_tw [private] |
Definition at line 24 of file ImageContent.h.