svvitch
digital signage player
SwitchRequestHandler Class Reference

HTTPリクエスト処理クラス. More...

#include <WebAPI.h>

Inheritance diagram for SwitchRequestHandler:
Collaboration diagram for SwitchRequestHandler:

List of all members.

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

Detailed Description

HTTPリクエスト処理クラス.

API処理を行います

Definition at line 11 of file WebAPI.h.


Constructor & Destructor Documentation

Definition at line 34 of file WebAPI.cpp.


Member Function Documentation

ストックファイルをクリアします

Definition at line 439 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SwitchRequestHandler::copy ( ) [private]

コピー

Definition at line 451 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SwitchRequestHandler::doRequest ( ) [protected, virtual]

リクエスト処理.

handleRequest()から呼ばれますのでサブクラスで実装します。

Reimplemented from BaseRequestHandler.

Definition at line 45 of file WebAPI.cpp.

Here is the call graph for this function:

void SwitchRequestHandler::download ( ) [private]

ダウンロード

Definition at line 396 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SwitchRequestHandler::files ( ) [private]

ファイル情報を返します.

ファイルのパスを指定した場合はファイル情報をmapで. ディレクトリを指定した場合は子のファイル名&ディレクトリ名の配列で.

Definition at line 337 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

string SwitchRequestHandler::fileToJSON ( const Path  path) [private]

ファイルをJSON化する

Definition at line 359 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SwitchRequestHandler::get ( const string &  name) [private]

取得系

Definition at line 223 of file WebAPI.cpp.

Here is the call graph for this function:

void SwitchRequestHandler::set ( const string &  name) [private]

設定系

Definition at line 133 of file WebAPI.cpp.

Here is the call graph for this function:

切替

Definition at line 103 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

更新

Definition at line 117 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SwitchRequestHandler::upload ( ) [private]

アップロード

Definition at line 409 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SwitchRequestHandler::version ( ) [private]

バージョン

Definition at line 465 of file WebAPI.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

SwitchRequestHandler::‾SwitchRequestHandler ( ) [virtual]

Definition at line 40 of file WebAPI.cpp.


Member Data Documentation

Definition at line 13 of file WebAPI.h.


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