IStatus constructor
IStatus(
- FbInterface self
Constructs the wrapper around the native IStatus interface.
The self
argument should be the raw pointer returned by
the IMaster._getStatus
method.
The public IMaster.getStatus method returns the status already
wrapped, so there should be no need to use the generative constructor
directly.
Implementation
IStatus(super.self) {
startIndex = super.startIndex + super.methodCount;
methodCount = 9;
var idx = startIndex;
_init = Pointer<NativeFunction<Void Function(FbInterface)>>.fromAddress(
vtable[idx++])
.asFunction();
_getState =
Pointer<NativeFunction<UintPtr Function(FbInterface)>>.fromAddress(
vtable[idx++])
.asFunction();
_setErrors2 = Pointer<
NativeFunction<
Void Function(FbInterface, UintPtr,
StatusVec)>>.fromAddress(vtable[idx++])
.asFunction();
_setWarnings2 = Pointer<
NativeFunction<
Void Function(FbInterface, UintPtr,
StatusVec)>>.fromAddress(vtable[idx++])
.asFunction();
_setErrors = Pointer<
NativeFunction<
Void Function(
FbInterface, StatusVec)>>.fromAddress(vtable[idx++])
.asFunction();
_setWarnings = Pointer<
NativeFunction<
Void Function(
FbInterface, StatusVec)>>.fromAddress(vtable[idx++])
.asFunction();
_getErrors = Pointer<
NativeFunction<
StatusVec Function(
FbInterface self)>>.fromAddress(vtable[idx++])
.asFunction();
_getWarnings = Pointer<
NativeFunction<
StatusVec Function(
FbInterface self)>>.fromAddress(vtable[idx++])
.asFunction();
_clone =
Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
vtable[idx++])
.asFunction();
}