WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
|
#include <webcface/internal/data_store1.h>
Public Member Functions | |
SyncDataStore1 (const SharedString &name) | |
bool | addReq (const SharedString &member) |
リクエストを追加 | |
bool | clearReq (const SharedString &member) |
リクエストを削除 | |
bool | isSelf (const SharedString &member) const |
void | setRecv (const SharedString &member, const T &data) |
void | clearEntry (const SharedString &from) |
memberのentryをクリア | |
void | setEntry (const SharedString &from) |
受信したentryを追加 | |
bool | getEntry (const SharedString &from) |
entryを取得 | |
bool | getEntry (const FieldBase &base) |
std::optional< T > | getRecv (const SharedString &member) |
StrMap1< bool > | transferReq () |
req_sendを返し、req_sendをクリア | |
Public Attributes | |
SharedString | self_member_name |
std::recursive_mutex | mtx |
|
explicit |
bool addReq | ( | const SharedString & | member | ) |
リクエストを追加
void clearEntry | ( | const SharedString & | from | ) |
memberのentryをクリア
bool clearReq | ( | const SharedString & | member | ) |
リクエストを削除
bool getEntry | ( | const FieldBase & | base | ) |
bool getEntry | ( | const SharedString & | from | ) |
entryを取得
std::optional< T > getRecv | ( | const SharedString & | member | ) |
bool isSelf | ( | const SharedString & | member | ) | const |
void setEntry | ( | const SharedString & | from | ) |
受信したentryを追加
void setRecv | ( | const SharedString & | member, |
const T & | data | ||
) |
StrMap1< bool > transferReq |
req_sendを返し、req_sendをクリア
std::recursive_mutex mtx |
SharedString self_member_name |