/* ----------------------------------------------------------------------------
 * 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: BreakpointEnvelope extends: LinearEnvelope fields: swigCPtrForBreakpointEnvelope {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    super pvtSetCPtr: (LorisNI lorisNI_SWIGBreakpointEnvelopeToLinearEnvelope: newCPtr) memoryOwn: newCMemoryOwn.
    swigCPtrForBreakpointEnvelope := newCPtr.
  ]

  Method [ getCPtrForBreakpointEnvelope
    ^swigCPtrForBreakpointEnvelope
  ]


  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

  Method [ delete 
    (swigCMemoryOwn and:[ swigCPtrForBreakpointEnvelope ~~ 0 ]) ifTrue:[
      swigCMemoryOwn := false.
      LorisNI lorisNI_delete_BreakpointEnvelope: swigCPtrForBreakpointEnvelope.
    ].
    swigCPtrForBreakpointEnvelope := 0.
    super delete.
  ]

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

  Function [ new
    ^self fromPointer: (LorisNI lorisNI_new_BreakpointEnvelope__SWIG_0) memoryOwn: true
  ]

  Function [ arg0: arg0
    ^self fromPointer: (LorisNI lorisNI_new_BreakpointEnvelope__SWIG_1: (BreakpointEnvelope getCPtr: arg0)) memoryOwn: true
  ]

  Function [ initialValue: initialValue
    ^self fromPointer: (LorisNI lorisNI_new_BreakpointEnvelope__SWIG_2: initialValue) memoryOwn: true
  ]

  Method [ insertBreakpoint: time value: value 
    LorisNI lorisNI_BreakpointEnvelope_insertBreakpoint: swigCPtrForBreakpointEnvelope with: time with: value
  ]

  Method [ valueAt: x 
    ^LorisNI lorisNI_BreakpointEnvelope_valueAt: swigCPtrForBreakpointEnvelope with: x
  ]

}
