Implements a Patch singleton that holds a HashMap of Fixtures and a HashMap Fixture Types
The private HashMaps can only be changed through methods that alert the stream handler
Each Fixture in the Patch can also alert the stream handler when it is changed
The FixtureType class GDTF is currently mocked and needs to be replaced by merging with gdtf branch. This might allow mutability of the GDTF classes in the FixtureTypeList. I created a reminder in #5.
ArtNetAddress is restricted to the range 0..32_767 (unsigned 15-bit). Error Handling is the same as for DmxAddress. Convenience functions for converting from/to the Net, Sub-Net and Universe representation are provided.
The branch was branched off of feature/impl-eventhandler, so let's merge #16 before this.
Closes #6
Short overview:
Patch
singleton that holds a HashMap of Fixtures and a HashMap Fixture TypesGDTF
is currently mocked and needs to be replaced by merging withgdtf
branch. This might allow mutability of the GDTF classes in the FixtureTypeList. I created a reminder in #5.DmxAddress
is restricted to the range 1..512. Error Handling for invalid inputs is achieved with the library https://github.com/michaelbull/kotlin-resultArtNetAddress
is restricted to the range 0..32_767 (unsigned 15-bit). Error Handling is the same as forDmxAddress
. Convenience functions for converting from/to the Net, Sub-Net and Universe representation are provided.The branch was branched off of
feature/impl-eventhandler
, so let's merge #16 before this.