Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
AudioCallbackListClass< T > Class Template Reference

#include <AudioEvents.h>

Inherits SimpleDynVecClass< AUDIO_CALLBACK_STRUCT< T > >.

Public Member Functions

 AudioCallbackListClass (void)
 
virtual ~AudioCallbackListClass (void)
 
void Add_Callback (T pointer, uint32 user_data)
 
Get_Callback (int index, uint32 *user_data)
 
void Remove_Callback (T pointer)
 
- Public Member Functions inherited from SimpleDynVecClass< AUDIO_CALLBACK_STRUCT< T > >
 SimpleDynVecClass (int size=0)
 
virtual ~SimpleDynVecClass (void)
 
int Count (void) const
 
T & operator[] (int index)
 
T const & operator[] (int index) const
 
virtual bool Resize (int newsize)
 
bool Add (T const &object, int new_size_hint=0)
 
T * Add_Multiple (int number_to_add)
 
bool Delete (int index, bool allow_shrink=true)
 
bool Delete (T const &object, bool allow_shrink=true)
 
bool Delete_Range (int start, int count, bool allow_shrink=true)
 
void Delete_All (bool allow_shrink=true)
 
- Public Member Functions inherited from SimpleVecClass< T >
 SimpleVecClass (int size=0)
 
virtual ~SimpleVecClass (void)
 
T & operator[] (int index)
 
T const & operator[] (int index) const
 
int Length (void) const
 
virtual bool Uninitialised_Grow (int newsize)
 
void Zero_Memory (void)
 

Additional Inherited Members

- Protected Member Functions inherited from SimpleDynVecClass< AUDIO_CALLBACK_STRUCT< T > >
bool Grow (int new_size_hint)
 
bool Shrink (void)
 
int Find_Index (T const &object)
 
- Protected Attributes inherited from SimpleDynVecClass< AUDIO_CALLBACK_STRUCT< T > >
int ActiveCount
 
- Protected Attributes inherited from SimpleVecClass< T >
T * Vector
 
int VectorMax
 

Detailed Description

template<class T>
class AudioCallbackListClass< T >

Definition at line 149 of file AudioEvents.h.

Constructor & Destructor Documentation

◆ AudioCallbackListClass()

template<class T>
AudioCallbackListClass< T >::AudioCallbackListClass ( void )
inline

Definition at line 156 of file AudioEvents.h.

◆ ~AudioCallbackListClass()

template<class T>
virtual AudioCallbackListClass< T >::~AudioCallbackListClass ( void )
inlinevirtual

Definition at line 157 of file AudioEvents.h.

Member Function Documentation

◆ Add_Callback()

template<class T>
void AudioCallbackListClass< T >::Add_Callback ( T pointer,
uint32 user_data )

Definition at line 172 of file AudioEvents.h.

◆ Get_Callback()

template<class T>
T AudioCallbackListClass< T >::Get_Callback ( int index,
uint32 * user_data )

Definition at line 183 of file AudioEvents.h.

◆ Remove_Callback()

template<class T>
void AudioCallbackListClass< T >::Remove_Callback ( T pointer)

Definition at line 196 of file AudioEvents.h.


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