SpikeStream Application Library  0.2
spikestream::AbstractConnectionBuilder Class Reference

#include <AbstractConnectionBuilder.h>

List of all members.

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 &paramName)

Protected Attributes

ConnectionGroupInfo connectionGroupInfo
ConnectionGroup * newConnectionGroup
NetworkDao * threadNetworkDao

Detailed Description

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 & Destructor Documentation

Destructor

Definition at line 14 of file AbstractConnectionBuilder.cpp.


Member Function Documentation

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.


Member Data Documentation

Holds information about the connection group that is being added

Definition at line 34 of file AbstractConnectionBuilder.h.

Connection group being added

Definition at line 37 of file AbstractConnectionBuilder.h.

Network Dao used by Network when in thread

Definition at line 40 of file AbstractConnectionBuilder.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines