upm_uln200xa._uln200xa_context Maven / Gradle / Ivy
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.6
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package upm_uln200xa;
public class _uln200xa_context {
private long swigCPtr;
protected boolean swigCMemOwn;
protected _uln200xa_context(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(_uln200xa_context obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
javaupm_uln200xaJNI.delete__uln200xa_context(swigCPtr);
}
swigCPtr = 0;
}
}
public void setStepI1(SWIGTYPE_p_mraa_gpio_context value) {
javaupm_uln200xaJNI._uln200xa_context_stepI1_set(swigCPtr, this, SWIGTYPE_p_mraa_gpio_context.getCPtr(value));
}
public SWIGTYPE_p_mraa_gpio_context getStepI1() {
return new SWIGTYPE_p_mraa_gpio_context(javaupm_uln200xaJNI._uln200xa_context_stepI1_get(swigCPtr, this), true);
}
public void setStepI2(SWIGTYPE_p_mraa_gpio_context value) {
javaupm_uln200xaJNI._uln200xa_context_stepI2_set(swigCPtr, this, SWIGTYPE_p_mraa_gpio_context.getCPtr(value));
}
public SWIGTYPE_p_mraa_gpio_context getStepI2() {
return new SWIGTYPE_p_mraa_gpio_context(javaupm_uln200xaJNI._uln200xa_context_stepI2_get(swigCPtr, this), true);
}
public void setStepI3(SWIGTYPE_p_mraa_gpio_context value) {
javaupm_uln200xaJNI._uln200xa_context_stepI3_set(swigCPtr, this, SWIGTYPE_p_mraa_gpio_context.getCPtr(value));
}
public SWIGTYPE_p_mraa_gpio_context getStepI3() {
return new SWIGTYPE_p_mraa_gpio_context(javaupm_uln200xaJNI._uln200xa_context_stepI3_get(swigCPtr, this), true);
}
public void setStepI4(SWIGTYPE_p_mraa_gpio_context value) {
javaupm_uln200xaJNI._uln200xa_context_stepI4_set(swigCPtr, this, SWIGTYPE_p_mraa_gpio_context.getCPtr(value));
}
public SWIGTYPE_p_mraa_gpio_context getStepI4() {
return new SWIGTYPE_p_mraa_gpio_context(javaupm_uln200xaJNI._uln200xa_context_stepI4_get(swigCPtr, this), true);
}
public void setStepsPerRev(int value) {
javaupm_uln200xaJNI._uln200xa_context_stepsPerRev_set(swigCPtr, this, value);
}
public int getStepsPerRev() {
return javaupm_uln200xaJNI._uln200xa_context_stepsPerRev_get(swigCPtr, this);
}
public void setCurrentStep(int value) {
javaupm_uln200xaJNI._uln200xa_context_currentStep_set(swigCPtr, this, value);
}
public int getCurrentStep() {
return javaupm_uln200xaJNI._uln200xa_context_currentStep_get(swigCPtr, this);
}
public void setStepDelay(long value) {
javaupm_uln200xaJNI._uln200xa_context_stepDelay_set(swigCPtr, this, value);
}
public long getStepDelay() {
return javaupm_uln200xaJNI._uln200xa_context_stepDelay_get(swigCPtr, this);
}
public void setStepDirection(int value) {
javaupm_uln200xaJNI._uln200xa_context_stepDirection_set(swigCPtr, this, value);
}
public int getStepDirection() {
return javaupm_uln200xaJNI._uln200xa_context_stepDirection_get(swigCPtr, this);
}
public _uln200xa_context() {
this(javaupm_uln200xaJNI.new__uln200xa_context(), true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy