Skip to content

Commit

Permalink
Replace Signal class with fast_any
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusTomlinson committed Aug 11, 2023
1 parent 151aad6 commit 3e965b6
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 273 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "subprojects/fast_any"]
path = subprojects/fast_any
url = https://github.com/cross-platform/fast_any.git
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ enable_testing()
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}/subprojects
)

file(GLOB root_hdrs include/*.h)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DSPatch, pronounced "dispatch", is a powerful C++ dataflow framework. DSPatch is
```
git clone https://github.com/cross-platform/dspatch.git
cd dspatch
git submodule update --init --recursive --remote
mkdir build
cd build
cmake ..
Expand Down
2 changes: 1 addition & 1 deletion include/DSPatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class And final : public Component
\endcode
Lastly, our component must implement the virtual Process_() method. This is where our component
does it's work. The Process_() method provides us with 2 arguments: the input bus and the
does its work. The Process_() method provides us with 2 arguments: the input bus and the
output bus. It is our duty as the component designer to pull the inputs we require out of the
input bus, process them accordingly, then populate the output bus with the results.
Expand Down
2 changes: 1 addition & 1 deletion include/dspatch/Circuit.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ One output, on the other hand, can be distributed to multiple inputs.
To boost performance in stream processing circuits, multi-buffering can be enabled via the
SetBufferCount() method. A circuit's buffer count can be adjusted at runtime.
The Circuit Tick() method runs through it's internal array of components and calls each component's
The Circuit Tick() method runs through its internal array of components and calls each component's
Tick() and Reset() methods once. A circuit's Tick() method can be called in a loop from the main
application thread, or alternatively, by calling StartAutoTick(), a separate thread will spawn,
automatically calling Tick() continuously until PauseAutoTick() or StopAutoTick() is called.
Expand Down
246 changes: 0 additions & 246 deletions include/dspatch/Signal.h

This file was deleted.

Loading

0 comments on commit 3e965b6

Please sign in to comment.