Browse Source

added doxyfile

master
Stefan Naumann 5 years ago
parent
commit
84430db3d5
  1. 2430
      Doxyfile
  2. 2
      cfg/config.json
  3. 6
      setup.sh
  4. 2
      src/fileio.py
  5. 5
      src/genericThread.py

2430
Doxyfile

File diff suppressed because it is too large

2
cfg/config.json

@ -1 +1 @@
{"WindowX": 1, "WindowY": 47, "WindowWidth": 641, "WindowHeight": 449}
{"WindowX": 3, "WindowY": 47, "WindowWidth": 641, "WindowHeight": 449}

6
setup.sh

@ -15,10 +15,11 @@ piplayer_config=../config.json
function help ()
{
echo "Usage: bash setup.sh [install|prepare]"
echo "Usage: bash setup.sh (install|prepare|doc)"
echo "----"
echo " * install: copies dbuscontrol.sh and PiPlayer to a common place (needs root)"
echo " * prepare: install prerequisites (pyFLTK); GCC required"
echo " * doc: generate doxygen documentation from the sources"
}
case $1 in
@ -64,6 +65,9 @@ prepare)
rm $pyFLTKFile
fi
;;
doc)
doxygen Doxyfile
;;
*)
help
;;

2
src/fileio.py

@ -1,4 +1,4 @@
## @package fileio.py
## @package fileio
# fileio serves as simple interface to store the config-file
import json

5
src/genericThread.py

@ -15,10 +15,15 @@ class genericThread ( threading.Thread ):
# @param counter - not quite sure what that is.
def __init__ (self, threadID, name, counter):
threading.Thread.__init__(self);
## a unique thread-id identifying the thread
self.threadID = threadID
## a human-readable name for the thread
self.name = name
## a counter - not quite sure what that is for
self.counter = counter
## a function to be called inside the new thread
self.fn = None;
## arguments for the function to be called (as array!)
self.args=[];
## runs the thread itself, will be called from the start-function of the