/* ----------------------------------------------------------------------------
 * 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: BreakpointPosition extends: SwigProxy fields: swigCPtrForBreakpointPosition, swigCMemoryOwn {

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

  Method [ getCPtrForBreakpointPosition
    ^swigCPtrForBreakpointPosition
  ]


  Function [ new
    self noDefaultConstructorError
  ]

  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

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

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

  Method [ time 
    ^LorisNI lorisNI_BreakpointPosition_time: swigCPtrForBreakpointPosition 
  ]

  Method [ breakpoint 
    |cPtr|
    cPtr := LorisNI lorisNI_BreakpointPosition_breakpoint: swigCPtrForBreakpointPosition .
    ^(cPtr == 0) ifTrue:[ nil ] ifFalse:[ Breakpoint fromPointer: cPtr memoryOwn: false ]
  ]

  Method [ frequency 
    ^LorisNI lorisNI_BreakpointPosition_frequency: swigCPtrForBreakpointPosition 
  ]

  Method [ amplitude 
    ^LorisNI lorisNI_BreakpointPosition_amplitude: swigCPtrForBreakpointPosition 
  ]

  Method [ bandwidth 
    ^LorisNI lorisNI_BreakpointPosition_bandwidth: swigCPtrForBreakpointPosition 
  ]

  Method [ phase 
    ^LorisNI lorisNI_BreakpointPosition_phase: swigCPtrForBreakpointPosition 
  ]

  Method [ setFrequency: x 
    LorisNI lorisNI_BreakpointPosition_setFrequency: swigCPtrForBreakpointPosition with: x
  ]

  Method [ setAmplitude: x 
    LorisNI lorisNI_BreakpointPosition_setAmplitude: swigCPtrForBreakpointPosition with: x
  ]

  Method [ setBandwidth: x 
    LorisNI lorisNI_BreakpointPosition_setBandwidth: swigCPtrForBreakpointPosition with: x
  ]

  Method [ setPhase: x 
    LorisNI lorisNI_BreakpointPosition_setPhase: swigCPtrForBreakpointPosition with: x
  ]

}
