LOFixtureManager Class Reference
The fixture manager is responsible for holding all instansiated fixtures in the application.
More...
#import <LOFixtureManager.h>
|
Public Member Functions |
(NSArray *) | - fixtures |
| Get an array of all fixtures.
|
(LOFixture *) | - fixtureAtIndex: |
| Get a fixture at a given index.
|
(unsigned) | - count |
| Return the number of fixtures currently being managed.
|
(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.
|
(NSXMLElement *) | - exportLibraryXML |
| Get the a library of fixture definitions for patched fixtures.
|
Static Public Member Functions |
(LOFixtureManager *) | + defaultManager |
| Get the default Fixture manager for the applications.
|
Protected Attributes |
LOChannelManager * | channelManager |
Detailed Description
The fixture manager is responsible for holding all instansiated fixtures in the application.
It handles the fixture patching, adding the required channels into the channel manager.
- Deprecated:
- Please use LOCHannelManager for these fucntions. This class will be removed in the near future
Member Function Documentation
Add a fixture, patching into the channel manager with a specific soft patch.
The soft patch should define the correct number of channels used by the interface. This also applies to fixtures with multiple base addresses.
E.g. a fixture with a base addresses needing 5 channles on each address should have a soft patch with 10 channels, 1-5 being consecutive, and 6-10 being consecutive.
- Returns:
- the soft channel number if patched, or < 0 on error
- See also:
- - addFixture:
- addFixture:onUniverse:
- fixtures:
- fixtureAtIndex:
- Deprecated:
- Please use LOCHannelManager for these fucntions. This class will be removed in the near future
- (int) addFixture: |
|
(LOFixture *) |
aFixture |
onUniverse: |
|
(NSString *) |
serialNumber | |
|
|
| | |
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.
- Returns:
- the soft channel number if patched, or < 0 on error
- See also:
- - addFixture:
- addFixture:fromSoftPatch:
- fixtures:
- fixtureAtIndex:
- Deprecated:
- Please use LOCHannelManager for these fucntions. This class will be removed in the near future
Return the number of fixtures currently being managed.
- Deprecated:
- Please use LOCHannelManager for these fucntions. This class will be removed in the near future
Get the default Fixture manager for the applications.
This is the only way that a fixture manager should be obtained.
- Returns:
- The current applications default fixture manager
- Deprecated:
- Please use LOCHannelManager for these fucntions. This class will be removed in the near future
- (NSXMLElement *) exportLibraryXML |
|
|
|
|
Get the a library of fixture definitions for patched fixtures.
- Deprecated:
- Please use LOCHannelManager for these fucntions. This class will be removed in the near future
- (LOFixture *) fixtureAtIndex: |
|
(unsigned) |
index |
|
|
Get a fixture at a given index.
- See also:
- - fixtures:
- addFixture:
addFixtureFromXML:
- Deprecated:
- Please use LOCHannelManager for these fucntions. This class will be removed in the near future
The documentation for this class was generated from the following files: