public unsafe void HandleLearningEvent(global::Org.Neuroph.Core.Events.LearningEvent p0) { if (id_handleLearningEvent_Lorg_neuroph_core_events_LearningEvent_ == IntPtr.Zero) { id_handleLearningEvent_Lorg_neuroph_core_events_LearningEvent_ = JNIEnv.GetMethodID(class_ref, "handleLearningEvent", "(Lorg/neuroph/core/events/LearningEvent;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_handleLearningEvent_Lorg_neuroph_core_events_LearningEvent_, __args); }
public virtual unsafe void HandleLearningEvent(global::Org.Neuroph.Core.Events.LearningEvent p0) { if (id_handleLearningEvent_Lorg_neuroph_core_events_LearningEvent_ == IntPtr.Zero) { id_handleLearningEvent_Lorg_neuroph_core_events_LearningEvent_ = JNIEnv.GetMethodID(class_ref, "handleLearningEvent", "(Lorg/neuroph/core/events/LearningEvent;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_handleLearningEvent_Lorg_neuroph_core_events_LearningEvent_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "handleLearningEvent", "(Lorg/neuroph/core/events/LearningEvent;)V"), __args); } } finally { } }
static void n_HandleLearningEvent_Lorg_neuroph_core_events_LearningEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Neuroph.Samples.Uci.ConcreteStrenghtTestSample __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Samples.Uci.ConcreteStrenghtTestSample> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Neuroph.Core.Events.LearningEvent p0 = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Events.LearningEvent> (native_p0, JniHandleOwnership.DoNotTransfer); __this.HandleLearningEvent(p0); }
static void n_HandleLearningEvent_Lorg_neuroph_core_events_LearningEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Neuroph.Core.Events.ILearningEventListener __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Events.ILearningEventListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Neuroph.Core.Events.LearningEvent p0 = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Events.LearningEvent> (native_p0, JniHandleOwnership.DoNotTransfer); __this.HandleLearningEvent(p0); }
static IntPtr n_GetEventType(IntPtr jnienv, IntPtr native__this) { global::Org.Neuroph.Core.Events.LearningEvent __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Events.LearningEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.EventType)); }
static void n_HandleLearningEvent_Lorg_neuroph_core_events_LearningEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Neuroph.Contrib.Samples.Timeseries.TestTimeSeries __this = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Contrib.Samples.Timeseries.TestTimeSeries> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Neuroph.Core.Events.LearningEvent p0 = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Core.Events.LearningEvent> (native_p0, JniHandleOwnership.DoNotTransfer); __this.HandleLearningEvent(p0); }