svvitch
digital signage player
|
ワークススペースクラス. More...
#include <Workspace.h>
Public Member Functions | |
Workspace (Path file) | |
‾Workspace () | |
const Path & | file () const |
bool | parse () |
bool | checkUpdate () |
const int | getMediaCount () |
const MediaItemPtr | getMedia (int i) |
const MediaItemPtr | getMedia (string id) |
const int | getPlaylistCount () |
const PlayListPtr | getPlaylist (int i) |
const PlayListPtr | getPlaylist (string id) |
const vector< string > | getFonts () |
const int | getScheduleCount () |
const SchedulePtr | getSchedule (int i) |
const vector< string > | existsFiles () |
const string | signature () const |
Private Member Functions | |
void | release () |
Private Attributes | |
Poco::Logger & | _log |
Poco::FastMutex | _lock |
Path | _file |
string | _signature |
vector< MediaItemPtr > | _media |
Poco::HashMap< string, MediaItemPtr > | _mediaMap |
vector< string > | _existsFiles |
vector< PlayListPtr > | _playlist |
Poco::HashMap< string, PlayListPtr > | _playlistMap |
vector< string > | _fonts |
vector< SchedulePtr > | _schedule |
Workspace::Workspace | ( | Path | file | ) |
Definition at line 27 of file Workspace.cpp.
bool Workspace::checkUpdate | ( | ) |
Definition at line 62 of file Workspace.cpp.
const vector< string > Workspace::existsFiles | ( | ) |
const Path & Workspace::file | ( | ) | const |
const vector< string > Workspace::getFonts | ( | ) |
const MediaItemPtr Workspace::getMedia | ( | int | i | ) |
Definition at line 288 of file Workspace.cpp.
const MediaItemPtr Workspace::getMedia | ( | string | id | ) |
Definition at line 296 of file Workspace.cpp.
const int Workspace::getMediaCount | ( | ) |
Definition at line 283 of file Workspace.cpp.
const PlayListPtr Workspace::getPlaylist | ( | int | i | ) |
const PlayListPtr Workspace::getPlaylist | ( | string | id | ) |
Definition at line 319 of file Workspace.cpp.
const int Workspace::getPlaylistCount | ( | ) |
const SchedulePtr Workspace::getSchedule | ( | int | i | ) |
const int Workspace::getScheduleCount | ( | ) |
bool Workspace::parse | ( | ) |
Definition at line 72 of file Workspace.cpp.
void Workspace::release | ( | ) | [private] |
const string Workspace::signature | ( | ) | const |
Workspace::‾Workspace | ( | ) |
vector<string> Workspace::_existsFiles [private] |
Definition at line 35 of file Workspace.h.
Path Workspace::_file [private] |
Definition at line 30 of file Workspace.h.
vector<string> Workspace::_fonts [private] |
Definition at line 40 of file Workspace.h.
Poco::FastMutex Workspace::_lock [private] |
Definition at line 28 of file Workspace.h.
Poco::Logger& Workspace::_log [private] |
Definition at line 26 of file Workspace.h.
vector<MediaItemPtr> Workspace::_media [private] |
Definition at line 33 of file Workspace.h.
Poco::HashMap<string, MediaItemPtr> Workspace::_mediaMap [private] |
Definition at line 34 of file Workspace.h.
vector<PlayListPtr> Workspace::_playlist [private] |
Definition at line 37 of file Workspace.h.
Poco::HashMap<string, PlayListPtr> Workspace::_playlistMap [private] |
Definition at line 38 of file Workspace.h.
vector<SchedulePtr> Workspace::_schedule [private] |
Definition at line 42 of file Workspace.h.
string Workspace::_signature [private] |
Definition at line 31 of file Workspace.h.