VISR  0.11.8
Versatile Interactive Scene Renderer
signal_flow.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_APPS_FEEDTHROUGH_SIGNAL_FLOW_HPP_INCLUDED
4 #define VISR_APPS_FEEDTHROUGH_SIGNAL_FLOW_HPP_INCLUDED
5 
9 
10 #include <librcl/add.hpp>
11 
13 
14 namespace visr
15 {
16 namespace apps
17 {
18 namespace feedthrough
19 {
20 
22 {
23 public:
24  explicit Feedthrough( SignalFlowContext & context, const char* name, CompositeComponent * parent = nullptr );
25 
26  ~Feedthrough();
27 
28  /*virtual*/ void process( );
29 
30 private:
31  AudioInput mInput;
32 
33  AudioOutput mOutput;
34 
35  rcl::Add mSum;
36 };
37 
38 } // namespace feedthrough
39 } // namespace apps
40 } // namespace visr
41 
42 #endif // #ifndef VISR_APPS_FEEDTHROUGH_SIGNAL_FLOW_HPP_INCLUDED
~Feedthrough()
Definition: signal_flow.cpp:31
Definition: add.hpp:27
Feedthrough(SignalFlowContext &context, const char *name, CompositeComponent *parent=nullptr)
Definition: signal_flow.cpp:15
std::string const & name() const
Definition: component.cpp:52
Definition: signal_flow.hpp:21
Definition: options.cpp:10
Definition: composite_component.hpp:29
Definition: signal_flow_context.hpp:15