HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdUtils::RenderInstanceTracker< T > Class Template Reference

#include <utils.h>

Public Types

using TWeakPtr = std::weak_ptr< T >
 
using TSharedPtr = std::shared_ptr< T >
 

Public Member Functions

void RegisterInstance (std::string const &renderInstanceId, TSharedPtr const &sp)
 
void UnregisterInstance (std::string const &renderInstanceId)
 
TSharedPtr GetInstance (std::string const &id)
 

Detailed Description

template<typename T>
class HdUtils::RenderInstanceTracker< T >

Definition at line 76 of file utils.h.

Member Typedef Documentation

template<typename T >
using HdUtils::RenderInstanceTracker< T >::TSharedPtr = std::shared_ptr<T>

Definition at line 80 of file utils.h.

template<typename T >
using HdUtils::RenderInstanceTracker< T >::TWeakPtr = std::weak_ptr<T>

Definition at line 79 of file utils.h.

Member Function Documentation

template<typename T >
TSharedPtr HdUtils::RenderInstanceTracker< T >::GetInstance ( std::string const &  id)
inline

Definition at line 112 of file utils.h.

template<typename T >
void HdUtils::RenderInstanceTracker< T >::RegisterInstance ( std::string const &  renderInstanceId,
TSharedPtr const &  sp 
)
inline

Definition at line 82 of file utils.h.

template<typename T >
void HdUtils::RenderInstanceTracker< T >::UnregisterInstance ( std::string const &  renderInstanceId)
inline

Definition at line 106 of file utils.h.


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