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

#include <PyImathUtil.h>

Public Member Functions

 PySafeObject ()
 
 PySafeObject (const T &value)
 
 ~PySafeObject ()
 
 PySafeObject (const PySafeObject &other)
 
const PySafeObjectoperator= (const PySafeObject &other)
 
bool operator== (const PySafeObject &other) const
 
bool operator!= (const PySafeObject &other) const
 
T & get ()
 
const T & get () const
 

Detailed Description

template<class T>
class PyImath::PySafeObject< T >

This object is safe object wrapper intended to use with hboost python objects.

This object correctly acquires the python lock for creation, copying and desctruction of the given object.

Definition at line 85 of file PyImathUtil.h.

Constructor & Destructor Documentation

template<class T >
PyImath::PySafeObject< T >::PySafeObject ( )
inline

Definition at line 88 of file PyImathUtil.h.

template<class T >
PyImath::PySafeObject< T >::PySafeObject ( const T &  value)
inline

Definition at line 95 of file PyImathUtil.h.

template<class T >
PyImath::PySafeObject< T >::~PySafeObject ( )
inline

Definition at line 102 of file PyImathUtil.h.

template<class T >
PyImath::PySafeObject< T >::PySafeObject ( const PySafeObject< T > &  other)
inline

Definition at line 109 of file PyImathUtil.h.

Member Function Documentation

template<class T >
T& PyImath::PySafeObject< T >::get ( )
inline

Definition at line 141 of file PyImathUtil.h.

template<class T >
const T& PyImath::PySafeObject< T >::get ( ) const
inline

Definition at line 142 of file PyImathUtil.h.

template<class T >
bool PyImath::PySafeObject< T >::operator!= ( const PySafeObject< T > &  other) const
inline

Definition at line 134 of file PyImathUtil.h.

template<class T >
const PySafeObject& PyImath::PySafeObject< T >::operator= ( const PySafeObject< T > &  other)
inline

Definition at line 117 of file PyImathUtil.h.

template<class T >
bool PyImath::PySafeObject< T >::operator== ( const PySafeObject< T > &  other) const
inline

Definition at line 126 of file PyImathUtil.h.


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