AWS SDK for C++
0.14.3
AWS SDK for C++
|
#include <GetTheLights.h>
Public Member Functions | |
GetTheLights () | |
void | EnterRoom (std::function< void()> &&) |
void | LeaveRoom (std::function< void()> &&) |
Make initialization and cleanup of shared resources less painful. If you have this problem. Create a static instance of GetTheLights, have each actor call Enter the room with your callable.
When you are finished with the shared resources call LeaveRoom(). The last caller will have its callable executed.
Definition at line 35 of file GetTheLights.h.
Aws::Utils::GetTheLights::GetTheLights | ( | ) |
void Aws::Utils::GetTheLights::EnterRoom | ( | std::function< void()> && | ) |
void Aws::Utils::GetTheLights::LeaveRoom | ( | std::function< void()> && | ) |