Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::UniqueThreadSafeOwner_MR_AABBTree) -> &mut meshlib::UniqueThreadSafeOwner_MR_AABBTree |
| void | reset () |
| auto | get () -> Option<&mut meshlib::AABBTree > |
| auto | get_or_create (creator:&meshlib::std_function_MR_AABBTree) -> &mut meshlib::AABBTree |
| void | update (updater:&meshlib::std_function_void_from_MR_AABBTree_ref) |
| auto | heap_bytes () const -> usize |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::UniqueThreadSafeOwner_MR_AABBTree > |
| static auto | construct_from_another (_other:&meshlib::UniqueThreadSafeOwner_MR_AABBTree) -> meshlib::Owned< meshlib::UniqueThreadSafeOwner_MR_AABBTree > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
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>.
Generated from class MR::UniqueThreadSafeOwner<MR::AABBTree>. Heap-allocated instances are held in Owned<UniqueThreadSafeOwner_MR_AABBTree>.
| auto meshlib::UniqueThreadSafeOwner_MR_AABBTree::assign_from_another | ( | _other:&meshlib::UniqueThreadSafeOwner_MR_AABBTree | ) | -> &mut meshlib::UniqueThreadSafeOwner_MR_AABBTree |
Generated from method MR::UniqueThreadSafeOwner<MR::AABBTree>::operator=.
Calls MR_UniqueThreadSafeOwner_MR_AABBTree_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.
|
static |
Generated from constructor MR::UniqueThreadSafeOwner<MR::AABBTree>::UniqueThreadSafeOwner.
Calls MR_UniqueThreadSafeOwner_MR_AABBTree_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::UniqueThreadSafeOwner_MR_AABBTree::get | ( | ) | -> Option<&mut meshlib::AABBTree > |
returns existing owned object and does not create new one Generated from method MR::UniqueThreadSafeOwner<MR::AABBTree>::get.
Calls MR_UniqueThreadSafeOwner_MR_AABBTree_get().
| auto meshlib::UniqueThreadSafeOwner_MR_AABBTree::get_or_create | ( | creator:&meshlib::std_function_MR_AABBTree | ) | -> &mut meshlib::AABBTree |
returns existing owned object or creates new one using creator function Generated from method MR::UniqueThreadSafeOwner<MR::AABBTree>::getOrCreate.
Calls MR_UniqueThreadSafeOwner_MR_AABBTree_getOrCreate().
| auto meshlib::UniqueThreadSafeOwner_MR_AABBTree::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::UniqueThreadSafeOwner<MR::AABBTree>::heapBytes.
Calls MR_UniqueThreadSafeOwner_MR_AABBTree_heapBytes().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_UniqueThreadSafeOwner_MR_AABBTree_DefaultConstruct().
| void meshlib::UniqueThreadSafeOwner_MR_AABBTree::reset | ( | ) |
deletes owned object Generated from method MR::UniqueThreadSafeOwner<MR::AABBTree>::reset.
Calls MR_UniqueThreadSafeOwner_MR_AABBTree_reset().
| void meshlib::UniqueThreadSafeOwner_MR_AABBTree::update | ( | updater:&meshlib::std_function_void_from_MR_AABBTree_ref | ) |
calls given updater for the owned object (if any) Generated from method MR::UniqueThreadSafeOwner<MR::AABBTree>::update.
Calls MR_UniqueThreadSafeOwner_MR_AABBTree_update().