HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
delegatedCountPtr.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/tf.h"
#include "pxr/base/tf/api.h"
#include "pxr/base/tf/diagnosticLite.h"
#include <memory>
#include <type_traits>
#include <utility>
+ Include dependency graph for delegatedCountPtr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TfDelegatedCountIncrementTagType
 
struct  TfDelegatedCountDoNotIncrementTagType
 
class  TfDelegatedCountPtr< ValueType >
 

Functions

template<typename ValueType , typename... Args>
TfDelegatedCountPtr< ValueType > TfMakeDelegatedCountPtr (Args &&...args)
 

Variables

PXR_NAMESPACE_OPEN_SCOPE
constexpr struct
TfDelegatedCountIncrementTagType 
TfDelegatedCountIncrementTag
 
constexpr struct
TfDelegatedCountDoNotIncrementTagType 
TfDelegatedCountDoNotIncrementTag
 

Function Documentation

template<typename ValueType , typename... Args>
TfDelegatedCountPtr<ValueType> TfMakeDelegatedCountPtr ( Args &&...  args)

Construct a ValueType instance on the heap via new, passing args. Call TfDelegatedCountIncrement on the resulting pointer and return a TfDelegatedCountPtr holding that pointer.

Definition at line 265 of file delegatedCountPtr.h.

Variable Documentation

constexpr struct TfDelegatedCountDoNotIncrementTagType TfDelegatedCountDoNotIncrementTag
PXR_NAMESPACE_OPEN_SCOPE constexpr struct TfDelegatedCountIncrementTagType TfDelegatedCountIncrementTag