Esempio n. 1
0
void DataObserverAdapter::_Update(const Counter& arMeas, size_t aIndex)
{
	JNIEnv* pEnv = GetEnv();

	jlong value = arMeas.GetValue();
	jbyte quality = arMeas.GetQuality();
	jlong timestamp = arMeas.GetTime();
	jlong index = aIndex;

	pEnv->CallVoidMethod(mProxy, mUpdateCounter, value, quality, timestamp, index);
}
Esempio n. 2
0
Counter IntegrationTest::Next(const Counter& arPoint)
{
	Counter point(arPoint.GetValue() + 1, arPoint.GetQuality());
	return point;
}