ScummVM API documentation
Titanic::QSoundManagerSounds Class Reference
Inheritance diagram for Titanic::QSoundManagerSounds:
Titanic::List< QSoundManagerSound > Titanic::CSaveableObject Common::List< QSoundManagerSound *>

Public Member Functions

void add (CWaveFile *waveFile, int iChannel, CEndTalkerFn endFn, TTtalker *talker)
 
void flushChannel (int iChannel)
 
void flushChannel (CWaveFile *waveFile, int iChannel)
 
bool contains (const CWaveFile *waveFile) const
 
- Public Member Functions inherited from Titanic::List< QSoundManagerSound >
void save (SimpleFile *file, int indent) override
 
void load (SimpleFile *file) override
 
void destroyContents ()
 
QSoundManagerSoundadd ()
 
bool contains (const QSoundManagerSound *item) const
 
- Public Member Functions inherited from Titanic::CSaveableObject
virtual ClassDefgetType () const
 
bool isInstanceOf (const ClassDef *classDef) const
 
virtual void saveHeader (SimpleFile *file, int indent)
 
virtual void saveFooter (SimpleFile *file, int indent)
 
- Public Member Functions inherited from Common::List< QSoundManagerSound *>
constexpr List ()
 
 List (const List< QSoundManagerSound * > &list)
 
iterator insert (iterator pos, const QSoundManagerSound * &element)
 
void insert (iterator pos, iterator2 first, iterator2 last)
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
iterator reverse_erase (iterator pos)
 
void remove (const QSoundManagerSound * &val)
 
void push_front (const QSoundManagerSound * &element)
 
void push_back (const QSoundManagerSound * &element)
 
void pop_front ()
 
void pop_back ()
 
QSoundManagerSound * & front ()
 
const QSoundManagerSound * & front () const
 
QSoundManagerSound * & back ()
 
const QSoundManagerSound * & back () const
 
List< QSoundManagerSound * > & operator= (const List< QSoundManagerSound * > &list)
 
size_type size () const
 
void clear ()
 
bool empty () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator reverse_begin ()
 
const_iterator reverse_begin () const
 
iterator end ()
 
const_iterator end () const
 

Additional Inherited Members

- Public Types inherited from Common::List< QSoundManagerSound *>
typedef ListInternal::Iterator< QSoundManagerSound * > iterator
 
typedef ListInternal::ConstIterator< QSoundManagerSound * > const_iterator
 
typedef QSoundManagerSound * value_type
 
typedef uint size_type
 
- Static Public Member Functions inherited from Titanic::CSaveableObject
static void initClassList ()
 
static void freeClassList ()
 
static CSaveableObjectcreateInstance (const Common::String &name)
 
- Static Public Attributes inherited from Titanic::CSaveableObject
static ClassDef_type
 
- Protected Types inherited from Common::List< QSoundManagerSound *>
typedef ListInternal::NodeBase NodeBase
 
typedef ListInternal::Node< QSoundManagerSound * > Node
 
- Protected Member Functions inherited from Common::List< QSoundManagerSound *>
void insert (NodeBase *pos, const QSoundManagerSound * &element)
 
NodeBase erase (NodeBase *pos)
 
- Protected Attributes inherited from Common::List< QSoundManagerSound *>
NodeBase _anchor
 

Member Function Documentation

◆ add()

void Titanic::QSoundManagerSounds::add ( CWaveFile waveFile,
int  iChannel,
CEndTalkerFn  endFn,
TTtalker talker 
)

Adds a new sound entry to the list

◆ flushChannel() [1/2]

void Titanic::QSoundManagerSounds::flushChannel ( int  iChannel)

Flushes a wave file attached to the specified channel

◆ flushChannel() [2/2]

void Titanic::QSoundManagerSounds::flushChannel ( CWaveFile waveFile,
int  iChannel 
)

Flushes a wave file attached to the specified channel

◆ contains()

bool Titanic::QSoundManagerSounds::contains ( const CWaveFile waveFile) const

Returns true if the list contains the specified wave file


The documentation for this class was generated from the following file: