MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree Class Reference

Public Member Functions

None __init__ (self)
 
AABBTree get (self)
 
AABBTree getOrCreate (self, func_AABBTree creator)
 
int heapBytes (self)
 
None reset (self)
 
None update (self, func_void_from_AABBTree updater)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 

Protected Member Functions

UniqueThreadSafeOwner_AABBTree _Equal (self, UniqueThreadSafeOwner_AABBTree b)
 

Static Protected Member Functions

UniqueThreadSafeOwner_AABBTree _Equal (*args, **kwargs)
 

Detailed Description

Generated from:  MR::UniqueThreadSafeOwner<MR::AABBTree>

This class is base class for unique thread safe owning of some objects, for example AABBTree
classes derived from this one should have function like getOrCreate

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/2]

None meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree.__init__ ( self)

Member Function Documentation

◆ _Equal() [1/2]

UniqueThreadSafeOwner_AABBTree meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree._Equal ( * args,
** kwargs )
staticprotected

◆ _Equal() [2/2]

UniqueThreadSafeOwner_AABBTree meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree._Equal ( self,
UniqueThreadSafeOwner_AABBTree b )
protected

◆ get()

AABBTree meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree.get ( self)
returns existing owned object and does not create new one

◆ getOrCreate()

AABBTree meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree.getOrCreate ( self,
func_AABBTree creator )
returns existing owned object or creates new one using creator function

◆ heapBytes()

int meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ reset()

None meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree.reset ( self)
deletes owned object

◆ update()

None meshlib.mrmeshpy.UniqueThreadSafeOwner_AABBTree.update ( self,
func_void_from_AABBTree updater )
calls given updater for the owned object (if any)

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