ERIS CORE

◆ onAnalog1()

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

class specific onAnalog1 implementation

Parameters
uval
fval

Reimplemented from AppBaseClass.

Definition at line 691 of file AppWren.h.

691  {
693  return;
694  } else{
695  wrenEnsureSlots(vm, 4);
696  wrenSetSlotHandle(vm, 0, h_slot0);//App
697  wrenSetSlotDouble(vm, 1, fval);//param
698  if (!isWrenResultOK(wrenCall(vm,h_onAnalog1))){
700  };
701  }
702  };
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_onAnalog1
Definition: AppWren.h:789
WrenHandle * h_slot0
Definition: AppWren.h:781

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

+ Here is the call graph for this function: