Skip to content

Commit 3e965b6

Browse files
Replace Signal class with fast_any
1 parent 151aad6 commit 3e965b6

File tree

12 files changed

+39
-273
lines changed

12 files changed

+39
-273
lines changed

Diff for: .gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "subprojects/fast_any"]
2+
path = subprojects/fast_any
3+
url = https://github.com/cross-platform/fast_any.git

Diff for: CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ enable_testing()
3333
include_directories(
3434
${CMAKE_CURRENT_SOURCE_DIR}/include
3535
${CMAKE_CURRENT_SOURCE_DIR}/src
36+
${CMAKE_CURRENT_SOURCE_DIR}/subprojects
3637
)
3738

3839
file(GLOB root_hdrs include/*.h)

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ DSPatch, pronounced "dispatch", is a powerful C++ dataflow framework. DSPatch is
1414
```
1515
git clone https://github.com/cross-platform/dspatch.git
1616
cd dspatch
17+
git submodule update --init --recursive --remote
1718
mkdir build
1819
cd build
1920
cmake ..

Diff for: include/DSPatch.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class And final : public Component
131131
\endcode
132132
133133
Lastly, our component must implement the virtual Process_() method. This is where our component
134-
does it's work. The Process_() method provides us with 2 arguments: the input bus and the
134+
does its work. The Process_() method provides us with 2 arguments: the input bus and the
135135
output bus. It is our duty as the component designer to pull the inputs we require out of the
136136
input bus, process them accordingly, then populate the output bus with the results.
137137

Diff for: include/dspatch/Circuit.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ One output, on the other hand, can be distributed to multiple inputs.
5151
To boost performance in stream processing circuits, multi-buffering can be enabled via the
5252
SetBufferCount() method. A circuit's buffer count can be adjusted at runtime.
5353
54-
The Circuit Tick() method runs through it's internal array of components and calls each component's
54+
The Circuit Tick() method runs through its internal array of components and calls each component's
5555
Tick() and Reset() methods once. A circuit's Tick() method can be called in a loop from the main
5656
application thread, or alternatively, by calling StartAutoTick(), a separate thread will spawn,
5757
automatically calling Tick() continuously until PauseAutoTick() or StopAutoTick() is called.

Diff for: include/dspatch/Signal.h

-246
This file was deleted.

0 commit comments

Comments
 (0)