MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.UniqueThreadSafeOwner_AABBTree Class Reference
Inheritance diagram for mrmeshpy.UniqueThreadSafeOwner_AABBTree:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstUniqueThreadSafeOwner_AABBTree arg0)
UniqueThreadSafeOwner_AABBTree assign (self, ConstUniqueThreadSafeOwner_AABBTree other)
AABBTree get (self)
AABBTree getOrCreate (self, Const_func_AABBTree creator)
None reset (self)
None update (self, Const_func_void_from_AABBTree updater)
Public Member Functions inherited from mrmeshpy.ConstUniqueThreadSafeOwner_AABBTree
 __init__ (self, *args, **kwargs)
int heapBytes (self)

Static Public Member Functions

None __init__ (*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/3]

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

◆ __init__() [2/3]

None mrmeshpy.UniqueThreadSafeOwner_AABBTree.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.UniqueThreadSafeOwner_AABBTree.__init__ ( self,
ConstUniqueThreadSafeOwner_AABBTree arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

UniqueThreadSafeOwner_AABBTree mrmeshpy.UniqueThreadSafeOwner_AABBTree.assign ( self,
ConstUniqueThreadSafeOwner_AABBTree other )

◆ get()

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

◆ getOrCreate()

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

◆ reset()

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

◆ update()

None mrmeshpy.UniqueThreadSafeOwner_AABBTree.update ( self,
Const_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: