LOSceneProvider Class Reference
A Provider that takes a scene and runs it through a master fader before passing it to the channel manager.
More...
#import <LOSceneProvider.h>
Detailed Description
A Provider that takes a scene and runs it through a master fader before passing it to the channel manager.
Initially the master value is set to 0, this is to ensure that when the object is created the scene is not instantly sent to the channel manager
Member Function Documentation
- (id) initWithScene: |
|
(LOScene *) |
theScene |
|
|
Initilise the provider ready to be used.
This method registeres the provider with the channel manager, and uses the scene as the channel value data source.
- Parameters:
-
| theScene | The scene used for the data |
- Returns:
- The initilised provider
Get the master value.
- Returns:
- The current master value
- See also:
- - setMaster:
Get the master value.
- Returns:
- The current master value
- See also:
- - setMaster:
- (void) setChaseDelegate: |
|
(id) |
aDelegate |
|
|
Set a new chase master delegate object.
Once set this delegate will be used for all chases in the scene.
- Parameters:
-
| aDelegate | The object to receive all delegate messages |
- See also:
- chaseDelegate:
NSObject(LOChaseIntensityMasterDelegate) in LOChaseIntensityProvider.h
- (void) setMaster16: |
|
(unsigned int) |
theMaster |
|
|
Set the master value, update the output and notifies the channel manager.
- Parameters:
-
| theMaster | The value to set |
- See also:
- - master:
- (void) setMaster: |
|
(unsigned char) |
theMaster |
|
|
Set the master value, update the output and notifies the channel manager.
- Parameters:
-
| theMaster | The value to set |
- See also:
- - master:
- (void) setProviderID: |
|
(int) |
theProviderID |
|
|
Set the provider ID to be something other that the default.
- (void) setWillUpdateChannelManager: |
|
(BOOL) |
shouldUpdateChannelManager |
|
|
Sets if this provider updates the ChannelManager when values change.
When this scene provider is used by another scene provider its undesirable for them both to attempt to update the channel manager, and so you should set willUpdateChannelManager to NO
- See also:
- willUpdateChannelManager:
This method recalculates the output cache, and if any channel output has changed will notify the channel manager.
This function is called automatically when the master value changes. its very unlikley that you would want to call this directly.
- (void) updateOutputForChannel: |
|
(unsigned) |
aChannel |
|
|
This method recalculates the output cache, and if the channel output has changed will notify the channel manager.
You should call this if the scene data changes.
It may be that at some point this gets auto implemented via the notification center and events posted when a scene is updated.
- Parameters:
-
| aChannel | The channel to update. |
The documentation for this class was generated from the following files: