Asylo
|
An RAII wrapper that sets thread-local enclave "current client" reference on construction and resets it to the previous value when destroyed. More...
#include <untrusted_primitives.h>
Public Member Functions | |
ScopedCurrentClient (Client *client) | |
Constructs a "scope object" to set the current client pointer for the lifetime of the object. More... | |
~ScopedCurrentClient () | |
ScopedCurrentClient (const ScopedCurrentClient &other)=delete | |
ScopedCurrentClient & | operator= (const ScopedCurrentClient &other)=delete |
An RAII wrapper that sets thread-local enclave "current client" reference on construction and resets it to the previous value when destroyed.
|
inlineexplicit |
Constructs a "scope object" to set the current client pointer for the lifetime of the object.
client | An unowned pointer to the new current client. |
asylo::primitives::Client::ScopedCurrentClient::~ScopedCurrentClient | ( | ) |
|
delete |
|
delete |