本文整理汇总了C++中CCANMonitorApp::vSetConfigurationModified方法的典型用法代码示例。如果您正苦于以下问题:C++ CCANMonitorApp::vSetConfigurationModified方法的具体用法?C++ CCANMonitorApp::vSetConfigurationModified怎么用?C++ CCANMonitorApp::vSetConfigurationModified使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CCANMonitorApp
的用法示例。
在下文中一共展示了CCANMonitorApp::vSetConfigurationModified方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: vSetFlagStatus
VOID CFlags::vSetFlagStatus(eCANMONITORFLAG eWhichFlag, INT nValue)
{
m_omCriticalSec.Lock();
switch( eWhichFlag )
{
case LOGTODISPLAY:
m_bLogToWindow = nValue;
break;
case LOGTOFILE:
{
if (m_bLogEnable != nValue)
{
theApp.vSetConfigurationModified();
}
m_bLogEnable = nValue ;
}
break;
case LOGTOFILE_LIN:
{
if (m_bLogEnable != nValue)
{
theApp.vSetConfigurationModified();
}
m_bLogEnable = nValue ;
}
break;
case REPLAYMODE:
m_wReplayMode = (WORD)nValue ;
break;
case REPLAYFILESELECTED:
m_bReplayFileSelected = nValue;
break;
case LOGFILTER:
if ( m_bLogFilterOn != nValue )
{
theApp.vSetConfigurationModified();
}
m_bLogFilterOn = nValue ;
break;
case LOGFILTER_LIN:
if ( m_bLogFilterOnLIN != nValue )
{
theApp.vSetConfigurationModified();
}
m_bLogFilterOnLIN = nValue ;
break;
case DISPLAYFILTERON :
if ( m_bDisplayFilterOn != nValue)
{
theApp.vSetConfigurationModified();
}
m_bDisplayFilterOn = nValue;
break;
case DISPLAYFILTERONLIN :
if ( m_bDisplayFilterOnLin != nValue)
{
theApp.vSetConfigurationModified();
}
m_bDisplayFilterOnLin = nValue;
break;
case TRANSLATIONMODE :
if ( m_bTranslationMode != nValue)
{
theApp.vSetConfigurationModified();
}
m_bTranslationMode = nValue;
break;
case FILTERUNDEFINEDMSGS :
m_bFilterUndefinedMsgs = nValue;
break;
case RXMSG :
m_bRxMsg = nValue;
break;
case SELECTDATABASEFILE :
m_bSelectDatabaseFile = nValue ;
break;
case DLLLOADED :
m_bDllLoaded = nValue;
break;
case TIMERBUTTON :
m_bTimerButtonOn = nValue;
break;
case MSGHANDLERBUTTON :
m_bMsgHandlerOn = nValue;
break;
case FUNCEDITOR :
m_bFunctionEditorOn = nValue;
break;
case FILTERTXMSGS :
m_bFilterTxMsg = nValue;
break;
case DBOPEN :
m_bDbOpen = nValue;
break;
//.........这里部分代码省略.........