AWS SDK for C++

AWS SDK for C++ Version 1.11.826

Loading...
Searching...
No Matches
Typedefs | Functions
Aws::Utils::ComponentRegistry Namespace Reference

Typedefs

typedef void(* ComponentTerminateFn) (void *pClient, int64_t timeoutMs)
 

Functions

AWS_CORE_API void InitComponentRegistry ()
 
AWS_CORE_API void ShutdownComponentRegistry ()
 
AWS_CORE_API void RegisterComponent (const char *clientName, void *pClient, ComponentTerminateFn terminateMethod)
 
AWS_CORE_API void DeRegisterComponent (void *pClient)
 
AWS_CORE_API void TerminateAllComponents ()
 

Detailed Description

A helper utility set of methods to track currently allocated components (i.e. AWS SDK service clients)

Typedef Documentation

◆ ComponentTerminateFn

typedef void(* Aws::Utils::ComponentRegistry::ComponentTerminateFn) (void *pClient, int64_t timeoutMs)

A callback method type alias to terminate component.

Definition at line 24 of file ComponentRegistry.h.

Function Documentation

◆ DeRegisterComponent()

AWS_CORE_API void Aws::Utils::ComponentRegistry::DeRegisterComponent ( void *  pClient)

Remove component from a registry.

◆ InitComponentRegistry()

AWS_CORE_API void Aws::Utils::ComponentRegistry::InitComponentRegistry ( )

Initialize a component registry (i.e. init global dictionary).

◆ RegisterComponent()

AWS_CORE_API void Aws::Utils::ComponentRegistry::RegisterComponent ( const char *  clientName,
void *  pClient,
ComponentTerminateFn  terminateMethod 
)

Register component (i.e. AWS SDK service client) as active.

◆ ShutdownComponentRegistry()

AWS_CORE_API void Aws::Utils::ComponentRegistry::ShutdownComponentRegistry ( )

Shutdown a component registry (i.e. release global dictionary).

◆ TerminateAllComponents()

AWS_CORE_API void Aws::Utils::ComponentRegistry::TerminateAllComponents ( )

Terminate all registered clients.