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

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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__() [1/2]

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

◆ __init__() [2/2]

None meshlib.mrmeshpy.UniqueThreadSafeOwner_Dipoles.__init__ ( self)

Member Function Documentation

◆ _Equal() [1/2]

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

◆ _Equal() [2/2]

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

◆ get()

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

◆ getOrCreate()

Dipoles meshlib.mrmeshpy.UniqueThreadSafeOwner_Dipoles.getOrCreate ( self,
func_Vector_Dipole_Id_NodeTag creator )
returns existing owned object or creates new one using creator function

◆ heapBytes()

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

◆ reset()

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

◆ update()

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

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