AWS SDK for C++  1.9.129
AWS SDK for C++
Public Member Functions | List of all members
Aws::Utils::GetTheLights Class Reference

#include <GetTheLights.h>

Public Member Functions

 GetTheLights ()
 
void EnterRoom (std::function< void()> &&)
 
void LeaveRoom (std::function< void()> &&)
 

Detailed Description

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 25 of file GetTheLights.h.

Constructor & Destructor Documentation

◆ GetTheLights()

Aws::Utils::GetTheLights::GetTheLights ( )

Member Function Documentation

◆ EnterRoom()

void Aws::Utils::GetTheLights::EnterRoom ( std::function< void()> &&  )

◆ LeaveRoom()

void Aws::Utils::GetTheLights::LeaveRoom ( std::function< void()> &&  )

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