當前位置: 首頁>>代碼示例>>C++>>正文


C++ TList::PushEnd方法代碼示例

本文整理匯總了C++中TList::PushEnd方法的典型用法代碼示例。如果您正苦於以下問題:C++ TList::PushEnd方法的具體用法?C++ TList::PushEnd怎麽用?C++ TList::PushEnd使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在TList的用法示例。


在下文中一共展示了TList::PushEnd方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: CreateStaticBuffer

 // Creates a static sound buffer of the given wave file.  If bLooping is 
 // true, the sound will loop until stopped.
 virtual HRESULT CreateStaticBuffer(TRef<ISoundInstance>& psoundNew, 
     ISoundPCMData* pcmdata, bool bLooping, ISoundPositionSource* psource = NULL)
 {
     DummySoundInstance* dummySound = new DummySoundInstance(bLooping, psource);
     psoundNew = (ISoundInstance*)dummySound;
     m_listPlayingSounds.PushEnd(dummySound);
     return S_OK;
 };
開發者ID:borgified,項目名稱:Allegiance,代碼行數:10,代碼來源:dummysound.cpp

示例2: CreateASRBuffer

 // Creates a sound buffer with a loop in the middle.  The sound will play
 // the start sound, play the loop sound until it gets a soft stop, then
 // play the rest of the sound.  
 virtual HRESULT CreateASRBuffer(TRef<ISoundInstance>& psoundNew, 
     ISoundPCMData* pcmdata, unsigned uLoopStart, unsigned uLoopLength, 
     ISoundPositionSource* psource = NULL)
 {
     DummySoundInstance* dummySound = new DummySoundInstance(true, psource);
     psoundNew = (ISoundInstance*)dummySound;
     m_listPlayingSounds.PushEnd(dummySound);
     return S_OK;
 };
開發者ID:borgified,項目名稱:Allegiance,代碼行數:12,代碼來源:dummysound.cpp

示例3: AddChannel

 void AddChannel(ChatTarget channel)
 {
     m_listChannels.PushEnd(channel);
     UpdateContents();
 }
開發者ID:borgified,項目名稱:Allegiance,代碼行數:5,代碼來源:chatpane.cpp

示例4: AddKeyboardInputFilter

void Window::AddKeyboardInputFilter(IKeyboardInput* pkeyboardInput)
{
	g_listKeyboardInputFilters.PushEnd(pkeyboardInput);
}
開發者ID:AllegianceZone,項目名稱:Allegiance,代碼行數:4,代碼來源:window.cpp


注:本文中的TList::PushEnd方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。