/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version: 1.3.21
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


Class name: Breakpoint extends: SwigProxy fields: swigCPtrForBreakpoint, swigCMemoryOwn {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    swigCMemoryOwn := newCMemoryOwn.
    swigCPtrForBreakpoint := newCPtr.
  ]

  Method [ getCPtrForBreakpoint
    ^swigCPtrForBreakpoint
  ]


  Function [ new
    self noDefaultConstructorError
  ]

  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

  Method [ delete 
    (swigCMemoryOwn and:[ swigCPtrForBreakpoint ~~ 0 ]) ifTrue:[
      swigCMemoryOwn := false.
      LorisNI lorisNI_delete_Breakpoint: swigCPtrForBreakpoint.
    ].
    swigCPtrForBreakpoint := 0.
  ]

  Function[ getCPtr: obj
     obj isNil ifTrue:[^0].
     ^obj getCPtrForBreakpoint
  ]

  Function [ f: f a: a b: b p: p
    ^self fromPointer: (LorisNI lorisNI_new_Breakpoint__SWIG_0: f, a, b, p) memoryOwn: true
  ]

  Function [ f: f a: a b: b
    ^self fromPointer: (LorisNI lorisNI_new_Breakpoint__SWIG_1: f, a, b) memoryOwn: true
  ]

  Function [ rhs: rhs
    ^self fromPointer: (LorisNI lorisNI_new_Breakpoint__SWIG_2: (Breakpoint getCPtr: rhs)) memoryOwn: true
  ]

  Method [ frequency 
    ^LorisNI lorisNI_Breakpoint_frequency: swigCPtrForBreakpoint 
  ]

  Method [ amplitude 
    ^LorisNI lorisNI_Breakpoint_amplitude: swigCPtrForBreakpoint 
  ]

  Method [ bandwidth 
    ^LorisNI lorisNI_Breakpoint_bandwidth: swigCPtrForBreakpoint 
  ]

  Method [ phase 
    ^LorisNI lorisNI_Breakpoint_phase: swigCPtrForBreakpoint 
  ]

  Method [ setFrequency: x 
    LorisNI lorisNI_Breakpoint_setFrequency: swigCPtrForBreakpoint with: x
  ]

  Method [ setAmplitude: x 
    LorisNI lorisNI_Breakpoint_setAmplitude: swigCPtrForBreakpoint with: x
  ]

  Method [ setBandwidth: x 
    LorisNI lorisNI_Breakpoint_setBandwidth: swigCPtrForBreakpoint with: x
  ]

  Method [ setPhase: x 
    LorisNI lorisNI_Breakpoint_setPhase: swigCPtrForBreakpoint with: x
  ]

}
