当前位置: 首页>>代码示例>>C++>>正文


C++ UpdateInfo函数代码示例

本文整理汇总了C++中UpdateInfo函数的典型用法代码示例。如果您正苦于以下问题:C++ UpdateInfo函数的具体用法?C++ UpdateInfo怎么用?C++ UpdateInfo使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了UpdateInfo函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: cOsdMenu

cSatipMenuInfo::cSatipMenuInfo()
: cOsdMenu(tr("SAT>IP Information")),
  textM(""),
  timeoutM(),
  pageM(SATIP_DEVICE_INFO_GENERAL)
{
  SetMenuCategory(mcText);
  timeoutM.Set(eInfoTimeoutMs);
  UpdateInfo();
  SetHelp(tr("General"), tr("Pids"), tr("Filters"), tr("Bits/bytes"));
}
开发者ID:paluseb,项目名称:vdr-plugin-satip,代码行数:11,代码来源:setup.c

示例2: TransferDataFromWindow

void TileDlg::OnSize( wxCommandEvent &event )
{
	if (m_bSetting)
		return;

	TransferDataFromWindow();
	UpdateInfo();

	if (m_pView)
		m_pView->ShowGridMarks(m_area, m_iColumns, m_iRows, -1, -1);
}
开发者ID:kamalsirsa,项目名称:vtp,代码行数:11,代码来源:TileDlg.cpp

示例3: QueueOnObject

void FIFOPlayerWindow::StartRecording()
{
  // Start recording
  FifoRecorder::GetInstance().StartRecording(m_frame_record_count->value(), [this] {
    QueueOnObject(this, [this] { OnRecordingDone(); });
  });

  UpdateControls();

  UpdateInfo();
}
开发者ID:Tinob,项目名称:Ishiiruka,代码行数:11,代码来源:FIFOPlayerWindow.cpp

示例4: UpdateInfo

void ViewSceneScreen::Update(float32 timeElapsed)
{
    uint64 startTime = SystemTimer::Instance()->GetAbsoluteNano();

    BaseScreen::Update(timeElapsed);
    
    updateTime += (SystemTimer::Instance()->GetAbsoluteNano() - startTime);

//    UpdateCamera(timeElapsed);
    UpdateInfo(timeElapsed);
}
开发者ID:galek,项目名称:dava.framework,代码行数:11,代码来源:ViewSceneScreen.cpp

示例5: BuildDescriptionString

void IRCQuery::UpdateStatus( void )
{
  BuildDescriptionString();  
  if (m_pChildWnd)
  {
    CHILDFRAMEPTR(m_pChildWnd)->UpdateStatus();
    CHILDFRAMEPTR(m_pChildWnd)->m_HeaderView.UpdateHeader(m_DescriptionString);    
    UpdateInfo();
  }

  ::PostMessage(m_pServer->m_pChildWnd->m_hWnd,WM_UPDATEINFOPANE, (WPARAM)0, (LPARAM)NULL);
  g_pMainWnd->m_ServerListView.Update(this);
}
开发者ID:HydraIRC,项目名称:hydrairc,代码行数:13,代码来源:Query.cpp

示例6: Reset

void CUIFactionWarWnd::Update()
{
	inherited::Update();
	if ( !IsShown() )
	{
		Reset();
	}	
	if ( Device.dwTimeGlobal - m_previous_time > m_update_delay )
	{
		m_previous_time = Device.dwTimeGlobal;
		UpdateInfo();
	}
}
开发者ID:2asoft,项目名称:xray,代码行数:13,代码来源:UIFactionWarWnd.cpp

示例7: FitPosCB

void FitPosCB (Widget w, XtPointer clientData, XtPointer callData)
/* menu callback routine to fit position */
{
  int          isOK;
  ImageDisplay *IDdata = (ImageDisplay *)clientData;

/* use last position selected */
  image[CurImag].iFitted = FitPos(IDdata);
  UpdateInfo(IDdata);  /* write info in control info area*/
  isOK = image[CurImag].iFitted==1;
  if (doLog &&  isOK) DoLogger(); /* log if necessary */
  FitPos(IDdata);
} /* End FitPosCB */
开发者ID:OS2World,项目名称:APP-SCIENCE-Xfitsview,代码行数:13,代码来源:imagedisp.c

示例8: bsonCheckOnlyHasFields

    Status UpdatePositionArgs::initialize(const BSONObj& argsObj) {
        Status status = bsonCheckOnlyHasFields("UpdatePositionArgs",
                                               argsObj,
                                               kLegalUpdatePositionFieldNames);

        if (!status.isOK())
            return status;

        // grab the array of changes
        BSONElement updateArray;
        status = bsonExtractTypedField(argsObj, kUpdateArrayFieldName, Array, &updateArray);
        if (!status.isOK())
            return status;

        // now parse each array entry into an update
        BSONObjIterator i(updateArray.Obj());
        while(i.more()) {
            BSONObj entry = i.next().Obj();
            status = bsonCheckOnlyHasFields("UpdateInfoArgs",
                                            entry,
                                            kLegalUpdateInfoFieldNames);
            if (!status.isOK())
                return status;

            OpTime ts;
            status = bsonExtractOpTimeField(entry, kOpTimeFieldName, &ts);
            if (!status.isOK())
                return status;

            // TODO(spencer): The following three fields are optional in 2.8, but should be made
            // required or ignored in 3.0
            long long cfgver;
            status = bsonExtractIntegerFieldWithDefault(entry, kConfigVersionFieldName, -1, &cfgver);
            if (!status.isOK())
                return status;

            OID rid;
            status = bsonExtractOIDFieldWithDefault(entry, kMemberRIDFieldName, OID(), &rid);
            if (!status.isOK())
                return status;

            long long memberID;
            status = bsonExtractIntegerFieldWithDefault(entry, kMemberIdFieldName, -1, &memberID);
            if (!status.isOK())
                return status;

            _updates.push_back(UpdateInfo(rid, ts, cfgver, memberID));
        }

        return Status::OK();
    }
