svvitch
digital signage player
ComContent Class Reference

COM(ActiveX)のコンテントクラス. More...

#include <ComContent.h>

Inheritance diagram for ComContent:
Collaboration diagram for ComContent:

List of all members.

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

Detailed Description

COM(ActiveX)のコンテントクラス.

キャプチャーシーンからキャプチャー映像を取得し描画するクラス

Definition at line 52 of file ComContent.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void ComContent::close ( ) [virtual]

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

Reimplemented from Content.

Definition at line 83 of file ComContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void ComContent::createComComponents ( ) [protected, pure virtual]

Implemented in FlashContent, and IEContent.

Here is the caller graph for this function:

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

描画

Reimplemented from Content.

Definition at line 124 of file ComContent.cpp.

Here is the call graph for this function:

const bool ComContent::finished ( ) [virtual]

終了したかどうか

Reimplemented from Content.

Definition at line 68 of file ComContent.cpp.

Here is the call graph for this function:

bool ComContent::hasInvalidateRect ( ) [protected]

Definition at line 18 of file ComContent.cpp.

Here is the caller graph for this function:

void ComContent::invalidateRect ( int  x,
int  y,
int  w,
int  h 
)

Definition at line 13 of file ComContent.cpp.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

void ComContent::play ( ) [virtual]

再生

Reimplemented from Content.

Definition at line 47 of file ComContent.cpp.

Here is the call graph for this function:

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

再生中かどうか

Reimplemented from Content.

Definition at line 64 of file ComContent.cpp.

Definition at line 23 of file ComContent.cpp.

Here is the caller graph for this function:

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

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

Reimplemented from Content.

Definition at line 91 of file ComContent.cpp.

Here is the call graph for this function:

virtual void ComContent::releaseComComponents ( ) [protected, pure virtual]

Implemented in FlashContent, and IEContent.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

bool ComContent::useFastStop ( ) [virtual]

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

Reimplemented from Content.

Definition at line 60 of file ComContent.cpp.

ComContent::‾ComContent ( ) [protected, virtual]

Definition at line 10 of file ComContent.cpp.


Member Data Documentation

float ComContent::_avgTime [protected]

Definition at line 71 of file ComContent.h.

DWORD ComContent::_background [protected]

Definition at line 67 of file ComContent.h.

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.

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.


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