You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/app_dev.rst
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,18 +9,26 @@ Or see below for full applications.
9
9
10
10
C++ apps
11
11
--------
12
-
To get started with a C++ acquisition app, take a look at the `BestPracticesGUI<https://github.com/labstreaminglayer/App-BestPracticesGUI/>`__, a small example that provides a solid groundwork for at least the following parts:
12
+
To get started with a C++ acquisition app, take a look at the `AppTemplate_cpp_qt<https://github.com/labstreaminglayer/AppTemplate_cpp_qt/>`__, a small example that provides a solid groundwork for at least the following parts:
13
13
14
14
- license information
15
15
- setting up a build with CMake
16
-
- showing a graphical user interface to change the configuration and start / stop streaming data from a fictitious device to the network in a separate thread
16
+
- setting up a data stream in a separate thread
17
+
- showing a graphical user interface to change the configuration and start / stop streaming data
17
18
- save / load the configuration
18
19
- CI configuration so binaries are almost automatically built on the three major OSes
19
20
20
-
You can copy the `app skeleton <https://github.com/labstreaminglayer/App-BestPracticesGUI/tree/master/appskeleton>`__ to a new repository to get started and read the `annotated source files <https://github.com/labstreaminglayer/App-BestPracticesGUI/tree/master/doc>`__ for an overview over the design decisions and things you should change.
21
+
On the AppTemplate_cpp_qt repository website click on "Use this template" to generate your own repository. Or `Click Here! <https://github.com/labstreaminglayer/AppTemplate_cpp_qt/generate>`__.
22
+
23
+
Read the annotated CMakeLists.txt file and the annotated source files for an overview of the app design and pointers about what you should change.
21
24
22
25
And of course many of the applications in the `labstreaminglayer submodules <https://github.com/sccn/labstreaminglayer/tree/master/Apps>`_ are good examples of C++ applications, most of which use Qt.
23
26
24
27
Python apps
25
28
-----------
26
-
Python is another great language for app development, as long as your target audience has Python and the required libraries installed. While there are no full application examples, `Pupils Labs <https://github.com/labstreaminglayer/App-PupilLabs>`__ has both a plugin and a simple application that provide a good demonstration of using ``pylsl``.
29
+
Python is another great language for app development, as long as your target audience has Python and the required libraries installed.
30
+
31
+
While there are no full application templates, look at the `example code <https://github.com/labstreaminglayer/liblsl-Python/tree/master/pylsl/examples>`__ to begin.
32
+
33
+
A couple good ``pylsl`` example apps are `the one from Pupils Labs <https://github.com/labstreaminglayer/App-PupilLabs>`__, which has both a plugin and a simple application, and `SigVisualizer <https://github.com/labstreaminglayer/App-SigVisualizer>`__.
0 commit comments