MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Std.Const_SharedPtr_ConstVoid Class Reference

Wraps a pointer to a single shared reference-counted heap-allocated const void. This is the const half of the class. More...

+ Inheritance diagram for MR.Std.Const_SharedPtr_ConstVoid:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_SharedPtr_ConstVoid ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_SharedPtr_ConstVoid (MR.Std._ByValue_SharedPtr_ConstVoid other)
 Constructs a copy of another instance. The source remains alive.
 
unsafe void * get ()
 Returns the stored pointer, possibly null. Returns a read-only pointer.
 
unsafe int useCount ()
 How many shared pointers share the managed object. Zero if no object is being managed. This being zero usually conincides with MR_std_shared_ptr_const_void_Get() returning null, but is ultimately orthogonal. Note that in multithreaded environments, the only safe way to use this number is comparing it with zero. Positive values might change by the time you get to use them.
 
unsafe Const_SharedPtr_ConstVoid (void *ptr)
 Create a new instance, storing a non-owning pointer. Parameter ptr is a read-only pointer.
 
unsafe Const_SharedPtr_ConstVoid (MR.Std._ByValue_SharedPtr_Void ptr)
 Create a new instance from a non-const pointer to the same type.
 
unsafe Const_SharedPtr_ConstVoid (MR.Std._ByValue_SharedPtr_ConstVoid ownership, void *ptr)
 The aliasing constructor. Create a new instance, copying ownership from an existing shared pointer and storing an arbitrary raw pointer. The input pointer can be reinterpreted from any other std.shared_ptr<T> to avoid constructing a new std.shared_ptr<void>. Parameter ptr is a read-only pointer.
 
unsafe Const_SharedPtr_ConstVoid (MR._ByValueShared_Object _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
unsafe Const_SharedPtr_ConstVoid (MR._ByValueShared_Mesh _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
unsafe Const_SharedPtr_ConstVoid (MR._ByValueShared_Polyline3 _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
unsafe Const_SharedPtr_ConstVoid (MR._ByValueShared_PointCloud _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
unsafe Const_SharedPtr_ConstVoid (MR._ByValueShared_SceneRootObject _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 

Static Public Member Functions

static unsafe implicit operator Const_SharedPtr_ConstVoid (MR.Std._ByValue_SharedPtr_Void ptr)
 Create a new instance from a non-const pointer to the same type.
 
static unsafe implicit operator Const_SharedPtr_ConstVoid (MR._ByValueShared_Object _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
static unsafe implicit operator Const_SharedPtr_ConstVoid (MR._ByValueShared_Mesh _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
static unsafe implicit operator Const_SharedPtr_ConstVoid (MR._ByValueShared_Polyline3 _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
static unsafe implicit operator Const_SharedPtr_ConstVoid (MR._ByValueShared_PointCloud _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 
static unsafe implicit operator Const_SharedPtr_ConstVoid (MR._ByValueShared_SceneRootObject _other)
 Creates an untyped std.shared_ptr<void> pointing to the same object as the source typed pointer.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_SharedPtr_ConstVoid >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_SharedPtr_ConstVoid >
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.
 

Detailed Description

Wraps a pointer to a single shared reference-counted heap-allocated const void. This is the const half of the class.


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