⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaugethresholdjni.cpp

📁 270的linux说明
💻 CPP
📖 第 1 页 / 共 3 页
字号:
	try	{		UInt64GaugeThreshold * TheUInt64GaugeThreshold = (UInt64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64GaugeThreshold->GetLowThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64GaugeThreshold"), IntelMobileText("GetLowThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UInt64GaugeThreshold * Method:    GetOffset * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_UInt64GaugeThreshold_GetOffsetNative (JNIEnv *JniEnv, jobject JObject){	try	{		UInt64GaugeThreshold * TheUInt64GaugeThreshold = (UInt64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64GaugeThreshold->GetOffset();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64GaugeThreshold"), IntelMobileText("GetOffset()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UInt64GaugeThreshold * Method:    SetHighThreshold * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UInt64GaugeThreshold_SetHighThresholdNative (JNIEnv *JniEnv, jobject JObject, jlong highThreshold){	try	{		UInt64GaugeThreshold * TheUInt64GaugeThreshold = (UInt64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64GaugeThreshold->SetHighThreshold( highThreshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64GaugeThreshold"), IntelMobileText("SetHighThreshold()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UInt64GaugeThreshold * Method:    SetLowThreshold * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UInt64GaugeThreshold_SetLowThresholdNative (JNIEnv *JniEnv, jobject JObject, jlong lowThreshold){	try	{		UInt64GaugeThreshold * TheUInt64GaugeThreshold = (UInt64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64GaugeThreshold->SetLowThreshold( lowThreshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64GaugeThreshold"), IntelMobileText("SetLowThreshold()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UInt64GaugeThreshold * Method:    SetOffset * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UInt64GaugeThreshold_SetOffsetNative (JNIEnv *JniEnv, jobject JObject, jlong offset){	try	{		UInt64GaugeThreshold * TheUInt64GaugeThreshold = (UInt64GaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64GaugeThreshold->SetOffset( offset );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64GaugeThreshold"), IntelMobileText("SetOffset()") );	}	return NULL;}/********************************************* UIntGauge ********************************************//* * Class:     com_intel_mobile_threshold_UIntGaugeThreshold * Method:    constructor * Signature: ()V */JNIEXPORT void JNICALL Java_com_intel_mobile_threshold_UIntGaugeThreshold_constructor (JNIEnv *JniEnv, jobject JObject){	try	{		UIntGaugeThreshold * TheUIntGaugeThreshold = new UIntGaugeThreshold();		Set_nativeObjRef( JniEnv, JObject, (jlong) TheUIntGaugeThreshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntGaugeThreshold"), IntelMobileText("constructor") );	}}/* * Class:     com_intel_mobile_threshold_UIntGaugeThreshold * Method:    SetObservedProperty * Signature: (Lcom/intel/mobile/base/UIntProperty;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UIntGaugeThreshold_SetObservedPropertyNative (JNIEnv *JniEnv, jobject JObject, jobject observedProperty){	try	{		UIntGaugeThreshold * TheUIntGaugeThreshold = (UIntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		UIntProperty * MyUIntProperty = (UIntProperty *) Get_nativeObjRef(JniEnv, observedProperty);		return TheUIntGaugeThreshold->SetObservedProperty( *MyUIntProperty );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntGaugeThreshold"), IntelMobileText("SetObservedProperty()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntGaugeThreshold * Method:    GetHighThreshold * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_UIntGaugeThreshold_GetHighThresholdNative (JNIEnv *JniEnv, jobject JObject){	try	{		UIntGaugeThreshold * TheUIntGaugeThreshold = (UIntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntGaugeThreshold->GetHighThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntGaugeThreshold"), IntelMobileText("GetHighThreshold()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntGaugeThreshold * Method:    GetLowThreshold * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_UIntGaugeThreshold_GetLowThresholdNative (JNIEnv *JniEnv, jobject JObject){	try	{		UIntGaugeThreshold * TheUIntGaugeThreshold = (UIntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntGaugeThreshold->GetLowThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntGaugeThreshold"), IntelMobileText("GetLowThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntGaugeThreshold * Method:    GetOffset * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_UIntGaugeThreshold_GetOffsetNative (JNIEnv *JniEnv, jobject JObject){	try	{		UIntGaugeThreshold * TheUIntGaugeThreshold = (UIntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntGaugeThreshold->GetOffset();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntGaugeThreshold"), IntelMobileText("GetOffset()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntGaugeThreshold * Method:    SetHighThreshold * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UIntGaugeThreshold_SetHighThresholdNative (JNIEnv *JniEnv, jobject JObject, jint highThreshold){	try	{		UIntGaugeThreshold * TheUIntGaugeThreshold = (UIntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntGaugeThreshold->SetHighThreshold( highThreshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntGaugeThreshold"), IntelMobileText("SetHighThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntGaugeThreshold * Method:    SetLowThreshold * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UIntGaugeThreshold_SetLowThresholdNative (JNIEnv *JniEnv, jobject JObject, jint lowThreshold){	try	{		UIntGaugeThreshold * TheUIntGaugeThreshold = (UIntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntGaugeThreshold->SetLowThreshold( lowThreshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntGaugeThreshold"), IntelMobileText("SetLowThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntGaugeThreshold * Method:    SetOffset * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UIntGaugeThreshold_SetOffsetNative (JNIEnv *JniEnv, jobject JObject, jint offset){	try	{		UIntGaugeThreshold * TheUIntGaugeThreshold = (UIntGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntGaugeThreshold->SetOffset( offset );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntGaugeThreshold"), IntelMobileText("SetOffset()") );	}	return NULL;}/********************************************* FloatGauge ********************************************//* * Class:     com_intel_mobile_threshold_FloatGaugeThreshold * Method:    constructor * Signature: ()V */JNIEXPORT void JNICALL Java_com_intel_mobile_threshold_FloatGaugeThreshold_constructor (JNIEnv *JniEnv, jobject JObject){	try	{		FloatGaugeThreshold * TheFloatGaugeThreshold = new FloatGaugeThreshold();		Set_nativeObjRef( JniEnv, JObject, (jlong) TheFloatGaugeThreshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("FloatGaugeThreshold"), IntelMobileText("constructor"));	}}/* * Class:     com_intel_mobile_threshold_FloatGaugeThreshold * Method:    SetObservedProperty * Signature: (Lcom/intel/mobile/base/FloatProperty;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_FloatGaugeThreshold_SetObservedPropertyNative (JNIEnv *JniEnv, jobject JObject, jobject observedProperty){	try	{		FloatGaugeThreshold * TheFloatGaugeThreshold = (FloatGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		FloatProperty * MyFloatProperty = (FloatProperty *) Get_nativeObjRef(JniEnv, observedProperty);		return TheFloatGaugeThreshold->SetObservedProperty( *MyFloatProperty );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("FloatGaugeThreshold"), IntelMobileText("SetObservedProperty()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_FloatGaugeThreshold * Method:    GetHighThreshold * Signature: ()F */JNIEXPORT jfloat JNICALL Java_com_intel_mobile_threshold_FloatGaugeThreshold_GetHighThresholdNative (JNIEnv *JniEnv, jobject JObject){	try	{		FloatGaugeThreshold * TheFloatGaugeThreshold = (FloatGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheFloatGaugeThreshold->GetHighThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("FloatGaugeThreshold"), IntelMobileText("GetHighThreshold()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_FloatGaugeThreshold * Method:    GetLowThreshold * Signature: ()F */JNIEXPORT jfloat JNICALL Java_com_intel_mobile_threshold_FloatGaugeThreshold_GetLowThresholdNative (JNIEnv *JniEnv, jobject JObject){	try	{		FloatGaugeThreshold * TheFloatGaugeThreshold = (FloatGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheFloatGaugeThreshold->GetLowThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("FloatGaugeThreshold"), IntelMobileText("GetLowThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_FloatGaugeThreshold * Method:    GetOffset * Signature: ()F */JNIEXPORT jfloat JNICALL Java_com_intel_mobile_threshold_FloatGaugeThreshold_GetOffsetNative (JNIEnv *JniEnv, jobject JObject){	try	{		FloatGaugeThreshold * TheFloatGaugeThreshold = (FloatGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheFloatGaugeThreshold->GetLowThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("FloatGaugeThreshold"), IntelMobileText("GetOffset()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_FloatGaugeThreshold * Method:    SetHighThreshold * Signature: (F)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_FloatGaugeThreshold_SetHighThresholdNative (JNIEnv *JniEnv, jobject JObject, jfloat highThreshold){	try	{		FloatGaugeThreshold * TheFloatGaugeThreshold = (FloatGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheFloatGaugeThreshold->SetHighThreshold( highThreshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("FloatGaugeThreshold"), IntelMobileText("SetHighThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_FloatGaugeThreshold * Method:    SetLowThreshold * Signature: (F)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_FloatGaugeThreshold_SetLowThresholdNative (JNIEnv *JniEnv, jobject JObject, jfloat lowThreshold){	try	{		FloatGaugeThreshold * TheFloatGaugeThreshold = (FloatGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheFloatGaugeThreshold->SetLowThreshold( lowThreshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("FloatGaugeThreshold"), IntelMobileText("SetLowThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_FloatGaugeThreshold * Method:    SetOffset * Signature: (F)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_FloatGaugeThreshold_SetOffsetNative (JNIEnv *JniEnv, jobject JObject, jfloat offset){	try	{		FloatGaugeThreshold * TheFloatGaugeThreshold = (FloatGaugeThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheFloatGaugeThreshold->SetOffset( offset );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("FloatGaugeThreshold"), IntelMobileText("SetOffset()"));	}	return NULL;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -