|
svvitch
digital signage player
|
COM(ActiveX)のコンテントクラス. More...
#include <ComContent.h>


Public Member Functions | |
| void | invalidateRect (int x, int y, int w, int h) |
| virtual 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度だけ処理される | |
| virtual void | run ()=0 |
| void | draw (const DWORD &frame) |
| 描画 | |
Protected Member Functions | |
| ComContent (Renderer &renderer, int splitType, float x=0, float y=0, float w=0, float h=0) | |
| virtual | ‾ComContent () |
| virtual void | createComComponents ()=0 |
| virtual void | releaseComComponents ()=0 |
| bool | hasInvalidateRect () |
| Rect | popInvalidateRect () |
Protected Attributes | |
| Poco::FastMutex | _lock |
| queue< Rect > | _invalidateRects |
| IOleObject * | _ole |
| ControlSite * | _controlSite |
| Poco::Thread | _thread |
| Poco::Runnable * | _worker |
| LPDIRECT3DTEXTURE9 | _texture |
| LPDIRECT3DSURFACE9 | _surface |
| int | _phase |
| DWORD | _background |
| PerformanceTimer | _playTimer |
| DWORD | _readTime |
| int | _readCount |
| float | _avgTime |
| ComContent::ComContent | ( | Renderer & | renderer, |
| int | splitType, | ||
| float | x = 0, |
||
| float | y = 0, |
||
| float | w = 0, |
||
| float | h = 0 |
||
| ) | [protected] |
Definition at line 4 of file ComContent.cpp.
| void ComContent::close | ( | ) | [virtual] |
ファイルをクローズします
Reimplemented from Content.
Definition at line 83 of file ComContent.cpp.


| virtual void ComContent::createComComponents | ( | ) | [protected, pure virtual] |
| void ComContent::draw | ( | const DWORD & | frame | ) | [virtual] |
描画
Reimplemented from Content.
Definition at line 124 of file ComContent.cpp.

| const bool ComContent::finished | ( | ) | [virtual] |
終了したかどうか
Reimplemented from Content.
Definition at line 68 of file ComContent.cpp.

| bool ComContent::hasInvalidateRect | ( | ) | [protected] |
| void ComContent::invalidateRect | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
| bool ComContent::open | ( | const MediaItemPtr | media, |
| const int | offset = 0 |
||
| ) | [virtual] |
ファイルをオープンします
Reimplemented from Content.
Reimplemented in FlashContent, and IEContent.
Definition at line 30 of file ComContent.cpp.

| void ComContent::play | ( | ) | [virtual] |
再生
Reimplemented from Content.
Definition at line 47 of file ComContent.cpp.

| const bool ComContent::playing | ( | ) | const [virtual] |
| Rect ComContent::popInvalidateRect | ( | ) | [protected] |
| void ComContent::process | ( | const DWORD & | frame | ) | [virtual] |
1フレームに1度だけ処理される
Reimplemented from Content.
Definition at line 91 of file ComContent.cpp.

| virtual void ComContent::releaseComComponents | ( | ) | [protected, pure virtual] |
| virtual void ComContent::run | ( | ) | [pure virtual] |
Implemented in FlashContent, and IEContent.
| void ComContent::stop | ( | ) | [virtual] |
停止
Reimplemented from Content.
Definition at line 52 of file ComContent.cpp.


| bool ComContent::useFastStop | ( | ) | [virtual] |
| ComContent::‾ComContent | ( | ) | [protected, virtual] |
Definition at line 10 of file ComContent.cpp.
float ComContent::_avgTime [protected] |
Definition at line 71 of file ComContent.h.
DWORD ComContent::_background [protected] |
Definition at line 67 of file ComContent.h.
ControlSite* ComContent::_controlSite [protected] |
Definition at line 59 of file ComContent.h.
queue<Rect> ComContent::_invalidateRects [protected] |
Definition at line 56 of file ComContent.h.
Poco::FastMutex ComContent::_lock [protected] |
Definition at line 55 of file ComContent.h.
IOleObject* ComContent::_ole [protected] |
Definition at line 58 of file ComContent.h.
int ComContent::_phase [protected] |
Definition at line 66 of file ComContent.h.
PerformanceTimer ComContent::_playTimer [protected] |
Definition at line 68 of file ComContent.h.
int ComContent::_readCount [protected] |
Definition at line 70 of file ComContent.h.
DWORD ComContent::_readTime [protected] |
Definition at line 69 of file ComContent.h.
LPDIRECT3DSURFACE9 ComContent::_surface [protected] |
Definition at line 64 of file ComContent.h.
LPDIRECT3DTEXTURE9 ComContent::_texture [protected] |
Definition at line 63 of file ComContent.h.
Poco::Thread ComContent::_thread [protected] |
Definition at line 60 of file ComContent.h.
Poco::Runnable* ComContent::_worker [protected] |
Definition at line 61 of file ComContent.h.