NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::snd::detail::MmlSeqTrackAllocator Class Reference
Inheritance diagram for nw4r::snd::detail::MmlSeqTrackAllocator:
[legend]

Description

Definition at line 24 of file snd_MmlSeqTrackAllocator.h.

Public Member Functions

 MmlSeqTrackAllocator (MmlParser *parser)
 
virtual SeqTrackAllocTrack (SeqPlayer *player)
 
virtual void FreeTrack (SeqTrack *track)
 
virtual int GetAllocatableTrackCount () const
 
ulong Create (void *buffer, ulong size)
 
void Destroy (void *buffer, ulong size)
 

Private Attributes

MmlParsermParser
 
InstancePool< MmlSeqTrackmTrackPool
 

Constructor & Destructor Documentation

◆ MmlSeqTrackAllocator()

nw4r::snd::detail::MmlSeqTrackAllocator::MmlSeqTrackAllocator ( MmlParser * parser)
inline

Definition at line 29 of file snd_MmlSeqTrackAllocator.h.

Member Function Documentation

◆ AllocTrack()

virtual SeqTrack * nw4r::snd::detail::MmlSeqTrackAllocator::AllocTrack ( SeqPlayer * player)
virtual

◆ FreeTrack()

virtual void nw4r::snd::detail::MmlSeqTrackAllocator::FreeTrack ( SeqTrack * track)
virtual

◆ GetAllocatableTrackCount()

virtual int nw4r::snd::detail::MmlSeqTrackAllocator::GetAllocatableTrackCount ( ) const
inlinevirtual

Implements nw4r::snd::detail::SeqTrackAllocator.

Definition at line 35 of file snd_MmlSeqTrackAllocator.h.

Member Data Documentation

◆ mParser

MmlParser* nw4r::snd::detail::MmlSeqTrackAllocator::mParser
private

Definition at line 47 of file snd_MmlSeqTrackAllocator.h.

◆ mTrackPool

InstancePool<MmlSeqTrack> nw4r::snd::detail::MmlSeqTrackAllocator::mTrackPool
private

Definition at line 48 of file snd_MmlSeqTrackAllocator.h.