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

Public Member Functions

 GcodeProcessor_Command (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 GcodeProcessor_Command ()
 GcodeProcessor_Command (byte key, float value)
 GcodeProcessor_Command (meshlib.GcodeProcessor_Command _other)
meshlib.GcodeProcessor_Command assignFromAnother (meshlib.GcodeProcessor_Command _other)
byte key ()
void setKey (byte value)
float value ()
void setValue (float 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)

Detailed Description

Generated from class MR::GcodeProcessor::Command.

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

Constructor & Destructor Documentation

◆ GcodeProcessor_Command() [1/4]

meshlib.GcodeProcessor_Command.GcodeProcessor_Command ( 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.

◆ GcodeProcessor_Command() [2/4]

meshlib.GcodeProcessor_Command.GcodeProcessor_Command ( )

Constructs an empty (default-constructed) instance.

Calls MR_GcodeProcessor_Command_DefaultConstruct().

◆ GcodeProcessor_Command() [3/4]

meshlib.GcodeProcessor_Command.GcodeProcessor_Command ( byte key,
float value )

Constructs MR::GcodeProcessor::Command elementwise.

Calls MR_GcodeProcessor_Command_ConstructFrom().

◆ GcodeProcessor_Command() [4/4]

meshlib.GcodeProcessor_Command.GcodeProcessor_Command ( meshlib.GcodeProcessor_Command _other)

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

Calls MR_GcodeProcessor_Command_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.GcodeProcessor_Command meshlib.GcodeProcessor_Command.assignFromAnother ( meshlib.GcodeProcessor_Command _other)

Generated from method MR::GcodeProcessor::Command::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_GcodeProcessor_Command_AssignFromAnother().

◆ key()

byte meshlib.GcodeProcessor_Command.key ( )

in lowercase Returns a pointer to a member variable of class MR::GcodeProcessor::Command named key. The reference to this object might be preserved as the return value.

Calls MR_GcodeProcessor_Command_Get_key().

◆ setKey()

void meshlib.GcodeProcessor_Command.setKey ( byte value)

in lowercase Modifies a member variable of class MR::GcodeProcessor::Command named key.

Calls MR_GcodeProcessor_Command_Set_key().

◆ setValue()

void meshlib.GcodeProcessor_Command.setValue ( float value)

Modifies a member variable of class MR::GcodeProcessor::Command named value.

Calls MR_GcodeProcessor_Command_Set_value().

◆ value()

float meshlib.GcodeProcessor_Command.value ( )

Returns a pointer to a member variable of class MR::GcodeProcessor::Command named value. The reference to this object might be preserved as the return value.

Calls MR_GcodeProcessor_Command_Get_value().


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