HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyIdentity.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/api.h"
#include "pxr/base/tf/pyLock.h"
#include "pxr/base/tf/pyUtils.h"
#include "pxr/base/arch/demangle.h"
#include "pxr/base/tf/diagnostic.h"
#include "pxr/base/tf/refPtr.h"
#include "pxr/base/tf/safeTypeCompare.h"
#include "pxr/base/tf/stringUtils.h"
#include "pxr/base/tf/weakPtr.h"
#include <hboost/python/class.hpp>
#include <hboost/python/handle.hpp>
#include <hboost/python/object.hpp>
#include "pxr/base/tf/hashmap.h"
+ Include dependency graph for pyIdentity.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hboost::python::pointee< PXR_NS::TfWeakPtrFacade< X, Y > >
 
struct  hboost::python::pointee< PXR_NS::TfRefPtr< T > >
 
struct  Tf_PyIdentityHelper
 
struct  Tf_PyOwnershipPtrMap
 
struct  Tf_PyOwnershipHelper< Ptr, Enable >
 
struct  Tf_PyOwnershipHelper< Ptr, std::enable_if_t< std::is_same< TfRefPtr< typename Ptr::DataType >, Ptr >::value &&std::is_base_of< TfRefBase, typename Ptr::DataType >::value > >
 
struct  Tf_PyOwnershipHelper< Ptr, std::enable_if_t< std::is_same< TfRefPtr< typename Ptr::DataType >, Ptr >::value &&std::is_base_of< TfRefBase, typename Ptr::DataType >::value > >::_RefPtrHolder
 
struct  Tf_PyIsRefPtr< Ptr >
 
struct  Tf_PyIsRefPtr< TfRefPtr< T > >
 

Namespaces

 hboost
 
 hboost::python
 

Functions

template<class Ptr >
void Tf_PyReleasePythonIdentity (Ptr const &ptr, PyObject *obj)
 
void Tf_PyOwnershipRefBaseUniqueChanged (TfRefBase const *refBase, bool isNowUnique)
 
template<class Ptr >
std::enable_if_t
< Tf_PyIsRefPtr< Ptr >::value
Tf_PySetPythonIdentity (Ptr const &, PyObject *)
 
template<class Ptr >
std::enable_if_t
<!Tf_PyIsRefPtr< Ptr >::value
Tf_PySetPythonIdentity (Ptr const &ptr, PyObject *obj)
 
template<class Ptr >
PyObject * Tf_PyGetPythonIdentity (Ptr const &ptr)
 
template<class Ptr >
void Tf_PyRemovePythonOwnership (Ptr const &t, PyObject *obj)
 
template<class Ptr >
void Tf_PyAddPythonOwnership (Ptr const &t, const void *uniqueId, PyObject *obj)
 

Function Documentation

template<class Ptr >
void Tf_PyAddPythonOwnership ( Ptr const &  t,
const void uniqueId,
PyObject *  obj 
)

Definition at line 261 of file pyIdentity.h.

template<class Ptr >
PyObject* Tf_PyGetPythonIdentity ( Ptr const &  ptr)

Definition at line 248 of file pyIdentity.h.

void Tf_PyOwnershipRefBaseUniqueChanged ( TfRefBase const *  refBase,
bool  isNowUnique 
)
template<class Ptr >
void Tf_PyReleasePythonIdentity ( Ptr const &  ptr,
PyObject *  obj 
)

Definition at line 94 of file pyIdentity.h.

template<class Ptr >
void Tf_PyRemovePythonOwnership ( Ptr const &  t,
PyObject *  obj 
)

Definition at line 255 of file pyIdentity.h.

template<class Ptr >
std::enable_if_t<Tf_PyIsRefPtr<Ptr>::value> Tf_PySetPythonIdentity ( Ptr const &  ,
PyObject *   
)

Definition at line 231 of file pyIdentity.h.

template<class Ptr >
std::enable_if_t<!Tf_PyIsRefPtr<Ptr>::value> Tf_PySetPythonIdentity ( Ptr const &  ptr,
PyObject *  obj 
)

Definition at line 237 of file pyIdentity.h.