SpikeStream Application Library  0.2
spikestream::NetworksBuilder Class Reference

#include <NetworksBuilder.h>

List of all members.

Public Member Functions

 NetworksBuilder ()
virtual ~NetworksBuilder ()
bool isError ()
QString getErrorMessage ()

Protected Member Functions

virtual void addTraining (unsigned int neuronID, QString trainingStr, bool output)
virtual void addConnectionGroup (unsigned int networkID, ConnectionGroup &connGrp)
virtual void runThread (NetworkDaoThread &thread)
void clearError ()
void setError (const QString &errMsg)

Protected Attributes

NetworkDao * networkDao
ArchiveDao * archiveDao

Detailed Description

Adds training and connection groups to the database

Definition at line 14 of file NetworksBuilder.h.


Constructor & Destructor Documentation

Constructor

Definition at line 9 of file NetworksBuilder.cpp.

Destructor

Definition at line 16 of file NetworksBuilder.cpp.


Member Function Documentation

void NetworksBuilder::addConnectionGroup ( unsigned int  networkID,
ConnectionGroup &  connGrp 
) [protected, virtual]

Adds the connection group to the database

Definition at line 50 of file NetworksBuilder.cpp.

void NetworksBuilder::addTraining ( unsigned int  neuronID,
QString  trainingStr,
bool  output 
) [protected, virtual]

Sets pointer to point to a byte array that is filled with the specified training pattern

Definition at line 25 of file NetworksBuilder.cpp.

void NetworksBuilder::clearError ( ) [protected]

Clears the error state of the class.

Definition at line 69 of file NetworksBuilder.cpp.

Definition at line 19 of file NetworksBuilder.h.

Definition at line 18 of file NetworksBuilder.h.

void NetworksBuilder::runThread ( NetworkDaoThread &  thread) [protected, virtual]

Runs the supplied thread and checks for errors

Definition at line 59 of file NetworksBuilder.cpp.

void NetworksBuilder::setError ( const QString &  errMsg) [protected]

Sets the class in an error state. Used when running as a thread.

Definition at line 76 of file NetworksBuilder.cpp.


Member Data Documentation

Archive dao that this class uses - don't use Globals in case we are a separate thread.

Definition at line 27 of file NetworksBuilder.h.

NetworkDao that this class uses - don't use Globals in case we are a separate thread.

Definition at line 24 of file NetworksBuilder.h.


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