Small struct containing information on where the DMX parameter starts and how to convert it to the right type.
More...
#include <DMXDevicePatch.h>
Small struct containing information on where the DMX parameter starts and how to convert it to the right type.
- See also
- DMXDevicePatch, DMXPatch, conversionType
Lumiverse::patchData::patchData |
( |
| ) |
|
|
inline |
Constructs a default patch entry.
Default assumes a starting address of 0 and a floating point to single DMX byte conversion.
Lumiverse::patchData::patchData |
( |
unsigned int |
addr, |
|
|
conversionType |
t |
|
) |
| |
|
inline |
Constructs a patch entry.
- Parameters
-
addr | Starting address for the parameter |
t | Conversion method for the parameter |
Lumiverse::patchData::patchData |
( |
unsigned int |
addr, |
|
|
string |
t |
|
) |
| |
|
inline |
Constructs a patch entry from a string conversionType.
- Parameters
-
addr | Starting address |
t | Conversion method as a string. |
unsigned int Lumiverse::patchData::startAddress |
Starting address for the parameter.
Relative to where the Device is patched on the network. For example, if a device is patched to address 35, and the Tilt parameter has a startAddress of 2, then the Tilt parameter is sent out on address 37 (35+2).
The documentation for this struct was generated from the following file: