svvitch
digital signage player
ImageContent Class Reference

静止画コンテントクラス. More...

#include <ImageContent.h>

Inheritance diagram for ImageContent:
Collaboration diagram for ImageContent:

List of all members.

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

Detailed Description

静止画コンテントクラス.

静止画ファイルを描画するコンテントです

Definition at line 16 of file ImageContent.h.


Constructor & Destructor Documentation

ImageContent::ImageContent ( Renderer renderer,
int  splitType,
float  x = 0,
float  y = 0,
float  w = 0,
float  h = 0 
)

Definition at line 4 of file ImageContent.cpp.

Here is the call graph for this function:


Member Function Documentation

void ImageContent::close ( ) [virtual]

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

Reimplemented from Content.

Definition at line 158 of file ImageContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

描画

Reimplemented from Content.

Definition at line 186 of file ImageContent.cpp.

Here is the call graph for this function:

const bool ImageContent::finished ( ) [virtual]

終了したかどうか

Reimplemented from Content.

Definition at line 153 of file ImageContent.cpp.

void ImageContent::initialize ( ) [virtual]

初期化

Reimplemented from Content.

Definition at line 16 of file ImageContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Reimplemented from Content.

Definition at line 21 of file ImageContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ImageContent::play ( ) [virtual]

再生

Reimplemented from Content.

Definition at line 140 of file ImageContent.cpp.

Here is the call graph for this function:

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

再生中かどうか

Reimplemented from Content.

Definition at line 149 of file ImageContent.cpp.

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

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

Reimplemented from Content.

Definition at line 170 of file ImageContent.cpp.

void ImageContent::stop ( ) [virtual]

停止

Reimplemented from Content.

Definition at line 145 of file ImageContent.cpp.

Here is the caller graph for this function:

ImageContent::‾ImageContent ( ) [virtual]

Definition at line 10 of file ImageContent.cpp.

Here is the call graph for this function:


Member Data Documentation

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.

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.


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