VISR  0.11.1
Versatile Interactive Scene Renderer
signal_flow_context.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_SIGNAL_FLOW_CONTEXT_HPP_INCLUDED
4 #define VISR_SIGNAL_FLOW_CONTEXT_HPP_INCLUDED
5 
6 #include "constants.hpp"
7 #include "export_symbols.hpp"
8 
9 namespace visr
10 {
11 
15 class VISR_CORE_LIBRARY_SYMBOL SignalFlowContext
16 {
17 public:
25  explicit SignalFlowContext( std::size_t period, SamplingFrequencyType samplingFrequency );
26 
30  SignalFlowContext( SignalFlowContext const & rhs );
31 
36 
41 
46  std::size_t period() const { return mPeriod; }
47 
51  SamplingFrequencyType samplingFrequency() const { return mSamplingFrequency; }
52 
53 private:
57  std::size_t const mPeriod;
58 
63  SamplingFrequencyType const mSamplingFrequency;
64 };
65 
66 } // namespace visr
67 
68 #endif // #ifndef VISR_SIGNAL_FLOW_CONTEXT_HPP_INCLUDED
Definition: options.cpp:10
Definition: signal_flow_context.hpp:15
std::size_t period() const
Definition: signal_flow_context.hpp:46
SamplingFrequencyType samplingFrequency() const
Definition: signal_flow_context.hpp:51
std::size_t SamplingFrequencyType
Definition: constants.hpp:19