- Apr 28, 2021
-
-
Tobias Triffterer authored
As we now start using RooFit, we need to link against its library...
-
- Apr 26, 2021
-
-
Tobias Triffterer authored
As all commands that contain arguments, a dedicated parser method is added for this one, too.
-
- Apr 25, 2021
-
-
Tobias Triffterer authored
This new method does the usual input validation. As only three values are allowed for the only parameter “newstate”, they are explicitly checked, because “never trust your clients”...
-
- Apr 24, 2021
-
-
Tobias Triffterer authored
This action gets its own parser to make sure that all necessary values are present (never trust your clients...).
-
- Apr 23, 2021
-
-
Tobias Triffterer authored
This adds the necessary “glue” to the library to support the eror command and extends all switches accordingly.
-
Tobias Triffterer authored
This is a parsing method like the others, this time for error commands.
-
Tobias Triffterer authored
In case something goes wrong, it should be possible to send an error message to the other side...
-
- Apr 22, 2021
-
-
Tobias Triffterer authored
Under the Filesystem Hierarchy Standard, the includes should go to <prefix>/include, not <prefix>/share/include...
-
Tobias Triffterer authored
Normally, one would expect headers in a development package, but if the header files are not available in the environment where ROOT is run, Cling will throw error messages. This even happens when the version of ROOT is printed in int main() of the server or the client. Therefore, we also install the header files. Their directory should/must be put in the environment variable ROOT_INCLUDE_PATH.
-
Tobias Triffterer authored
When “make install” is called for the main project, some files from ROOT (binaries, libraries, config files, .rootmap files, etc.) are copied to the installation prefix given to CMake.
-
Tobias Triffterer authored
The check if the compilation results from ROOT exist run during cmake and not make, so in a fresh build directory it will always fail. This removes these unfulfillable checks and creates the required directories so the targets can be created.
-
- Apr 21, 2021
-
-
Tobias Triffterer authored
This new method enables the ExperimentState class to update its properties when new data has arrived via the updateExperimentState command.
-
Tobias Triffterer authored
The logging function aliases cannot be const here because this screws up the defaulted assignment operators.
-
Tobias Triffterer authored
This adds the common aliases also to this class in the library.
-
Tobias Triffterer authored
The ExperimentState class can now put its properties into the update command. Only the token needs to be added later by the class that requested the command object.
-
Tobias Triffterer authored
This was still missing from the collection of the state variables.
-
- Apr 20, 2021
-
-
Tobias Triffterer authored
The software uses Pascal internally as this is the SI unit, but the old guide to the real experiment uses Torr, so we add a conversion function to display both in the GUI.
-
Tobias Triffterer authored
Hectopascal is identical to millibar, but Pascal is the SI unit, so we go with it...
-
Tobias Triffterer authored
The same script as for server and client, but without artifacts because uploading the static library doesn't yield much use.
-
Tobias Triffterer authored
This does not matter right now due to static linking, but in case the common library is used as a shared library in the future, these types have to be in the export table.
-
Tobias Triffterer authored
If a custom C++ version is selected, the integrated ROOT build should also use this version to prevent any inconsistencies within the application.
-
Tobias Triffterer authored
The pointer variables in the Qt event handlers can be const and should therefore also be declared as such.
-
Tobias Triffterer authored
As ROOT provides sophisticated menus that a novice might screw up, this adds the option to ignore any input from the user by not passing it on to ROOT.
-
Tobias Triffterer authored
As ROOT provides sophisticated menus that a novice might screw up, this adds the option to ignore any input from the user by not passing it on to ROOT.
-
Tobias Triffterer authored
This adds the necessary ties between Qt and ROOT so that the user can modify the content of the TCanvas as in pure ROOT.
-
Tobias Triffterer authored
If Qt redraws the GUI, this is forwarded to ROOT's canvas.
-
Tobias Triffterer authored
This instantiates TCanvas and draws the empty canvas on the widget's surface area.
-
Tobias Triffterer authored
This class shall encapsulate a TCanvas instance from ROOT. The code is inspired by this ROOT forum thread https://root-forum.cern.ch/t/gvirtualx-addwindow-problem/25215/5 and this example posted there: https://root-forum.cern.ch/uploads/default/original/2X/4/4f1f5269962b0622a04fa6093c805f5573669df4.gz
-
- Apr 19, 2021
-
-
Tobias Triffterer authored
This action will allow the clients to select whether the target hole should be open, closed, or covered with a gold foil.
-
Tobias Triffterer authored
This verifies the content of the JSON object and constructs a Command instance with the parameters given there.
-
Tobias Triffterer authored
The first collection of methods was apparently incomplete, so it is hereby extended.
-
- Apr 16, 2021
-
-
Tobias Triffterer authored
This turns a command object instance into a JSON string that can be send through the websocket.
-
Tobias Triffterer authored
This struct represents one command sent via th websocket connection in either direction. Writing the code parsing an incoming command has been partly written already.
-
Tobias Triffterer authored
This enum contains all the commands currently foreseen for the protocol, although the list may of course be extended later on.
-
Tobias Triffterer authored
In order to make the invocation of the log output method as short as possible, this helper function creates a function object that stores a component name and a log level.
-
Tobias Triffterer authored
For the case that the colors cannot be displayed properly, e.g. because the log has been redirected to a file which is viewed in an editor, the log level is also printed as text.
-
Tobias Triffterer authored
This class facilitates the log output on the terminal and displays different log levels by using different colors.
-
- Apr 15, 2021
-
-
Tobias Triffterer authored
This structure keeps track of key parameters like target position, pressure, etc. of the experiment.
-
Tobias Triffterer authored
This adds the BoundedNumeral class template and its associated exception that I wrote originally for libLedPulser2. Sources: https://gitlab.ep1.rub.de/dcs/libledpulser2/-/blob/dbdab89d5332c643905e8ef608a922ba9470c52f/src/boundednumeral.h https://gitlab.ep1.rub.de/dcs/libledpulser2/-/blob/dbdab89d5332c643905e8ef608a922ba9470c52f/src/boundaryexceededexception.h
-
Tobias Triffterer authored
Due to a copy&paste mistake, the current year was given as “2020” in the copyright notice at the top of the file.
-