Class: OpalKelly::OkTTriggerEntry
- Inherits:
-
Object
- Object
- OpalKelly::OkTTriggerEntry
- Defined in:
- ext/OpalKelly/FrontPanelDLL_wrap.cxx
Instance Method Summary collapse
- #address(*args) ⇒ Object
- #address=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #mask(*args) ⇒ Object
- #mask=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16366
SWIGINTERN VALUE
_wrap_new_okTTriggerEntry(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "OpalKelly::okTTriggerEntry";
okTTriggerEntry *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (okTTriggerEntry *)new okTTriggerEntry();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#address(*args) ⇒ Object
16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16274
SWIGINTERN VALUE
_wrap_okTTriggerEntry_address_get(int argc, VALUE *argv, VALUE self) {
okTTriggerEntry *arg1 = (okTTriggerEntry *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
UINT32 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_okTTriggerEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTTriggerEntry *","address", 1, self ));
}
arg1 = reinterpret_cast< okTTriggerEntry * >(argp1);
result = (UINT32) ((arg1)->address);
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
|
#address=(*args) ⇒ Object
16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16245
SWIGINTERN VALUE
_wrap_okTTriggerEntry_address_set(int argc, VALUE *argv, VALUE self) {
okTTriggerEntry *arg1 = (okTTriggerEntry *) 0 ;
UINT32 arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTTriggerEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTTriggerEntry *","address", 1, self ));
}
arg1 = reinterpret_cast< okTTriggerEntry * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","address", 2, argv[0] ));
}
arg2 = static_cast< UINT32 >(val2);
if (arg1) (arg1)->address = arg2;
return Qnil;
fail:
return Qnil;
}
|
#mask(*args) ⇒ Object
16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16327
SWIGINTERN VALUE
_wrap_okTTriggerEntry_mask_get(int argc, VALUE *argv, VALUE self) {
okTTriggerEntry *arg1 = (okTTriggerEntry *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
UINT32 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_okTTriggerEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTTriggerEntry *","mask", 1, self ));
}
arg1 = reinterpret_cast< okTTriggerEntry * >(argp1);
result = (UINT32) ((arg1)->mask);
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
|
#mask=(*args) ⇒ Object
16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 16298
SWIGINTERN VALUE
_wrap_okTTriggerEntry_mask_set(int argc, VALUE *argv, VALUE self) {
okTTriggerEntry *arg1 = (okTTriggerEntry *) 0 ;
UINT32 arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_okTTriggerEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTTriggerEntry *","mask", 1, self ));
}
arg1 = reinterpret_cast< okTTriggerEntry * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","mask", 2, argv[0] ));
}
arg2 = static_cast< UINT32 >(val2);
if (arg1) (arg1)->mask = arg2;
return Qnil;
fail:
return Qnil;
}
|