Public Member Functions | |
| SystemMemory (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| SystemMemory () | |
| SystemMemory (long physicalTotal, long physicalAvailable) | |
| SystemMemory (meshlib.SystemMemory _other) | |
| meshlib.SystemMemory | assignFromAnother (meshlib.SystemMemory _other) |
| long | physicalTotal () |
| void | setPhysicalTotal (long value) |
| long | physicalAvailable () |
| void | setPhysicalAvailable (long value) |
| 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) | |
Generated from class MR::SystemMemory.
Instances created here own their C++ objects, see CppObject.
| meshlib.SystemMemory.SystemMemory | ( | 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.
| meshlib.SystemMemory.SystemMemory | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SystemMemory_DefaultConstruct().
| meshlib.SystemMemory.SystemMemory | ( | long | physicalTotal, |
| long | physicalAvailable ) |
Constructs MR::SystemMemory elementwise. The reference to the parameter physicalTotal might be preserved in the constructed object. The reference to the parameter physicalAvailable might be preserved in the constructed object.
Calls MR_SystemMemory_ConstructFrom().
| meshlib.SystemMemory.SystemMemory | ( | meshlib.SystemMemory | _other | ) |
Generated from constructor MR::SystemMemory::SystemMemory. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SystemMemory_ConstructFromAnother().
| meshlib.SystemMemory meshlib.SystemMemory.assignFromAnother | ( | meshlib.SystemMemory | _other | ) |
Generated from method MR::SystemMemory::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SystemMemory_AssignFromAnother().
| long meshlib.SystemMemory.physicalAvailable | ( | ) |
available amount of physical memory in the system, in bytes (0 if no info) Returns a pointer to a member variable of class MR::SystemMemory named physicalAvailable. The reference to this object might be preserved as the return value.
Calls MR_SystemMemory_Get_physicalAvailable().
| long meshlib.SystemMemory.physicalTotal | ( | ) |
total amount of physical memory in the system, in bytes (0 if no info) Returns a pointer to a member variable of class MR::SystemMemory named physicalTotal. The reference to this object might be preserved as the return value.
Calls MR_SystemMemory_Get_physicalTotal().
| void meshlib.SystemMemory.setPhysicalAvailable | ( | long | value | ) |
available amount of physical memory in the system, in bytes (0 if no info) Modifies a member variable of class MR::SystemMemory named physicalAvailable. The reference to the parameter value might be preserved in this object in element physicalAvailable.
Calls MR_SystemMemory_Set_physicalAvailable().
| void meshlib.SystemMemory.setPhysicalTotal | ( | long | value | ) |
total amount of physical memory in the system, in bytes (0 if no info) Modifies a member variable of class MR::SystemMemory named physicalTotal. The reference to the parameter value might be preserved in this object in element physicalTotal.
Calls MR_SystemMemory_Set_physicalTotal().