Public Member Functions | |
None | __init__ (self) |
AABBTree | get (self) |
AABBTree | getOrCreate (self, func_AABBTree creator) |
int | heapBytes (self) |
UniqueThreadSafeOwner_AABBTree | operator (self, UniqueThreadSafeOwner_AABBTree b) |
None | reset (self) |
None | update (self, func_void_from_AABBTree updater) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
UniqueThreadSafeOwner_AABBTree | operator (*args, **kwargs) |
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
|
static |
None mrmeshpy.UniqueThreadSafeOwner_AABBTree.__init__ | ( | self | ) |
AABBTree mrmeshpy.UniqueThreadSafeOwner_AABBTree.get | ( | self | ) |
returns existing owned object and does not create new one
AABBTree mrmeshpy.UniqueThreadSafeOwner_AABBTree.getOrCreate | ( | self, | |
func_AABBTree | creator ) |
returns existing owned object or creates new one using creator function
int mrmeshpy.UniqueThreadSafeOwner_AABBTree.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
|
static |
UniqueThreadSafeOwner_AABBTree mrmeshpy.UniqueThreadSafeOwner_AABBTree.operator | ( | self, | |
UniqueThreadSafeOwner_AABBTree | b ) |
None mrmeshpy.UniqueThreadSafeOwner_AABBTree.reset | ( | self | ) |
deletes owned object
None mrmeshpy.UniqueThreadSafeOwner_AABBTree.update | ( | self, | |
func_void_from_AABBTree | updater ) |
calls given updater for the owned object (if any)