void DataObserverAdapter::_Update(const Binary& arMeas, size_t aIndex) { JNIEnv* pEnv = GetEnv(); jboolean value = arMeas.GetValue(); jbyte quality = arMeas.GetQuality(); jlong timestamp = arMeas.GetTime(); jlong index = aIndex; pEnv->CallVoidMethod(mProxy, mUpdateBinaryInput, value, quality, timestamp, index); }
Binary IntegrationTest::Next(const Binary& arPoint) { Binary point(!arPoint.GetValue(), arPoint.GetQuality()); return point; }