Scope
StimulationVector.h
1 #pragma once
2 
3 #include "parameters/Scope.h"
4 
5 namespace scope {
6 
9 
10 protected:
13 
15  std::shared_ptr<std::vector<uint8_t>> const vecptr;
16 
17 protected:
19  void UpdateVector();
20 
21 public:
23 
25  void SetParameters(const parameters::Stimulation& _parameters) { parameters = _parameters; }
26 
28  std::shared_ptr<const std::vector<uint8_t>> GetVector() const { return vecptr; }
29 };
30 
31 }
parameters::Stimulation parameters
parameter set
std::shared_ptr< const std::vector< uint8_t > > GetVector() const
Calculates a basic digital stimulation pattern.
Parameters for digital stimulation output.
Definition: Scope.h:26
void SetParameters(const parameters::Stimulation &_parameters)
Sets parameters.
void UpdateVector()
Recalculates the stimulation vector.
std::shared_ptr< std::vector< uint8_t > > const vecptr
pointer to data vector