svvitch
digital signage player
|
コンテナクラス. More...
#include <Container.h>
Public Member Functions | |
Container (Renderer &renderer) | |
virtual | ‾Container () |
void | initialize () |
初期化 | |
void | add (ContentPtr c) |
ContentPtr | operator[] (int i) |
ContentPtr | get (int i) |
int | size () |
const string | opened () |
void | play () |
再生 | |
void | pause () |
ポーズ | |
void | stop () |
停止 | |
bool | useFastStop () |
再生終了時にすぐさま停止するかどうか | |
void | rewind () |
頭だしする | |
const bool | finished () |
終了したかどうか | |
void | notifyKey (const int keycode, const bool shift, const bool ctrl) |
キー入力の通知 | |
void | process (const DWORD &frame) |
1フレームに1度だけ処理される | |
void | draw (const DWORD &frame) |
描画 | |
void | preview (const DWORD &frame) |
プレビュー描画 | |
const int | current () |
const int | duration () |
void | setProperty (const string &key, const string &value) |
Private Attributes | |
Poco::FastMutex | _lock |
vector< ContentPtr > | _list |
bool | _initialized |
Container::Container | ( | Renderer & | renderer | ) |
Definition at line 4 of file Container.cpp.
void Container::add | ( | ContentPtr | c | ) |
Definition at line 23 of file Container.cpp.
const int Container::current | ( | ) |
Definition at line 127 of file Container.cpp.
void Container::draw | ( | const DWORD & | frame | ) | [virtual] |
描画
Reimplemented from Content.
Definition at line 113 of file Container.cpp.
const int Container::duration | ( | ) |
Definition at line 137 of file Container.cpp.
const bool Container::finished | ( | ) | [virtual] |
ContentPtr Container::get | ( | int | i | ) |
Definition at line 30 of file Container.cpp.
void Container::initialize | ( | ) | [virtual] |
初期化
Reimplemented from Content.
Definition at line 11 of file Container.cpp.
void Container::notifyKey | ( | const int | keycode, |
const bool | shift, | ||
const bool | ctrl | ||
) |
const string Container::opened | ( | ) |
Definition at line 52 of file Container.cpp.
ContentPtr Container::operator[] | ( | int | i | ) |
Definition at line 46 of file Container.cpp.
void Container::pause | ( | ) | [virtual] |
void Container::play | ( | ) | [virtual] |
再生
Reimplemented from Content.
Definition at line 64 of file Container.cpp.
void Container::preview | ( | const DWORD & | frame | ) | [virtual] |
void Container::process | ( | const DWORD & | frame | ) | [virtual] |
void Container::rewind | ( | ) | [virtual] |
void Container::setProperty | ( | const string & | key, |
const string & | value | ||
) |
Definition at line 147 of file Container.cpp.
int Container::size | ( | ) |
void Container::stop | ( | ) | [virtual] |
停止
Reimplemented from Content.
Definition at line 74 of file Container.cpp.
bool Container::useFastStop | ( | ) | [virtual] |
Container::‾Container | ( | ) | [virtual] |
bool Container::_initialized [private] |
Definition at line 21 of file Container.h.
vector<ContentPtr> Container::_list [private] |
Definition at line 19 of file Container.h.
Poco::FastMutex Container::_lock [private] |
Definition at line 18 of file Container.h.