Class: OpalKelly::CallbackInfo
- Inherits:
-
Object
- Object
- OpalKelly::CallbackInfo
- Defined in:
- ext/OpalKelly/FrontPanelDLL_wrap.cxx
Instance Method Summary collapse
- #initialize(*args) ⇒ Object constructor
- #IsUsed(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
25573 25574 25575 25576 25577 25578 25579 25580 25581 25582 25583 25584 25585 25586 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 25573
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
25589 25590 25591 25592 25593 25594 25595 25596 25597 25598 25599 25600 25601 25602 25603 25604 25605 25606 25607 25608 25609 25610 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 25589
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;
}
|