LOHWUSBDMX Class Reference
Implementation of a HWBridge for the USBDMX.COM interface.
More...
#import <LOHWUSBDMX.h>
|
Public Member Functions |
(id) | - initWithIdentifier: |
| Open a specific DMX Interface, and initlise it ready for use.
|
(id) | - initWithPath: |
| Open a specific DMX Interface, and initlise it ready for use.
|
Static Public Member Functions |
(NSArray *) | + interfacePaths |
| Get a list of all possible hardware interfaces.
|
(NSString *) | + identifierFromPath: |
| Get the unique identifier from the interface path.
|
Protected Attributes |
BOOL | TX |
| Flag to show if the Bridge is currently operating as a transmitter.
|
BOOL | RX |
| Flag to show if the Bridge is currently operating as a receiver.
|
unsigned char | TXStartCode |
| Current start code for TX.
|
unsigned char | RXStartCode |
| Current start code for RX.
|
unsigned int | TXLastChannel |
| Current last TX channel.
|
BOOL | blackout |
| Flag to see if we are currently in blackout.
|
unsigned char | out_universe [512] |
| Cached output universe, used with reopen.
|
NSString * | pathToInterface |
| The full path the to the interfaces device node.
|
int | fd |
| The file descriptor used when the interface device is open.
|
BOOL | shouldReceiverBeRunning |
| Flag to tell the receiver if it should be running.
|
NSThread * | receiverThread |
| The receiver Thread handle.
|
NSLock * | threadRunningLock |
| A thread lock used to sychronise the exiting of the receiver thread.
|
Detailed Description
Implementation of a HWBridge for the USBDMX.COM interface.
This in interface supports both TX and RX at the same time
- See also:
- http://www.usbdmx.com
Member Function Documentation
+ (NSString *) identifierFromPath: |
|
(NSString *) |
path |
|
|
Get the unique identifier from the interface path.
- (id) initWithIdentifier: |
|
(NSString *) |
identifier |
|
|
Open a specific DMX Interface, and initlise it ready for use.
- Parameters:
-
| identifier | The identifier to the device driver of the interface |
A bridge should always be obtained via the hardware manager, and not directly.
YOU SHOULD NEVER NEED TO CALL THIS FUNCTION.
- Returns:
- The HW Bridge
- See also:
- LOHWManager
- (id) initWithPath: |
|
(NSString *) |
thePath |
|
|
Open a specific DMX Interface, and initlise it ready for use.
- Parameters:
-
| thePath | The path to the device driver of the interface |
A bridge should always be obtained via the hardware manager, and not directly.
YOU SHOULD NEVER NEED TO CALL THIS FUNCTION.
- Returns:
- The HW Bridge
- See also:
- LOHWManager
+ (NSArray *) interfacePaths |
|
|
|
|
Get a list of all possible hardware interfaces.
These paths can be passed into initWithPath:
- Returns:
- An Array (as NSString objects) of Paths
Reimplemented from LOHWBridge.
The documentation for this class was generated from the following files: