Class: OpalKelly::OkTFlashLayout
- Inherits:
-
Object
- Object
- OpalKelly::OkTFlashLayout
- Defined in:
- ext/OpalKelly/FrontPanelDLL_wrap.cxx
Instance Method Summary collapse
- #initialize(*args) ⇒ Object constructor
- #maxUserSector(*args) ⇒ Object
- #maxUserSector=(*args) ⇒ Object
- #minUserSector(*args) ⇒ Object
- #minUserSector=(*args) ⇒ Object
- #pageSize(*args) ⇒ Object
- #pageSize=(*args) ⇒ Object
- #sectorCount(*args) ⇒ Object
- #sectorCount=(*args) ⇒ Object
- #sectorSize(*args) ⇒ Object
- #sectorSize=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17433
SWIGINTERN VALUE
_wrap_new_okTFlashLayout(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "OpalKelly::okTFlashLayout";
okTFlashLayout *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (okTFlashLayout *)new okTFlashLayout();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#maxUserSector(*args) ⇒ Object
17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17394
SWIGINTERN VALUE
_wrap_okTFlashLayout_maxUserSector_get(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","maxUserSector", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
result = (UINT32) ((arg1)->maxUserSector);
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
|
#maxUserSector=(*args) ⇒ Object
17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17365
SWIGINTERN VALUE
_wrap_okTFlashLayout_maxUserSector_set(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","maxUserSector", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","maxUserSector", 2, argv[0] ));
}
arg2 = static_cast< UINT32 >(val2);
if (arg1) (arg1)->maxUserSector = arg2;
return Qnil;
fail:
return Qnil;
}
|
#minUserSector(*args) ⇒ Object
17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17341
SWIGINTERN VALUE
_wrap_okTFlashLayout_minUserSector_get(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","minUserSector", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
result = (UINT32) ((arg1)->minUserSector);
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
|
#minUserSector=(*args) ⇒ Object
17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17312
SWIGINTERN VALUE
_wrap_okTFlashLayout_minUserSector_set(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","minUserSector", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","minUserSector", 2, argv[0] ));
}
arg2 = static_cast< UINT32 >(val2);
if (arg1) (arg1)->minUserSector = arg2;
return Qnil;
fail:
return Qnil;
}
|
#pageSize(*args) ⇒ Object
17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17288
SWIGINTERN VALUE
_wrap_okTFlashLayout_pageSize_get(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","pageSize", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
result = (UINT32) ((arg1)->pageSize);
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
|
#pageSize=(*args) ⇒ Object
17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17259
SWIGINTERN VALUE
_wrap_okTFlashLayout_pageSize_set(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","pageSize", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","pageSize", 2, argv[0] ));
}
arg2 = static_cast< UINT32 >(val2);
if (arg1) (arg1)->pageSize = arg2;
return Qnil;
fail:
return Qnil;
}
|
#sectorCount(*args) ⇒ Object
17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17182
SWIGINTERN VALUE
_wrap_okTFlashLayout_sectorCount_get(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","sectorCount", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
result = (UINT32) ((arg1)->sectorCount);
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
|
#sectorCount=(*args) ⇒ Object
17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17153
SWIGINTERN VALUE
_wrap_okTFlashLayout_sectorCount_set(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","sectorCount", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","sectorCount", 2, argv[0] ));
}
arg2 = static_cast< UINT32 >(val2);
if (arg1) (arg1)->sectorCount = arg2;
return Qnil;
fail:
return Qnil;
}
|
#sectorSize(*args) ⇒ Object
17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17235
SWIGINTERN VALUE
_wrap_okTFlashLayout_sectorSize_get(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","sectorSize", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
result = (UINT32) ((arg1)->sectorSize);
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return vresult;
fail:
return Qnil;
}
|
#sectorSize=(*args) ⇒ Object
17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 |
# File 'ext/OpalKelly/FrontPanelDLL_wrap.cxx', line 17206
SWIGINTERN VALUE
_wrap_okTFlashLayout_sectorSize_set(int argc, VALUE *argv, VALUE self) {
okTFlashLayout *arg1 = (okTFlashLayout *) 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_okTFlashLayout, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "okTFlashLayout *","sectorSize", 1, self ));
}
arg1 = reinterpret_cast< okTFlashLayout * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "UINT32","sectorSize", 2, argv[0] ));
}
arg2 = static_cast< UINT32 >(val2);
if (arg1) (arg1)->sectorSize = arg2;
return Qnil;
fail:
return Qnil;
}
|