BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmt::EntryPointFunctorAdapterUtil Struct Reference

#include <bslmt_entrypointfunctoradapter.h>

Static Public Member Functions

template<typename TYPE >
static void allocateAdapter (bslma::ManagedPtr< EntryPointFunctorAdapter< TYPE > > *adapter, const TYPE &invokable, const bslstl::StringRef &threadName, bslma::Allocator *basicAllocator=0)
 

Member Function Documentation

◆ allocateAdapter()

template<typename TYPE >
void bslmt::EntryPointFunctorAdapterUtil::allocateAdapter ( bslma::ManagedPtr< EntryPointFunctorAdapter< TYPE > > *  adapter,
const TYPE &  invokable,
const bslstl::StringRef threadName,
bslma::Allocator basicAllocator = 0 
)
inlinestatic

Allocate a new EntryPointFunctorAdapter holding copies of the specified invokable object and threadName, and load the result into the specified adapter. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.


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