WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
|
Namespaces | |
Classes | |
struct | Arg |
client(member)->server->client func登録 More... | |
struct | Call |
関数呼び出し (client(caller)->server->client(receiver)) More... | |
struct | CallResponse |
関数呼び出しの応答1 (client(receiver)->server->client(caller)) More... | |
struct | CallResult |
関数呼び出しの応答2 (client(receiver)->server->client(caller)) More... | |
struct | Canvas2D |
struct | Canvas2DComponentData |
struct | Canvas2DData |
struct | Canvas2DOld |
struct | Canvas3D |
struct | Canvas3DComponentData |
struct | Canvas3DData |
struct | Canvas3DOld |
struct | Entry |
server->client 新しいvalueなどの報告 More... | |
struct | FuncInfo |
struct | Image |
struct | ImageFrame |
struct | ImageReq |
struct | Log |
struct | LogDefault |
client(member)->server->client logを追加 More... | |
struct | LogEntryDefault |
struct | LogLine |
struct | LogReqDefault |
struct | MessageBase |
型からkindを取得するためだけのベースクラス More... | |
struct | Ping |
ping(server->client->server) More... | |
struct | PingStatus |
各クライアントのping状況 (server->client) More... | |
struct | PingStatusReq |
ping状況のリクエスト (client->server) More... | |
struct | Req |
client->server 以降Recvを送るようリクエスト More... | |
struct | Req< Image > |
struct | Res |
struct | Res< Canvas2D > |
struct | Res< Canvas2DOld > |
struct | Res< Canvas3D > |
struct | Res< Canvas3DOld > |
struct | Res< Image > |
struct | Res< Log > |
struct | Res< RobotModel > |
struct | Res< Text > |
struct | Res< Value > |
server->client Value,Textなどのfieldをreqidに変えただけのもの More... | |
struct | Res< View > |
struct | Res< ViewOld > |
struct | RobotLink |
struct | RobotModel |
struct | Sync |
syncの時刻(client->server->client) More... | |
struct | SyncInit |
client初期化(client->server->client) More... | |
struct | SyncInitEnd |
serverのバージョン情報(server->client) More... | |
struct | Text |
struct | Value |
struct | View |
struct | ViewComponentData |
struct | ViewData |
struct | ViewOld |
Enumerations | |
enum class | ImageColorMode { gray = 0 , bgr = 1 , bgra = 2 , rgb = 3 , rgba = 4 } |
enum class | ImageCompressMode { raw = 0 , jpeg = 1 , webp = 2 , png = 3 } |
Functions | |
std::vector< std::pair< int, std::shared_ptr< void > > > | unpack (const std::string &message, const std::shared_ptr< spdlog::logger > &logger) |
msgpackのメッセージをパースし返す | |
template<typename T > | |
std::string | packSingle (const T &obj) |
メッセージ1つを要素数2の配列としてシリアル化 | |
template<typename T > | |
void | pack (std::stringstream &buffer, int &len, const T &obj) |
メッセージをシリアル化しbufferに追加 | |
std::string | packDone (std::stringstream &buffer, int len) |
static void | printMsg (const std::shared_ptr< spdlog::logger > &logger, const std::string &message) |
|
strong |
|
strong |
void pack | ( | std::stringstream & | buffer, |
int & | len, | ||
const T & | obj | ||
) |
メッセージをシリアル化しbufferに追加
|
inline |
std::string packSingle | ( | const T & | obj | ) |
メッセージ1つを要素数2の配列としてシリアル化
|
static |
std::vector< std::pair< int, std::shared_ptr< void > > > unpack | ( | const std::string & | message, |
const std::shared_ptr< spdlog::logger > & | logger | ||
) |
msgpackのメッセージをパースし返す