UDK 3.2.7 C/C++ API Reference
Static Public Member Functions
rtl::StaticAggregate< T, InitAggregate > Class Template Reference

Helper class for a late-initialized static aggregate, e.g. More...

#include <instance.hxx>

List of all members.

Static Public Member Functions

static T * get ()
 Gets the static aggregate, late-initializing.

Detailed Description

template<typename T, typename InitAggregate>
class rtl::StaticAggregate< T, InitAggregate >

Helper class for a late-initialized static aggregate, e.g.

an array, implementing the double-checked locking pattern correctly.

Template Parameters:
Taggregate's element type
InitAggregateinitializer functor class

Member Function Documentation

template<typename T, typename InitAggregate>
static T* rtl::StaticAggregate< T, InitAggregate >::get ( ) [inline, static]

Gets the static aggregate, late-initializing.

Mutual exclusion is performed using the osl global mutex.

Returns:
aggregate

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines