SpikeStream Application Library
0.2
|
#include <AbstractConnectionBuilder.h>
Signals | |
void | progress (int stepsCompleted, int totalSteps, QString message) |
Public Member Functions | |
AbstractConnectionBuilder () | |
virtual | ~AbstractConnectionBuilder () |
virtual void | startBuildConnectionGroup (const ConnectionGroupInfo &conGrpInfo) |
virtual void | run () |
Protected Member Functions | |
virtual void | buildConnectionGroup ()=0 |
virtual void | checkParameters ()=0 |
virtual double | getParameter (const QString ¶mName) |
Protected Attributes | |
ConnectionGroupInfo | connectionGroupInfo |
ConnectionGroup * | newConnectionGroup |
NetworkDao * | threadNetworkDao |
Abstract class with functionality common to all classes that build connections in a separate thread and potentially add them to the database.
Definition at line 17 of file AbstractConnectionBuilder.h.
Constructor
Definition at line 9 of file AbstractConnectionBuilder.cpp.
AbstractConnectionBuilder::~AbstractConnectionBuilder | ( | ) | [virtual] |
Destructor
Definition at line 14 of file AbstractConnectionBuilder.cpp.
virtual void spikestream::AbstractConnectionBuilder::buildConnectionGroup | ( | ) | [protected, pure virtual] |
virtual void spikestream::AbstractConnectionBuilder::checkParameters | ( | ) | [protected, pure virtual] |
double AbstractConnectionBuilder::getParameter | ( | const QString & | paramName | ) | [protected, virtual] |
Returns a parameter from the connection group info parameter map checking that it actually exists
Definition at line 89 of file AbstractConnectionBuilder.cpp.
void spikestream::AbstractConnectionBuilder::progress | ( | int | stepsCompleted, |
int | totalSteps, | ||
QString | message | ||
) | [signal] |
void AbstractConnectionBuilder::run | ( | ) | [virtual] |
Thread run method
Definition at line 23 of file AbstractConnectionBuilder.cpp.
void AbstractConnectionBuilder::startBuildConnectionGroup | ( | const ConnectionGroupInfo & | conGrpInfo | ) | [virtual] |
Prepares class before it runs as a separate thread to add a neuron group
Definition at line 70 of file AbstractConnectionBuilder.cpp.
ConnectionGroupInfo spikestream::AbstractConnectionBuilder::connectionGroupInfo [protected] |
Holds information about the connection group that is being added
Definition at line 34 of file AbstractConnectionBuilder.h.
ConnectionGroup* spikestream::AbstractConnectionBuilder::newConnectionGroup [protected] |
Connection group being added
Definition at line 37 of file AbstractConnectionBuilder.h.
NetworkDao* spikestream::AbstractConnectionBuilder::threadNetworkDao [protected] |
Network Dao used by Network when in thread
Definition at line 40 of file AbstractConnectionBuilder.h.