|
WebCFace 3.1.1
Web-based Communication Framework & Dashboard-like UI
|
Namespaces | |
| namespace | WebSocket |
Classes | |
| class | Canvas2DDataBuf |
| struct | ClientData |
| class | DataSetBuffer |
| View,Canvasなどで送信用にaddされたデータを管理する More... | |
| struct | FuncInfo |
| 関数1つの情報を表す。関数の実体も持つ More... | |
| class | FuncResultStore |
| PromiseDataのリストを保持する。 More... | |
| struct | InputRefState |
| struct | LogData |
| class | MutexProxy |
| RustのMutexのようにデータを保護するクラス More... | |
| class | PollingConditionVariable |
| struct | PromiseData |
| PromiseとCallHandleのデータを保持するクラス More... | |
| struct | RobotLinkData |
| class | SafeGlobal |
| class | ScopedLock |
| class | SharedMutexProxy |
| struct | SharedStringData |
| class | SyncDataStore1 |
| class | SyncDataStore2 |
| 送受信するデータを保持するクラス More... | |
| struct | TemporalCanvas2DComponentData |
| struct | TemporalCanvas3DComponentData |
| struct | TemporalRobotJointData |
| struct | TemporalViewComponentData |
| class | ViewBuf |
| Viewの送信用データを保持する More... | |
Typedefs | |
| using | FuncData = FuncInfo |
| using | RobotModelData = std::vector< std::shared_ptr< internal::RobotLinkData > > |
| using | ImageData = ImageFrame |
| template<typename T > | |
| using | StrMap1 = std::map< SharedString, T > |
| template<typename T > | |
| using | StrMap2 = StrMap1< StrMap1< T > > |
| using | StrSet1 = std::set< SharedString > |
| using | StrSet2 = StrMap1< StrSet1 > |
Functions | |
| void | wsThreadMain (const std::shared_ptr< ClientData > &data) |
| template<typename M , typename K1 , typename K2 > | |
| static auto | findFromMap2 (const M &map, const K1 &key1, const K2 &key2) -> std::decay_t< decltype(map.at(key1).at(key2))> |
| template<typename M , typename K1 > | |
| static auto | findFromMap1 (const M &map, const K1 &key1) -> std::decay_t< decltype(map.at(key1))> |
| template<typename T > | |
| SafeGlobal< T > | safeGlobal (T obj) |
| std_fs::path | unixSocketPath (int port) |
| unix socket のパス | |
| std_fs::path | unixSocketPathWSLInterop (int port) |
| wslから見たwindows側で開いている unix socket のパス | |
| bool | detectWSL1 () |
| wsl1ならtrue | |
| bool | detectWSL2 () |
| wsl2ならtrue | |
| std::string | wsl2Host () |
| wslから見たwindowsのipアドレス | |
| void | initUnixSocket (const std_fs::path &path, const std::shared_ptr< spdlog::logger > &logger) |
| socketファイルがすでにあれば削除する | |
| void | updateUnixSocketPerms (const std_fs::path &path, const std::shared_ptr< spdlog::logger > &logger) |
| socketファイルのパーミッション設定 | |
Variables | |
| std::atomic< int > | log_keep_lines = 1000 |
| using ImageData = ImageFrame |
| using RobotModelData = std::vector<std::shared_ptr<internal::RobotLinkData> > |
| using StrMap1 = std::map<SharedString, T> |
| using StrSet1 = std::set<SharedString> |
| bool detectWSL1 | ( | ) |
wsl1ならtrue
| bool detectWSL2 | ( | ) |
wsl2ならtrue
|
static |
|
static |
| void initUnixSocket | ( | const std_fs::path & | path, |
| const std::shared_ptr< spdlog::logger > & | logger | ||
| ) |
socketファイルがすでにあれば削除する
| SafeGlobal< T > safeGlobal | ( | T | obj | ) |
| std_fs::path unixSocketPath | ( | int | port | ) |
unix socket のパス
| std_fs::path unixSocketPathWSLInterop | ( | int | port | ) |
wslから見たwindows側で開いている unix socket のパス
| void updateUnixSocketPerms | ( | const std_fs::path & | path, |
| const std::shared_ptr< spdlog::logger > & | logger | ||
| ) |
socketファイルのパーミッション設定
| std::string wsl2Host | ( | ) |
wslから見たwindowsのipアドレス
| void wsThreadMain | ( | const std::shared_ptr< ClientData > & | data | ) |
|
extern |