[x] Split networking code (EntertainmentCommThread etc.) off to its own file, and remove color averaging code from it. Either that's got to go into another thread (meh), or EntertainmentCommThread should use a function pointer / lambda fed in from elsewhere.
Also I currently access EntertainmentCommThread* eThread directly from the EntertainmentImageProvider just to access the bucketed screen data. To do that, EntertainmentImageProvider is directly touching a mutex inside Huestacean and everything is ridiculous. This shouldn't be hard to clean up.
The frame grabber code could also be moved out of huestacena.cpp; I'm less concerned about doing this right now because I'd like to tackle it as part of #19
Ehm, per light? Per light per bridge? Per group of lights per bridge?
Directory structure
[x] Move source files into /src and /include directories
Better cohesion in the source files
EntertainmentCommThread* eThread
directly from theEntertainmentImageProvider
just to access the bucketed screen data. To do that,EntertainmentImageProvider
is directly touching a mutex insideHuestacean
and everything is ridiculous. This shouldn't be hard to clean up.Directory structure