本文整理匯總了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;
};
示例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;
};
示例3: AddChannel
void AddChannel(ChatTarget channel)
{
m_listChannels.PushEnd(channel);
UpdateContents();
}
示例4: AddKeyboardInputFilter
void Window::AddKeyboardInputFilter(IKeyboardInput* pkeyboardInput)
{
g_listKeyboardInputFilters.PushEnd(pkeyboardInput);
}