Public Member Functions | |
None | __init__ (self) |
Dipoles | get (self) |
Dipoles | getOrCreate (self, func_Vector_Dipole_Id_NodeTag creator) |
int | heapBytes (self) |
None | reset (self) |
None | update (self, func_void_from_Vector_Dipole_Id_NodeTag updater) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Protected Member Functions | |
UniqueThreadSafeOwner_Dipoles | _Equal (self, UniqueThreadSafeOwner_Dipoles b) |
Static Protected Member Functions | |
UniqueThreadSafeOwner_Dipoles | _Equal (*args, **kwargs) |
Generated from: MR::UniqueThreadSafeOwner<MR::Dipoles> 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 meshlib.mrmeshpy.UniqueThreadSafeOwner_Dipoles.__init__ | ( | self | ) |
|
staticprotected |
|
protected |
Dipoles meshlib.mrmeshpy.UniqueThreadSafeOwner_Dipoles.get | ( | self | ) |
returns existing owned object and does not create new one
Dipoles meshlib.mrmeshpy.UniqueThreadSafeOwner_Dipoles.getOrCreate | ( | self, | |
func_Vector_Dipole_Id_NodeTag | creator ) |
returns existing owned object or creates new one using creator function
int meshlib.mrmeshpy.UniqueThreadSafeOwner_Dipoles.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
None meshlib.mrmeshpy.UniqueThreadSafeOwner_Dipoles.reset | ( | self | ) |
deletes owned object
None meshlib.mrmeshpy.UniqueThreadSafeOwner_Dipoles.update | ( | self, | |
func_void_from_Vector_Dipole_Id_NodeTag | updater ) |
calls given updater for the owned object (if any)