Class: OpalKelly::CallbackInfo

Inherits:
Object
  • Object
show all
Defined in:
ext/OpalKelly/FrontPanelDLL_wrap.cxx

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object



25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 25550

SWIGINTERN VALUE
_wrap_new_CallbackInfo(int argc, VALUE *argv, VALUE self) {
  const char *classname SWIGUNUSED = "OpalKelly::CallbackInfo";
  OpalKelly::FrontPanelManager::CallbackInfo *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (OpalKelly::FrontPanelManager::CallbackInfo *)new OpalKelly::FrontPanelManager::CallbackInfo();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}

Instance Method Details

#IsUsed(*args) ⇒ Object



25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 25566

SWIGINTERN VALUE
_wrap_CallbackInfo_IsUsed(int argc, VALUE *argv, VALUE self) {
  OpalKelly::FrontPanelManager::CallbackInfo *arg1 = (OpalKelly::FrontPanelManager::CallbackInfo *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKelly__FrontPanelManager__CallbackInfo, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKelly::FrontPanelManager::CallbackInfo const *","IsUsed", 1, self )); 
  }
  arg1 = reinterpret_cast< OpalKelly::FrontPanelManager::CallbackInfo * >(argp1);
  result = (bool)((OpalKelly::FrontPanelManager::CallbackInfo const *)arg1)->IsUsed();
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}