SpikeStream Application Library
0.2
|
#include <NetworksBuilder.h>
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 |
Adds training and connection groups to the database
Definition at line 14 of file NetworksBuilder.h.
Constructor
Definition at line 9 of file NetworksBuilder.cpp.
NetworksBuilder::~NetworksBuilder | ( | ) | [virtual] |
Destructor
Definition at line 16 of file NetworksBuilder.cpp.
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.
QString spikestream::NetworksBuilder::getErrorMessage | ( | ) | [inline] |
Definition at line 19 of file NetworksBuilder.h.
bool spikestream::NetworksBuilder::isError | ( | ) | [inline] |
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.
ArchiveDao* spikestream::NetworksBuilder::archiveDao [protected] |
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* spikestream::NetworksBuilder::networkDao [protected] |
NetworkDao that this class uses - don't use Globals in case we are a separate thread.
Definition at line 24 of file NetworksBuilder.h.