WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
ClientData::ScopedWsLock Class Reference

#include <webcface/internal/client_internal.h>

Inheritance diagram for ClientData::ScopedWsLock:
[legend]
Collaboration diagram for ClientData::ScopedWsLock:
[legend]

Public Member Functions

 ScopedWsLock (ClientData *data)
 
 ScopedWsLock (const std::shared_ptr< ClientData > &data)
 
auto & getData ()
 

Detailed Description

std::unique_lockのように使い、lockしている間だけWsMutexedDataにアクセスできる

Constructor & Destructor Documentation

◆ ScopedWsLock() [1/2]

ScopedWsLock ( ClientData data)
inlineexplicit

◆ ScopedWsLock() [2/2]

ScopedWsLock ( const std::shared_ptr< ClientData > &  data)
inlineexplicit

Member Function Documentation

◆ getData()

auto & getData ( )
inline

The documentation for this class was generated from the following file: