SpikeStream Application Library  0.2
spikestream::AbstractConnectionWidget Class Reference

#include <AbstractConnectionWidget.h>

List of all members.

Public Member Functions

 AbstractConnectionWidget (QWidget *parent=0)
virtual ~AbstractConnectionWidget ()

Protected Member Functions

void addNeuronGroups (QComboBox *combo)
void addSynapseTypes (QComboBox *combo)
virtual bool checkInputs ()=0
void checkInput (QComboBox *combo, const QString &errorMessage)
void checkInput (QLineEdit *inputEdit, const QString &errorMessage)
virtual ConnectionGroupInfo getConnectionGroupInfo ()=0
unsigned int getNeuronGroupID (const QString &comboText)
unsigned int getSynapseTypeID (const QString &comboText)

Protected Attributes

AbstractConnectionBuilderconnectionBuilder

Detailed Description

Abstract widget implementing functionality common to all connection widget plugins.

Definition at line 18 of file AbstractConnectionWidget.h.


Constructor & Destructor Documentation

Constructor

Definition at line 14 of file AbstractConnectionWidget.cpp.

Destructor

Definition at line 20 of file AbstractConnectionWidget.cpp.


Member Function Documentation

void AbstractConnectionWidget::addNeuronGroups ( QComboBox *  combo) [protected]

Adds the neuron groups from the current network to the combo box

Definition at line 30 of file AbstractConnectionWidget.cpp.

void AbstractConnectionWidget::addSynapseTypes ( QComboBox *  combo) [protected]

Adds synapse types to the specified combo

Definition at line 39 of file AbstractConnectionWidget.cpp.

void AbstractConnectionWidget::checkInput ( QComboBox *  combo,
const QString &  errorMessage 
) [protected]

Checks that a combo box has at least one entry

Definition at line 48 of file AbstractConnectionWidget.cpp.

void AbstractConnectionWidget::checkInput ( QLineEdit *  inputEdit,
const QString &  errMsg 
) [protected]

Checks that a line edit has a valid input

Definition at line 56 of file AbstractConnectionWidget.cpp.

virtual bool spikestream::AbstractConnectionWidget::checkInputs ( ) [protected, pure virtual]

Checks that the inputs to the plugin have sensible values.

virtual ConnectionGroupInfo spikestream::AbstractConnectionWidget::getConnectionGroupInfo ( ) [protected, pure virtual]

Returns a connection group info specifying the network to be created.

unsigned int AbstractConnectionWidget::getNeuronGroupID ( const QString &  comboText) [protected]

Creates a new connection builder. NOTE: should only be called once.

Extracts the neuron group ID from the text of a combo box

Definition at line 64 of file AbstractConnectionWidget.cpp.

unsigned int AbstractConnectionWidget::getSynapseTypeID ( const QString &  comboText) [protected]

Extracts the synapse type id from the text of a combo box

Definition at line 74 of file AbstractConnectionWidget.cpp.


Member Data Documentation

Class that runs as a separate thread to create connection group

Definition at line 29 of file AbstractConnectionWidget.h.


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