All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
instantiateSingleton.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/singleton.h"
#include "pxr/base/tf/diagnosticLite.h"
#include "pxr/base/tf/mallocTag.h"
#include "pxr/base/arch/demangle.h"
#include <thread>
+ Include dependency graph for instantiateSingleton.h:

Go to the source code of this file.



Detailed Description

Manage a single instance of an object.

Definition in file instantiateSingleton.h.

Macro Definition Documentation


Definition at line 33 of file instantiateSingleton.h.


Source file definition that a type is being used as a singleton.

To use a type T in conjunction with TfSingleton, add TF_INSTANTIATE_SINGLETON(T) in one source file (typically the .cpp) file for class T.

Definition at line 122 of file instantiateSingleton.h.