svvitch
digital signage player
|
HTTPリクエスト処理クラス. More...
#include <WebAPI.h>
Public Member Functions | |
SwitchRequestHandler (Renderer &renderer) | |
virtual | ‾SwitchRequestHandler () |
Protected Member Functions | |
void | doRequest () |
リクエスト処理. | |
Private Member Functions | |
void | switchContent () |
切替 | |
void | updateWorkspace () |
更新 | |
void | set (const string &name) |
設定系 | |
void | get (const string &name) |
取得系 | |
void | files () |
ファイル情報を返します. | |
string | fileToJSON (const Path path) |
ファイルをJSON化する | |
void | download () |
ダウンロード | |
void | upload () |
アップロード | |
void | clearStock () |
ストックファイルをクリアします | |
void | copy () |
コピー | |
void | version () |
バージョン | |
Private Attributes | |
Renderer & | _renderer |
SwitchRequestHandler::SwitchRequestHandler | ( | Renderer & | renderer | ) |
Definition at line 34 of file WebAPI.cpp.
void SwitchRequestHandler::clearStock | ( | ) | [private] |
ストックファイルをクリアします
Definition at line 439 of file WebAPI.cpp.
void SwitchRequestHandler::copy | ( | ) | [private] |
コピー
Definition at line 451 of file WebAPI.cpp.
void SwitchRequestHandler::doRequest | ( | ) | [protected, virtual] |
リクエスト処理.
handleRequest()から呼ばれますのでサブクラスで実装します。
Reimplemented from BaseRequestHandler.
Definition at line 45 of file WebAPI.cpp.
void SwitchRequestHandler::download | ( | ) | [private] |
ダウンロード
Definition at line 396 of file WebAPI.cpp.
void SwitchRequestHandler::files | ( | ) | [private] |
ファイル情報を返します.
ファイルのパスを指定した場合はファイル情報をmapで. ディレクトリを指定した場合は子のファイル名&ディレクトリ名の配列で.
Definition at line 337 of file WebAPI.cpp.
string SwitchRequestHandler::fileToJSON | ( | const Path | path | ) | [private] |
ファイルをJSON化する
Definition at line 359 of file WebAPI.cpp.
void SwitchRequestHandler::get | ( | const string & | name | ) | [private] |
void SwitchRequestHandler::set | ( | const string & | name | ) | [private] |
void SwitchRequestHandler::switchContent | ( | ) | [private] |
切替
Definition at line 103 of file WebAPI.cpp.
void SwitchRequestHandler::updateWorkspace | ( | ) | [private] |
更新
Definition at line 117 of file WebAPI.cpp.
void SwitchRequestHandler::upload | ( | ) | [private] |
アップロード
Definition at line 409 of file WebAPI.cpp.
void SwitchRequestHandler::version | ( | ) | [private] |
バージョン
Definition at line 465 of file WebAPI.cpp.
SwitchRequestHandler::‾SwitchRequestHandler | ( | ) | [virtual] |
Definition at line 40 of file WebAPI.cpp.
Renderer& SwitchRequestHandler::_renderer [private] |