AnimatLab  2
Test
GatedSynapse.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace FiringRateSim
10 {
11  namespace Synapses
12  {
25  class FAST_NET_PORT GatedSynapse : public Synapse
26  {
27  protected:
29  unsigned char m_iInitialGateValue;
30 
31  public:
32  GatedSynapse();
33  virtual ~GatedSynapse();
34 
35  virtual unsigned char InitialGateValue();
36  virtual void InitialGateValue(unsigned char iVal);
37 
38  virtual float CalculateModulation(FiringRateModule *lpModule);
39 
40 #pragma region DataAccesMethods
41  virtual float *GetDataPointer(const std::string &strDataType);
42  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
43  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
44 #pragma endregion
45 
46  virtual void Load(CStdXml &oXml);
47  };
48 
49  } //Synapses
50 } //FiringRateSim
Firing rate neural module.
unsigned char m_iInitialGateValue
Tells whether the gate is initially open or closed.
Definition: GatedSynapse.h:29
Gated firing rate synapse.
Definition: GatedSynapse.h:25
Contains the classes for a firing rate neural model.
Firing rate synapse model.
Definition: Synapse.h:29