The manager of all soft channles.
|
Public Member Functions |
(NSXMLElement *) | - XML |
| Get the Channel details as XML.
|
(NSXMLElement *) | - exportLibraryXML |
| Get the a library of fixture definitions for patched fixtures.
|
(unsigned char) | - masterFader |
(void) | - setMasterFader: |
| Set the new grand master value.
|
(BOOL) | - isInBlackout |
| Returns if we are currentl in a blackout state.
|
(void) | - setInBlackout: |
| Sets if all the current channles are blacked out.
|
(unsigned) | - count |
| Returns the current number of channels being managed.
|
(void) | - addProvider: |
| Add a provider to the channel manager.
|
(void) | - removeProvider: |
| Remove a provider from the channel manager.
|
(unsigned) | - numberForChannel: |
| Get the channel number for a given channel object.
|
(LOChannel *) | - channel: |
| Get the channel object for a given channel number.
|
(unsigned) | - addUniverseFromHWBridge: |
| Add 512 channels into the manager with a direct 1 to 1 soft patch.
|
(unsigned) | - addUnpatchedChannel |
| Add an unpatched channel.
|
(unsigned) | - addChannelsFromSoftPatch: |
| Adds a number of channels, each soft patched to at least 1 HWBridge channel.
|
(void) | - patchChannel:toSoftPatch:andOffset: |
| Repatch, an existing channel, to a new softPatch and offset.
|
(void) | - addPatchToChannel:fromProxy: |
| Add an additional patch to an existing channel, from a proxy.
|
(int) | - addFixture: |
| Add a fixture, patching into the channel manager on the next free set of channels as determined by the hardware manager.
|
(int) | - addFixture:onUniverse: |
| Add a fixture, patching into the channel manager on the next free set of channels on a specific universe (identified by the serial number of the hw bridge) as determined by the hardware manager.
|
(int) | - addFixture:fromSoftPatch: |
| Add a fixture, patching into the channel manager with a specific soft patch.
|
(void) | - patchChannel:asFixture:toSoftPatch: |
| Repatch, an existing channel, as a new fixture.
|
(NSArray *) | - fixtures |
| Get an array of all fixtures that have been patched.
|
(LOFixture *) | - fixtureForChannel: |
| Return the fixture for a given channel, or nil if the channel is not a fixture channel.
|
(void) | - requestChannelRefresh:byProvider: |
| Refresh the data from a given channel provider.
|
(LOChannelType) | - channelTypeForChannel: |
| Get the channel type associated with a given channel.
|
(void) | - setChannel:toType: |
| Set the channle type associated with a given channel.
|
(BOOL) | - isIntensityChannel: |
| Check to see if a given channel is an intensity channel.
|
(void) | - setChannel:intensity: |
| Set the channel intensity flag.
|
(BOOL) | - isFixtureChannel: |
| Check to see if a given channel is a fixture channel.
|
(NSString *) | - nameForChannel: |
| Get the current name of a channel, or an empty string if no name is set.
|
(void) | - setChannel:name: |
| Set the name of the chanel.
|
(id< LOChannelProvider >) | - lastProviderForChannel: |
| Get the last channel provider to update the channel.
|
(NSString *) | - identifierForChannel: |
| Get the identifier of the HWBridge this channel uses.
|
(NSString *) | - identifierWithPhysicalForChannel: |
| Get the identifier and physical channel number on the HWBridge this channel uses.
|
(NSString *) | - physicalAddressForChannel: |
| Get the full physical address of a channel in the format universe/phyical for a generic channel, and universe/physical-physical for a fixture.
|
(void) | - setChannelValue:forChannel:byProvider: |
| Set a channel to a specific value.
|
(void) | - captureChannel:forProvider: |
| Capture a channel for a given provider.
|
(void) | - releaseChannel:forProvider: |
| Release a channel that has previously been captured.
|
(void) | - releaseChannel: |
| Release a channel that has previously been captured.
|
(id< LOChannelProvider >) | - caputredBy: |
| Get the provider that is currently capturing this channel.
|
(LODimmerCurve *) | - dimmerCurveForChannel: |
| Get the dimmer curve associated with a channel.
|
(void) | - setDimmerCurve:forChannel: |
| Set the dimmer curve for a channel.
|
(void) | - addDimmerCurve:forChannel: |
| Add a dimmer curve for a channel, if one already exists, add the new curve to the end of the chain.
|
(LOScene *) | - sceneAfterMaster:withZeroChannels: |
| Create a new scene based on the output of all non fixture channels.
|
(LOScene *) | - capturedSceneAfterMaster:withZeroChannels: |
| Create a new scene based on the output of just currently captured channels.
|
(void) | - reset |
| Reset the channel manager, that is remove all the channels that are being managed.
|
(void) | - unpatchChannel: |
| Unpatch a channel from its DMX universe.
|
(void) | - unpatchProxy:fromChannel: |
| Unpatch a specific proxy from a channel.
|
(BOOL) | - isChannelPatched: |
| Check if a channel is currently patched.
|
(void) | - removeChannel: |
| Delete a channel.
|
(BOOL) | - loadConfigurationFromXML: |
| Perfomrms a reset, then loads the configuration from the XML Element.
|
(NSString *) | - serialNumberForChannel: |
| Get the serial number of the HWBridge this channel uses.
|
(NSString *) | - serialNumberWithPhysicalForChannel: |
| Get the serial number and physical channel number on the HWBridge this channel uses.
|
Static Public Member Functions |
(LOChannelManager *) | + defaultManager |
| Get the default Channel manager for the applications.
|
Protected Attributes |
NSMutableArray * | hwBridges |
| All hwBridges that are being used.
|
NSMutableArray * | channelProviders |
| All registered channel providers.
|
NSMutableArray * | channels |
| The acutal channels.
|
unsigned char | masterFader |
| Holds the gramd master value.
|
BOOL | inBlackout |
| Are we currently blacked out?
|
NSMutableArray * | fixtures |
| Array of LOFixture (assigned to channels).
|
The manager of all soft channles.
This object manages the updates to the HWBridge, obtaining the relevant data from channel providers
With the exception of the grand master and blackout all updates will happen via the relevant provider, not directly with this object.