Sound resource.
More...
#include <Resource.h>
List of all members.
Detailed Description
Member Enumeration Documentation
Resource type.
- Enumerator:
TypeBuffer |
Sound buffer
|
TypeSource |
Sound source
|
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
[in] | cSoundManager | Owner sound manager |
[in] | nType | Resource type |
Member Function Documentation
Returns the owner sound manager.
- Returns:
- The owner sound manager
Returns the resource type.
- Returns:
- Resource type
Returns the number of resource handlers.
- Returns:
- The number of resource handlers
Returns whether a resource handler is using this resource.
- Parameters:
-
- Returns:
- 'true' if the given resource handler is using this resource, else 'false'
- Note:
- The handlers will be informed if the resource was lost
- The handlers itself are not deleted etc. they are only 'added' to a list
Adds a resource handler.
- Parameters:
-
[in] | cHandler | Resource handler which should be added |
- Returns:
- 'true' if all went fine, else 'false'
- See also:
-
Removes a resource handler.
- Parameters:
-
- Returns:
- 'true' if all went fine, else 'false'
- See also:
-
Clears the list of handlers.
- See also:
-
The documentation for this class was generated from the following file: