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 Generated from class MR.UniqueThreadSafeOwner<MR.AABBTree>. This is the non-const half of the class.
More...
Inheritance diagram for MR.UniqueThreadSafeOwner_MRAABBTree:Public Member Functions | |
| unsafe | UniqueThreadSafeOwner_MRAABBTree () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | UniqueThreadSafeOwner_MRAABBTree (MR._ByValue_UniqueThreadSafeOwner_MRAABBTree _other) |
Generated from constructor MR.UniqueThreadSafeOwner<MR.AABBTree>::UniqueThreadSafeOwner. | |
| unsafe MR.UniqueThreadSafeOwner_MRAABBTree | assign (MR._ByValue_UniqueThreadSafeOwner_MRAABBTree _other) |
Generated from method MR.UniqueThreadSafeOwner<MR.AABBTree>::operator=. | |
| unsafe void | reset () |
deletes owned object Generated from method MR.UniqueThreadSafeOwner<MR.AABBTree>::reset. | |
| unsafe MR.? AABBTree | get () |
returns existing owned object and does not create new one Generated from method MR.UniqueThreadSafeOwner<MR.AABBTree>::get. | |
| unsafe MR.AABBTree | getOrCreate (MR.Std.Const_Function_MRAABBTreeFunc creator) |
returns existing owned object or creates new one using creator function Generated from method MR.UniqueThreadSafeOwner<MR.AABBTree>::getOrCreate. | |
| unsafe void | update (MR.Std.Const_Function_VoidFuncFromMRAABBTreeRef updater) |
calls given updater for the owned object (if any) Generated from method MR.UniqueThreadSafeOwner<MR.AABBTree>::update. | |
Public Member Functions inherited from MR.Const_UniqueThreadSafeOwner_MRAABBTree | |
| virtual void | Dispose () |
| unsafe | Const_UniqueThreadSafeOwner_MRAABBTree () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Const_UniqueThreadSafeOwner_MRAABBTree (MR._ByValue_UniqueThreadSafeOwner_MRAABBTree _other) |
Generated from constructor MR.UniqueThreadSafeOwner<MR.AABBTree>::UniqueThreadSafeOwner. | |
| unsafe ulong | heapBytes () |
returns the amount of memory this object occupies on heap Generated from method MR.UniqueThreadSafeOwner<MR.AABBTree>::heapBytes. | |
Additional Inherited Members | |
Protected Member Functions inherited from MR.Const_UniqueThreadSafeOwner_MRAABBTree | |
| virtual unsafe void | Dispose (bool disposing) |
Protected Attributes inherited from MR.Misc.Object< Const_UniqueThreadSafeOwner_MRAABBTree > | |
| bool | _IsOwningVal |
Properties inherited from MR.Misc.Object< Const_UniqueThreadSafeOwner_MRAABBTree > | |
| virtual bool | _IsOwning [get] |
| Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough. | |
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 Generated from class MR.UniqueThreadSafeOwner<MR.AABBTree>. This is the non-const half of the class.