/// <summary>Efl sinusoidal interpolator class
/// output = (1 - cos(input * Pi)) / 2;</summary>
[Efl.SinusoidalInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class SinusoidalInterpolator : Efl.Object, Efl.IInterpolator
{
///<summary>Pointer to the native class description.</summary>
/// <summary>Initializes a new instance of the <see cref="SinusoidalInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public SinusoidalInterpolator(Efl.Object parent= null
- ) : base(efl_sinusoidal_interpolator_class_get(), typeof(SinusoidalInterpolator), parent)
+ ) : base(efl_sinusoidal_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected SinusoidalInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="SinusoidalInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected SinusoidalInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected SinusoidalInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="SinusoidalInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected SinusoidalInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected SinusoidalInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <summary>Factor property</summary>
/// <returns>Factor of the interpolation function.</returns>
virtual public double GetFactor() {
- var _ret_var = Efl.SinusoidalInterpolator.NativeMethods.efl_sinusoidal_interpolator_factor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.SinusoidalInterpolator.NativeMethods.efl_sinusoidal_interpolator_factor_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// <summary>Factor property</summary>
/// <param name="factor">Factor of the interpolation function.</param>
virtual public void SetFactor(double factor) {
- Efl.SinusoidalInterpolator.NativeMethods.efl_sinusoidal_interpolator_factor_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor);
+ Efl.SinusoidalInterpolator.NativeMethods.efl_sinusoidal_interpolator_factor_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}