LODirectProvider Class Reference
A simple (the most simple) channel provider that passes data directly to the channel manager for any given channel, without any manipulation.
More...
#import <LODirectProvider.h>
Detailed Description
A simple (the most simple) channel provider that passes data directly to the channel manager for any given channel, without any manipulation.
Member Function Documentation
Initilise the provider ready to be used.
This method registeres the provider with the channel manager, but no channel data exists until the setChannel function is called. It is initilised with all channels that the channelManager holds at the time of initilisiation, and will automatically add any new channels as they are added to the channel manager.
- Returns:
- The initilised provider
- See also:
- - setChannel:toValue:
Reimplemented from LOScene.
- (id) initWithLastChannel: |
|
(unsigned) |
aChannel |
|
|
Initilise the provider ready to be used.
This method registeres the provider with the channel manager, but no channel data exists until the setChannel function is called.
- Parameters:
-
| aChannel | The last numbered channel that this provider will provide data for |
- Returns:
- The initilised provider
- See also:
- - setChannel:toValue:
Reimplemented from LOScene.
- (void) releaseChannel: |
|
(unsigned) |
aChannel |
|
|
Release the channel in the channle manager and remove the channel value for it.
Reimplemented from LOScene.
- (void) setChannel: |
|
(unsigned) |
aChannel |
toValue: |
|
(unsigned char) |
theValue | |
|
|
| | |
Set the value of the channel.
This function notifies the channel manager that there is a possible update for the main output.
- Parameters:
-
| aChannel | The channel number to se |
| theValue | The valule of the channel. |
Reimplemented from LOScene.
- (void) setProviderID: |
|
(int) |
theProviderID |
|
|
Set the provider ID to be something other that the defaulr.
The documentation for this class was generated from the following files: