AnimatLab  2
Test
FiringRateSim::ClassFactory Class Reference

Firing rate neural module class factory. More...

#include <ClassFactory.h>

+ Inheritance diagram for FiringRateSim::ClassFactory:
+ Collaboration diagram for FiringRateSim::ClassFactory:

Public Member Functions

 ClassFactory ()
 Default constructor. More...
 
virtual ~ClassFactory ()
 Destructor. More...
 
virtual DataColumn * CreateDataColumn (std::string strType, bool bThrowError=true)
 Creates a data column. More...
 
virtual ExternalStimulusCreateExternalStimulus (std::string strType, bool bThrowError=true)
 Creates an external stimulus. More...
 
virtual NeuralModule * CreateNeuralModule (std::string strType, bool bThrowError=true)
 Creates a neural module. More...
 
virtual NeuronCreateNeuron (std::string strType, bool bThrowError=true)
 Creates a neuron. More...
 
virtual CStdSerializeCreateObject (std::string strClassType, std::string strObjectType, bool bThrowError=true)
 
virtual SynapseCreateSynapse (std::string strType, bool bThrowError=true)
 Creates a synapse. More...
 

Detailed Description

Firing rate neural module class factory.

Author
dcofer
Date
3/30/2011

Definition at line 22 of file FiringRateSim/ClassFactory.h.

Constructor & Destructor Documentation

FiringRateSim::ClassFactory::ClassFactory ( )

Default constructor.

Author
dcofer
Date
3/30/2011

Definition at line 30 of file FiringRateSim/ClassFactory.cpp.

FiringRateSim::ClassFactory::~ClassFactory ( )
virtual

Destructor.

Author
dcofer
Date
3/30/2011

Definition at line 41 of file FiringRateSim/ClassFactory.cpp.

Member Function Documentation

DataColumn * FiringRateSim::ClassFactory::CreateDataColumn ( std::string  strType,
bool  bThrowError = true 
)
virtual

Creates a data column.

Author
dcofer
Date
3/30/2011
Parameters
strTypeType of the class to create.
bThrowErrortrue to throw error if problem.
Returns
Pointer to created object.

Definition at line 141 of file FiringRateSim/ClassFactory.cpp.

References StdUtils::Std_ToUpper(), and StdUtils::Std_Trim().

+ Here is the call graph for this function:

ExternalStimulus * FiringRateSim::ClassFactory::CreateExternalStimulus ( std::string  strType,
bool  bThrowError = true 
)
virtual

Creates an external stimulus.

Author
dcofer
Date
3/30/2011
Parameters
strTypeType of the class to create.
bThrowErrortrue to throw error if problem.
Returns
Pointer to created object.

Definition at line 180 of file FiringRateSim/ClassFactory.cpp.

References StdUtils::Std_ToUpper(), and StdUtils::Std_Trim().

+ Here is the call graph for this function:

NeuralModule * FiringRateSim::ClassFactory::CreateNeuralModule ( std::string  strType,
bool  bThrowError = true 
)
virtual

Creates a neural module.

Author
dcofer
Date
3/30/2011
Parameters
strTypeType of the std::string.
bThrowErrortrue to throw error.
Returns
null if it fails, else.

Definition at line 223 of file FiringRateSim/ClassFactory.cpp.

References StdUtils::Std_ToUpper(), and StdUtils::Std_Trim().

+ Here is the call graph for this function:

Neuron * FiringRateSim::ClassFactory::CreateNeuron ( std::string  strType,
bool  bThrowError = true 
)
virtual

Creates a neuron.

Author
dcofer
Date
3/30/2011
Parameters
strTypeType of the class to create.
bThrowErrortrue to throw error if problem.
Returns
Pointer to created object.

Definition at line 46 of file FiringRateSim/ClassFactory.cpp.

References StdUtils::Std_ToUpper(), and StdUtils::Std_Trim().

+ Here is the call graph for this function:

Synapse * FiringRateSim::ClassFactory::CreateSynapse ( std::string  strType,
bool  bThrowError = true 
)
virtual

Creates a synapse.

Author
dcofer
Date
3/30/2011
Parameters
strTypeType of the class to create.
bThrowErrortrue to throw error if problem.
Returns
Pointer to created object.

Definition at line 94 of file FiringRateSim/ClassFactory.cpp.

References StdUtils::Std_ToUpper(), and StdUtils::Std_Trim().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: