ERIS CORE

◆ onAnalog2()

void AppWren::onAnalog2 ( uint16_t  uval,
float  fval 
)
inlineoverrideprotectedvirtual

class specific onAnalog2 implementation

Parameters
uval
fval

Reimplemented from AppBaseClass.

Definition at line 710 of file AppWren.h.

710  {
712  return;
713  } else{
714  wrenEnsureSlots(vm, 4);
715  wrenSetSlotHandle(vm, 0, h_slot0);//App
716  wrenSetSlotDouble(vm, 1, fval);//param
717  if (!isWrenResultOK(wrenCall(vm,h_onAnalog2))){
719  };
720  }
721  };
void releaseWrenHandles()
release any/all Wren embedded call handles
Definition: AppWren.cpp:1651
bool isWrenResultOK(WrenInterpretResult res)
Definition: AppWren.h:543
bool enable_call_forwarding
Definition: AppWren.h:765
WrenVM * vm
Definition: AppWren.h:780
WrenHandle * h_slot0
Definition: AppWren.h:781
WrenHandle * h_onAnalog2
Definition: AppWren.h:790

References enable_call_forwarding, h_onAnalog2, h_slot0, isWrenResultOK(), releaseWrenHandles(), and vm.

+ Here is the call graph for this function: