* isodriver.h: reflow comments, one declaration/line
* move delay to a struct that handles display settings
* Make changes related to isoDriver::window
- move isoDriver::window to display struct
- remove isoDriver::windowAtPause
- remove isoDriver::setWindow
- call isoDriver::timeWindowUpdated signal where deemed necessary
* Make changes related to isoDriver display settings
- move x0, y0, x1, and y1 from isoDriver to DisplayControl
- Replace some ternaries with std::max and std::min
- Add some comments
* Move topRange and botRange from isoDriver into DisplayControl
* Move most of isoDriver::setVoltageRange into DisplayControl
* move ChannelID to outside of functionGenControl
* move ChannelData out of functionGenControl
* make the genericUsbDriver fGenPtrs into an array
* Make genericUsbDriver store pointers to ChannelData instead of to functionGenControl
* split genericUsbDriver::setFunctionGen into two parts. Stop reassigning the fGen pointers
* Big functionGenControl refactor
- Create functionGen namespace
- Rename functionGenControl to DualChannelController
- Create a SingleChannelController class that holds all the
functionality of a single channel (i.e. almost all of it).
This class acts as a Qt wrapper over the actual data, it
gives it the ability to emit and recieve signals while
keeping the actual data copiable.
- Add an alias functionGenControl = DualChannelController
* use an enum instead of int to identify function generator channels
* Use local 8 bit encoding instead of utf8 for file paths
* use static_cast instead of function-style casts
* remove length member from channelData struct. use reference captures on some lambdas
* make isobuffer.cpp follow the common bracket style
* Add a few utility functions to isoBuffer, and reorganize and comment isobuffer.h
* refactor a few functions in isoBuffer using the newly added functions
* Clean up isoBuffer::readBuffer. Requires particular attention during review
* remove unused variable isoBuffer::firstTime
* Fix formatting and add a comment to isoBuffer::maybeOutputSampleToFile
* move invariant out of loop in isoBuffer::writeBuffer_short
* Substantially refactor isoBuffer::readBuffer
* change spaces to tabs on isoBuffer.h
* spaces to tabs on isobuffer.cpp and isobuffer.h, but properly
* Enforce const correctness on some methods of isoBuffer
* Add some comments to isobuffer.cpp
* Remove duplication in isoBuffer::cap_xnfromxxx functions by extracting common functionality to a free function
* Format isobuffer.h and isobuffer.cpp
* add inserted count to isoBuffer
* further modification to isoBuffer::readBuffer
* Correct a comment in isoBuffer::readBuffer
* add an anonymous namespace with file-wide constants
* remove isoBuffer::openFile, and move initialization isoBuffer to initializer list
* add lines between if statements in isoBuffer::insertIntoBuffer
* add spaces after // to some comments
* extract common functionality from writeBuffer_xxx functions to function template
* update header file to reflect previous commits
* make isoBuffer::return nullptr in a troublesome case
* add space after // to some other comments
* Make capSample a member function of isoBuffer, delete a macro in isobuffer.cpp
* clean up various comments and declarations in isobuffer.cpp
* make isoBuffer::gainBuffer work for any gain value
* make enableFileIO use the constant definitions made in a recent commit
* Remove type argument from isoBuffer::serialManage
* make isoBuffer::readBuffer return a zero-filled buffer instead of null
* Remove isoBuffer::glitchInsert
* Add a bunch of TODOs to isobuffer.cpp and isobuffer.h
* Rename member variables of isoBuffer to have an m_ prefix
* Move isoBuffer::capSample comparison functors to anonymous namespace
* Make CONSOLE_UPDATE_TIMER_PERIOD on isobuffer.h a constexpr intead of a macro