#import <AMSoundManager.h>
Static Public Member Functions | |
| (void) | + createSoundManager |
| Initialize the sound manager. | |
| (void) | + releaseSoundManager |
| Destroy the sound manager and release all its resources. | |
| (AMScheduler *) | + getScheduler |
| Gets the A2ML scheduler. | |
| (void) | + loadA2ML:error: |
| Load the given A2ML file. | |
| (NSNotificationCenter *) | + getNotificationCenter |
| Gets the notification center used for the internal event system. | |
| (void) | + addKeyID:forObject: |
| Adds an unique string ID key for the corresponding object. | |
| (void) | + removeObjectForKeyID: |
| Removes the string/object correspondence based on the specified string ID. | |
| (id) | + getObjectFromID: |
| Gets the object corresponding to the provided string ID. | |
| (void) | + addKeyUID:forID: |
| Adds an unique string ID key for the corresponding UID. | |
| (void) | + removeKeyUID: |
| Removes the UID/string correspondance based on the specified UID. | |
| (NSString *) | + getIDFromKeyUID: |
| Gets the ID string corresponding to the provided UID. | |
| (BOOL) | + checkID: |
| Check if the provided string ID is already used. | |
| (void) | + addInstanceToReleasePool: |
| Adds an object instance to the release pool so it will be automatically released when it's not needed anymore. | |
| (void) | + removeInstanceFromReleasePool: |
| Removes an object instance from the release pool. | |
| (NSSet *) | + getControls |
| Gets the name of the controls supported. | |
| (AMControl *) | + getControlWithName: |
| Gets the control with the specified name. | |
| (AMControl *) | + createControlWithName: |
| Gets the control with the specified name or creates it if it doesn't exist. | |
| (FMOD::System *) | + getFMODSystem |
| Returns the internal FMOD system object. | |
This class is meant to be used statically, and must not be instanciated.
| + (void) addInstanceToReleasePool: | (AMInstance *) | _instance |
Adds an object instance to the release pool so it will be automatically released when it's not needed anymore.
| instance | The object instance to add to the release pool. |
| + (void) addKeyID: | (NSString *) | _id | ||
| forObject: | (id) | _obj | ||
Adds an unique string ID key for the corresponding object.
| id | The string key for the provided object, must be unique. | |
| obj | The object to match with a unique string. |
| + (void) addKeyUID: | (UID) | _uid | ||
| forID: | (NSString *) | _id | ||
Adds an unique string ID key for the corresponding UID.
| uid | The UID key to match with a unique string. | |
| id | The string for the provided UID, must be unique. |
| + (BOOL) checkID: | (NSString *) | _id |
Check if the provided string ID is already used.
| id | The string ID to check. |
| + (AMControl *) createControlWithName: | (NSString *) | _name |
Gets the control with the specified name or creates it if it doesn't exist.
| name | The name of the control to get or create. Should be one of the constant control names defined in the AMControl class. |
| + (NSSet *) getControls |
Gets the name of the controls supported.
| + (AMControl *) getControlWithName: | (NSString *) | _name |
Gets the control with the specified name.
| name | The name of the control to get. Should be one of the constant control names defined in the AMControl class. |
| + FMOD: |
Returns the internal FMOD system object.
FOR INTERNAL USAGE ONLY.
| + (NSString *) getIDFromKeyUID: | (UID) | _uid |
Gets the ID string corresponding to the provided UID.
| uid | The the UID of the ID string you want to retrieve. |
| + (NSNotificationCenter *) getNotificationCenter |
Gets the notification center used for the internal event system.
| + (id) getObjectFromID: | (NSString *) | _id |
Gets the object corresponding to the provided string ID.
| id | The string key of the UID you want to retrieve. |
| + (AMScheduler *) getScheduler |
Gets the A2ML scheduler.
| + (void) loadA2ML: | (NSString *) | _path | ||
| error: | (NSError **) | _error | ||
Load the given A2ML file.
| path | The path of the A2ML file you want to load. | |
| error | If loading failed at some point, gets the NSError describing the problem. |
| + (void) removeInstanceFromReleasePool: | (AMInstance *) | _instance |
Removes an object instance from the release pool.
| instance | The object instance to remove from the release pool. |
| + (void) removeKeyUID: | (UID) | _uid |
Removes the UID/string correspondance based on the specified UID.
| uid | The UID key of the correspondence to remove. |
| + (void) removeObjectForKeyID: | (NSString *) | _id |
Removes the string/object correspondence based on the specified string ID.
| id | The string key of the correspondence to remove. |
1.5.9