开发者ID:3rf,项目名称:mongo,代码行数:51,代码来源:update_position_args.cpp

示例9: startDebugInfo

void EKFLocalization::step(void) {


	_GoalDetector->step();
	_LineDetector->step();

	if (isTime2Run()) {
		startDebugInfo();
		UpdateInfo();
		run();
		endDebugInfo();

	}
}
开发者ID:abellagonzalo,项目名称:go2012,代码行数:14,代码来源:EKFLocalization.cpp

示例10: m_lpszPath

// copy constructor
CAttachInfo::CAttachInfo (const CAttachInfo& ai)
	: m_lpszPath(NULL), m_lpszDesc(NULL), m_lpszID(NULL),
	  m_lpszType(NULL), m_lpszSubType(NULL),
	  m_lpszSuperType(NULL), m_lpszSuperSubType(NULL),
	  m_attEnc(RFC822_NONE_ENC), m_ulSize((UINT32) (-1)), m_ulDuration(0),
	  m_CDispProps((UINT32) 0, FALSE), m_CTypeProps((UINT32) 0, FALSE),
	  m_fIsVirtualName(FALSE)
{
	const CStr2StrMapper&	dp=ai.GetDispositionProps();
	const CStr2StrMapper&	cp=ai.GetContentTypeProps();

	EXC_TYPE	exc1=m_CDispProps.InitMap(dp.GetSize(), FALSE), exc2=m_CTypeProps.InitMap(cp.GetSize(), FALSE);

	UpdateInfo(ai);
}
开发者ID:lgoldstein,项目名称:communitychest,代码行数:16,代码来源:attset.cpp

示例11: switch

eOSState cSatipMenuDeviceStatus::ProcessKey(eKeys keyP)
{
  eOSState state = cOsdMenu::ProcessKey(keyP);

  if (state == osUnknown) {
     switch (keyP) {
       case kOk: state = osBack;     break;
       default:  if (timeoutM.TimedOut())
                    UpdateInfo();
                 state = osContinue;
                 break;
       }
     }
  return state;
}
开发者ID:rofafor,项目名称:vdr-plugin-satip,代码行数:15,代码来源:setup.c

示例12: UpdateInfo

void FIFOPlayerWindow::OnFIFOLoaded()
{
  FifoDataFile* file = FifoPlayer::GetInstance().GetFile();

  auto object_count = FifoPlayer::GetInstance().GetFrameObjectCount();
  auto frame_count = file->GetFrameCount();

  m_frame_range_to->setMaximum(frame_count);
  m_object_range_to->setMaximum(object_count);

  m_frame_range_to->setValue(frame_count);
  m_object_range_to->setValue(object_count);

  UpdateInfo();
  UpdateLimits();
  UpdateControls();
}
开发者ID:Tinob,项目名称:Ishiiruka,代码行数:17,代码来源:FIFOPlayerWindow.cpp

示例13: main

int main()
{
    int a[]={2,2,2,1,1};
    float discount[]={1,0.95,0.9,0.8,0.75};
    int len=sizeof(a)/sizeof(a[0]);
    Info info=GetInfo(a,len);
    float sum=0.0;
    while(info.kind!=0)
    {
        sum+=info.kind*8*info.min*discount[info.kind-1];
        printf("%f\n",sum);
        UpdateInfo(a,len,info);
        info=GetInfo(a,len);
    }
    printf("You need to pay %f EUR!\n",sum);
    return 0;
}
开发者ID:lollipopji,项目名称:lollipop,代码行数:17,代码来源:1_4_origin.c

示例14: Load

	//	初期化
	bool Player::Initialize( void )
	{
		//	読み込み
		bool loadSuccess = Load( "DATA/CHR/Y2009/Y2009.IEM" );

		if ( loadSuccess )
		{
			SetMotion( 1 );		//	仮
			SetPos( INIT_POS );
			SetAngle( INIT_ANGLE );
			SetScale( INIT_SCALE );
			UpdateInfo();
			return	true;
		}

		return	false;
	}
开发者ID:syukatuProject,项目名称:UnityGame,代码行数:18,代码来源:Player.cpp

示例15: TLock

void CHostManager::UpdateHostInfo(const BroadCastFtpInfo &info)
{
	TLock(m_locker);
	j_string_t strHostId = info.host_id;
	HostMap::iterator it = m_hostMap.find(strHostId);
	if (it == m_hostMap.end())
	{
		DownLoadFtpInfo mInfo = {0};
		FillInfo(info, mInfo);
		m_hostMap[strHostId] = mInfo;
	}
	else
	{
		UpdateInfo(it->second);
	}
	TUnlock(m_locker);
}
开发者ID:dalinhuang,项目名称:jorhy-xl,代码行数:17,代码来源:HostManager.cpp


注:本文中的UpdateInfo函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。