本文整理汇总了C++中QLibrary::isLoaded方法的典型用法代码示例。如果您正苦于以下问题:C++ QLibrary::isLoaded方法的具体用法?C++ QLibrary::isLoaded怎么用?C++ QLibrary::isLoaded使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QLibrary
的用法示例。
在下文中一共展示了QLibrary::isLoaded方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ReleaseLibraries
void ReleaseLibraries(void)
{
if(eCompass.isLoaded())
{
eCompass.unload();
}
if(Altimeter.isLoaded())
{
Altimeter.unload();
}
if(Nordic.isLoaded())
{
Nordic.unload();
}
if(GPS.isLoaded())
{
GPS.unload();
}
}
示例2: LoadLibraries
//General library functions
void LoadLibraries(void)
{
//Load Library eCompass
if(!eCompass.isLoaded())
{
eCompass.load();
}
if(!Altimeter.isLoaded())
{
Altimeter.load();
}
if(!Nordic.isLoaded())
{
Nordic.load();
}
if(!GPS.isLoaded())
{
GPS.load();
}
}
示例3: eCompass_GetVersion
//eComnpass libray funcitons
void eCompass_GetVersion(int *pMajorVer, int *pMinorVer)
{
if(eCompass.isLoaded())
{
pFuncGetVersion eCompass_GetVersion = (pFuncGetVersion) eCompass.resolve("eCompass_GetVersion");
if(eCompass_GetVersion)
{
eCompass_GetVersion(pMajorVer, pMinorVer);
}
}
}
示例4: HRS_Stop
BOOL HRS_Stop(void)
{
if(Nordic.isLoaded())
{
pFuncGetBool HRS_Stop = (pFuncGetBool)Nordic.resolve("HRS_Stop");
if(HRS_Stop)
{
return HRS_Stop();
}
}
return FALSE;
}
示例5: HRS_GetHeartRate
UCHAR HRS_GetHeartRate(void)
{
if(Nordic.isLoaded())
{
pFuncGetUCHAR HRS_GetHeartRate = (pFuncGetUCHAR)Nordic.resolve("HRS_GetHeartRate");
if(HRS_GetHeartRate)
{
return HRS_GetHeartRate();
}
}
return NULL;
}
示例6: eCompass_Stop
BOOL eCompass_Stop()
{
if(eCompass.isLoaded())
{
pFuncGetInt eCompass_Stop = (pFuncGetInt) eCompass.resolve("eCompass_Stop");
if(eCompass_Stop)
{
return eCompass_Stop();
}
}
return FALSE;
}
示例7: NOR_GetChStatus
UCHAR NOR_GetChStatus(UCHAR ucChannel)
{
if(Nordic.isLoaded())
{
pFuncGetUCHARParamUCHAR NOR_GetChStatus = (pFuncGetUCHARParamUCHAR)Nordic.resolve("NOR_GetChStatus");
if(NOR_GetChStatus)
{
return NOR_GetChStatus(ucChannel);
}
}
return NULL;
}
示例8: NOR_Close
BOOL NOR_Close(void)
{
if(Nordic.isLoaded())
{
pFuncGetBool NOR_Close = (pFuncGetBool)Nordic.resolve("NOR_Close");
if(NOR_Close)
{
return NOR_Close();
}
}
return FALSE;
}
示例9: CAD_GetCandence
USHORT CAD_GetCandence(void)
{
if(Nordic.isLoaded())
{
pFuncGetUShort CAD_GetCandence = (pFuncGetUShort)Nordic.resolve("CAD_GetCandence");
if(CAD_GetCandence)
{
return CAD_GetCandence();
}
}
return NULL;
}
示例10: NOR_Open
BOOL NOR_Open(void)
{
if(Nordic.isLoaded())
{
pFuncGetBool NOR_Open = (pFuncGetBool)Nordic.resolve("NOR_Open");
if(NOR_Open)
{
return NOR_Open();
}
}
return FALSE;
}
示例11: SND_Stop
BOOL SND_Stop(void)
{
if(Nordic.isLoaded())
{
pFuncGetBool SND_Stop = (pFuncGetBool)Nordic.resolve("SND_Stop");
if(SND_Stop)
{
return SND_Stop();
}
}
return FALSE;
}
示例12: SND_Start
BOOL SND_Start(void)
{
if(Nordic.isLoaded())
{
pFuncGetBool SND_Start = (pFuncGetBool)Nordic.resolve("SND_Start");
if(SND_Start)
{
return SND_Start();
}
}
return FALSE;
}
示例13: SND_SendTxBuf
BOOL SND_SendTxBuf(UCHAR *ucTxBuf)
{
if(Nordic.isLoaded())
{
pFuncGetBoolParamUCharPt SND_SendTxBuf = (pFuncGetBoolParamUCharPt)Nordic.resolve("SND_SendTxBuf");
if(SND_SendTxBuf)
{
return SND_SendTxBuf(ucTxBuf);
}
}
return FALSE;
}
示例14: RTK_GetRxBuf
UCHAR* RTK_GetRxBuf(void)
{
if(Nordic.isLoaded())
{
pFuncGetUCHARPt RTK_GetRxBuf = (pFuncGetUCHARPt)Nordic.resolve("RTK_GetRxBuf");
if(RTK_GetRxBuf)
{
return RTK_GetRxBuf();
}
}
return NULL;
}
示例15: RTK_Stop
BOOL RTK_Stop(void)
{
if(Nordic.isLoaded())
{
pFuncGetBool RTK_Stop = (pFuncGetBool)Nordic.resolve("RTK_Stop");
if(RTK_Stop)
{
return RTK_Stop();
}
}
return FALSE;
}