MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.MutexOwner Class Reference
Inheritance diagram for meshlib.MutexOwner:

Public Member Functions

 MutexOwner (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MutexOwner ()
 MutexOwner (meshlib.MutexOwner _other)
meshlib.MutexOwner assignFromAnother (meshlib.MutexOwner _other)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

This class exists to provide copy and move constructors and assignment operations for std::mutex which actually does nothing Generated from class MR::MutexOwner.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ MutexOwner() [1/3]

meshlib.MutexOwner.MutexOwner ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ MutexOwner() [2/3]

meshlib.MutexOwner.MutexOwner ( )

Constructs an empty (default-constructed) instance.

Calls MR_MutexOwner_DefaultConstruct().

◆ MutexOwner() [3/3]

meshlib.MutexOwner.MutexOwner ( meshlib.MutexOwner _other)

Generated from constructor MR::MutexOwner::MutexOwner. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_MutexOwner_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MutexOwner meshlib.MutexOwner.assignFromAnother ( meshlib.MutexOwner _other)

Generated from method MR::MutexOwner::operator=. 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.

Calls MR_MutexOwner_AssignFromAnother().


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