コード例 #1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("onInit", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateICaptureEventHandler_0(SwigDirectoronInit);
     }
     if (SwigDerivedClassHasMethod("onUpdate", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateICaptureEventHandler_1(SwigDirectoronUpdate);
     }
     if (SwigDerivedClassHasMethod("onRelease", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateICaptureEventHandler_2(SwigDirectoronRelease);
     }
     if (SwigDerivedClassHasMethod("onBeginCapture", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateICaptureEventHandler_3(SwigDirectoronBeginCapture);
     }
     if (SwigDerivedClassHasMethod("onEndCapture", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateICaptureEventHandler_4(SwigDirectoronEndCapture);
     }
     if (SwigDerivedClassHasMethod("onUserRequestBuffer", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateICaptureEventHandler_5(SwigDirectoronUserRequestBuffer);
     }
     cAudioCSharpWrapperPINVOKE.ICaptureEventHandler_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5);
 }
コード例 #2
0
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("onInit", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateICaptureEventHandler_0(SwigDirectoronInit);
   if (SwigDerivedClassHasMethod("onUpdate", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateICaptureEventHandler_1(SwigDirectoronUpdate);
   if (SwigDerivedClassHasMethod("onRelease", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateICaptureEventHandler_2(SwigDirectoronRelease);
   if (SwigDerivedClassHasMethod("onBeginCapture", swigMethodTypes3))
     swigDelegate3 = new SwigDelegateICaptureEventHandler_3(SwigDirectoronBeginCapture);
   if (SwigDerivedClassHasMethod("onEndCapture", swigMethodTypes4))
     swigDelegate4 = new SwigDelegateICaptureEventHandler_4(SwigDirectoronEndCapture);
   if (SwigDerivedClassHasMethod("onUserRequestBuffer", swigMethodTypes5))
     swigDelegate5 = new SwigDelegateICaptureEventHandler_5(SwigDirectoronUserRequestBuffer);
   cAudioCSharpWrapperPINVOKE.ICaptureEventHandler_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5);
 }