AnimatLab  2
Test
ModulateNeuronPropSynapse.h
1 
7 #pragma once
8 
9 namespace FiringRateSim
10 {
11  namespace Synapses
12  {
21  class FAST_NET_PORT ModulateNeuronPropSynapse : public Synapse
22  {
23  protected:
26 
28  std::string m_strPropertyName;
29 
32 
33  public:
35  virtual ~ModulateNeuronPropSynapse();
36 
37  AnimatSim::Gains::Gain *ModulationGain() {return m_lpGain;};
38  void ModulationGain(AnimatSim::Gains::Gain *lpGain);
39  void ModulationGain(std::string strXml);
40 
41  virtual void PropertyName(std::string strPropName);
42  virtual std::string PropertyName();
43 
44 #pragma region DataAccesMethods
45  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
46  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
47 #pragma endregion
48 
49  virtual void Process(float &fltCurrent);
50 
51  virtual void ResetSimulation();
52  virtual void Initialize();
53  virtual void Load(CStdXml &oXml);
54  };
55 
56  } //Synapses
57 } //FiringRateSim
std::string m_strPropertyName
The name of the property we are modulating.
The Gain base class.
Definition: Gain.h:35
AnimatSim::Gains::Gain * m_lpGain
Pointer to the graph used to calculate the hi current.
Firing rate synapse model for modulating neuron properties.
Contains the classes for a firing rate neural model.
float * m_lpPropertyData
Pointer to the property we are modulating.
Firing rate synapse model.
Definition: Synapse.h:29