MeshLib C Docs
Loading...
Searching...
No Matches
MRUniqueThreadSafeOwner.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_AABBTree MR_AABBTree; // Defined in `#include <MRCMesh/MRAABBTree.h>`.
13typedef struct MR_AABBTreePoints MR_AABBTreePoints; // Defined in `#include <MRCMesh/MRAABBTreePoints.h>`.
14typedef struct MR_std_function_MR_AABBTree MR_std_function_MR_AABBTree; // Defined in `#include <MRCMisc/std_function_MR_AABBTree.h>`.
15typedef struct MR_std_function_MR_AABBTreePoints MR_std_function_MR_AABBTreePoints; // Defined in `#include <MRCMisc/std_function_MR_AABBTreePoints.h>`.
16typedef struct MR_std_function_void_from_MR_AABBTreePoints_ref MR_std_function_void_from_MR_AABBTreePoints_ref; // Defined in `#include <MRCMisc/std_function_void_from_MR_AABBTreePoints_ref.h>`.
17typedef struct MR_std_function_void_from_MR_AABBTree_ref MR_std_function_void_from_MR_AABBTree_ref; // Defined in `#include <MRCMisc/std_function_void_from_MR_AABBTree_ref.h>`.
18
19
24
29
33
38
41
44
48
51
54
59
64
69
76
82
87
91
96
99
102
106
109
112
117
122
127
134
140
145
146#ifdef __cplusplus
147} // extern "C"
148#endif
struct MR_AABBTreePoints MR_AABBTreePoints
Definition MRAABBTreePoints.h:29
struct MR_AABBTree MR_AABBTree
Definition MRAABBTree.h:23
struct MR_std_function_void_from_MR_AABBTreePoints_ref MR_std_function_void_from_MR_AABBTreePoints_ref
Definition MRUniqueThreadSafeOwner.h:16
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTreePoints * MR_UniqueThreadSafeOwner_MR_AABBTreePoints_AssignFromAnother(MR_UniqueThreadSafeOwner_MR_AABBTreePoints *_this, MR_PassBy b_pass_by, MR_UniqueThreadSafeOwner_MR_AABBTreePoints *b)
MRC_API MR_AABBTreePoints * MR_UniqueThreadSafeOwner_MR_AABBTreePoints_getOrCreate(MR_UniqueThreadSafeOwner_MR_AABBTreePoints *_this, const MR_std_function_MR_AABBTreePoints *creator)
MRC_API void MR_UniqueThreadSafeOwner_MR_AABBTree_DestroyArray(const MR_UniqueThreadSafeOwner_MR_AABBTree *_this)
Destroys a heap-allocated array of MR_UniqueThreadSafeOwner_MR_AABBTree. Does nothing if the pointer ...
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTree * MR_UniqueThreadSafeOwner_MR_AABBTree_OffsetMutablePtr(MR_UniqueThreadSafeOwner_MR_AABBTree *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_UniqueThreadSafeOwner_MR_AABBTreePoints_DestroyArray(const MR_UniqueThreadSafeOwner_MR_AABBTreePoints *_this)
Destroys a heap-allocated array of MR_UniqueThreadSafeOwner_MR_AABBTreePoints. Does nothing if the po...
MRC_API MR_AABBTree * MR_UniqueThreadSafeOwner_MR_AABBTree_getOrCreate(MR_UniqueThreadSafeOwner_MR_AABBTree *_this, const MR_std_function_MR_AABBTree *creator)
MRC_API MR_uint64_t MR_UniqueThreadSafeOwner_MR_AABBTree_heapBytes(const MR_UniqueThreadSafeOwner_MR_AABBTree *_this)
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTreePoints * MR_UniqueThreadSafeOwner_MR_AABBTreePoints_OffsetMutablePtr(MR_UniqueThreadSafeOwner_MR_AABBTreePoints *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTree * MR_UniqueThreadSafeOwner_MR_AABBTree_AssignFromAnother(MR_UniqueThreadSafeOwner_MR_AABBTree *_this, MR_PassBy b_pass_by, MR_UniqueThreadSafeOwner_MR_AABBTree *b)
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTreePoints * MR_UniqueThreadSafeOwner_MR_AABBTreePoints_DefaultConstructArray(size_t num_elems)
struct MR_std_function_MR_AABBTree MR_std_function_MR_AABBTree
Definition MRUniqueThreadSafeOwner.h:14
MRC_API void MR_UniqueThreadSafeOwner_MR_AABBTreePoints_update(MR_UniqueThreadSafeOwner_MR_AABBTreePoints *_this, const MR_std_function_void_from_MR_AABBTreePoints_ref *updater)
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTree * MR_UniqueThreadSafeOwner_MR_AABBTree_DefaultConstructArray(size_t num_elems)
MRC_API void MR_UniqueThreadSafeOwner_MR_AABBTree_Destroy(const MR_UniqueThreadSafeOwner_MR_AABBTree *_this)
Destroys a heap-allocated instance of MR_UniqueThreadSafeOwner_MR_AABBTree. Does nothing if the point...
MRC_API void MR_UniqueThreadSafeOwner_MR_AABBTree_reset(MR_UniqueThreadSafeOwner_MR_AABBTree *_this)
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTree * MR_UniqueThreadSafeOwner_MR_AABBTree_ConstructFromAnother(MR_PassBy b_pass_by, MR_UniqueThreadSafeOwner_MR_AABBTree *b)
MRC_API MR_uint64_t MR_UniqueThreadSafeOwner_MR_AABBTreePoints_heapBytes(const MR_UniqueThreadSafeOwner_MR_AABBTreePoints *_this)
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTreePoints * MR_UniqueThreadSafeOwner_MR_AABBTreePoints_DefaultConstruct(void)
MRC_API const MR_UniqueThreadSafeOwner_MR_AABBTree * MR_UniqueThreadSafeOwner_MR_AABBTree_OffsetPtr(const MR_UniqueThreadSafeOwner_MR_AABBTree *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_UniqueThreadSafeOwner_MR_AABBTreePoints * MR_UniqueThreadSafeOwner_MR_AABBTreePoints_OffsetPtr(const MR_UniqueThreadSafeOwner_MR_AABBTreePoints *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_UniqueThreadSafeOwner_MR_AABBTree_update(MR_UniqueThreadSafeOwner_MR_AABBTree *_this, const MR_std_function_void_from_MR_AABBTree_ref *updater)
MRC_API void MR_UniqueThreadSafeOwner_MR_AABBTreePoints_reset(MR_UniqueThreadSafeOwner_MR_AABBTreePoints *_this)
MRC_API MR_AABBTreePoints * MR_UniqueThreadSafeOwner_MR_AABBTreePoints_get(MR_UniqueThreadSafeOwner_MR_AABBTreePoints *_this)
struct MR_std_function_MR_AABBTreePoints MR_std_function_MR_AABBTreePoints
Definition MRUniqueThreadSafeOwner.h:15
MRC_API MR_AABBTree * MR_UniqueThreadSafeOwner_MR_AABBTree_get(MR_UniqueThreadSafeOwner_MR_AABBTree *_this)
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTreePoints * MR_UniqueThreadSafeOwner_MR_AABBTreePoints_ConstructFromAnother(MR_PassBy b_pass_by, MR_UniqueThreadSafeOwner_MR_AABBTreePoints *b)
MRC_API MR_UniqueThreadSafeOwner_MR_AABBTree * MR_UniqueThreadSafeOwner_MR_AABBTree_DefaultConstruct(void)
MRC_API void MR_UniqueThreadSafeOwner_MR_AABBTreePoints_Destroy(const MR_UniqueThreadSafeOwner_MR_AABBTreePoints *_this)
Destroys a heap-allocated instance of MR_UniqueThreadSafeOwner_MR_AABBTreePoints. Does nothing if the...
struct MR_UniqueThreadSafeOwner_MR_AABBTree MR_UniqueThreadSafeOwner_MR_AABBTree
Definition MRUniqueThreadSafeOwner.h:23
struct MR_std_function_void_from_MR_AABBTree_ref MR_std_function_void_from_MR_AABBTree_ref
Definition MRUniqueThreadSafeOwner.h:17
struct MR_UniqueThreadSafeOwner_MR_AABBTreePoints MR_UniqueThreadSafeOwner_MR_AABBTreePoints
Definition MRUniqueThreadSafeOwner.h:28
MR_PassBy
Definition common.h:19
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11