#include <SimulationWidget.h>
Definition at line 72 of file SimulationWidget.h.
|
||||||||||||||||||||||||
|
|
Destructor. Definition at line 558 of file SimulationWidget.cpp. References simulationManager. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Checks the simulation manager to see if there have been any errors in the simulation. Definition at line 677 of file SimulationWidget.cpp. References SimulationManager::clearSimulationError(), SimulationManager::getSimulationErrorMsg(), simStopButtonPressed(), SimulationManager::simulationError(), simulationErrorMap, and simulationManager. Referenced by SimulationWidget(). |
|
|
Checks with the simulation manager to see if the weights have been saved for viewing or if there has been an error. Definition at line 700 of file SimulationWidget.cpp. References busyDialog, SimulationManager::getViewWeightsSaved(), SpikeStreamMainWindow::reloadConnectionDetails(), SimulationManager::simulationError(), simulationManager, and SpikeStreamMainWindow::spikeStrMainWin. Referenced by viewWeightsButtonPressed(). |
|
|
Called by timer to check whether weights have been loaded or not. The timer is restarted if they have not finished loading. Definition at line 719 of file SimulationWidget.cpp. References busyDialog, SimulationManager::getWeightsLoaded(), SimulationManager::simulationError(), and simulationManager. Referenced by reloadWeightsButtonPressed(). |
|
|
Checks with the simulation manager to see if the weights have been saved or if there has been an error. Definition at line 737 of file SimulationWidget.cpp. References busyDialog, SimulationManager::getWeightsSaved(), SpikeStreamMainWindow::reloadConnectionDetails(), SimulationManager::simulationError(), simulationManager, and SpikeStreamMainWindow::spikeStrMainWin. Referenced by saveWeightsButtonPressed(). |
|
|
Instructs monitor area to dock all monitor windows. Definition at line 755 of file SimulationWidget.cpp. References MonitorArea::dockMonitorWindows(), and monitorArea. Referenced by SimulationWidget(). |
|
|
Fires a single neuron. Definition at line 761 of file SimulationWidget.cpp. References SimulationManager::fireNeuron(), fireNeuronCombo, fireNeuronText, maxFireNeuronID, and simulationManager. Referenced by SimulationWidget(). |
|
|
Gets the first neuron id in the neuron group when the selection is changed in the fire neuron combo. Definition at line 789 of file SimulationWidget.cpp. References fireNeuronText, fireNeuronValidator, maxFireNeuronID, minFireNeuronID, and networkDBInterface. Referenced by initialiseButtonToggled(), setFromNeuronID(), and SimulationWidget(). |
|
|
Called when the frame rate is changed for live simulation. Definition at line 872 of file SimulationWidget.cpp. References frameRateCombo, SimulationManager::setFrameRate(), and simulationManager. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
||||||||||||||||
|
Loads a list of layer names and IDs into a qstringlist Adapted from method in connection properties dialog. Definition at line 1686 of file SimulationWidget.cpp. References networkDBInterface. Referenced by loadDeviceTable(), and loadPatternTable(). |
|
|
Returns a reference to the simulation manager. Used so that the neuron application can delete classes in the right order. Definition at line 573 of file SimulationWidget.cpp. References simulationManager. Referenced by SpikeStreamMainWindow::SpikeStreamMainWindow(). |
|
|
Returns the simulation start time to prevent the deletion of live archives. Definition at line 580 of file SimulationWidget.cpp. References simulationStartTime. Referenced by LoadArchiveDialog::deleteButtonPressed(), and LoadArchiveDialog::renameButtonPressed(). |
|
|
Shows the global parameters dialog. Definition at line 893 of file SimulationWidget.cpp. References globalParametersDialog, and GlobalParametersDialog::loadParameters(). Referenced by SimulationWidget(). |
|
|
Hides the graphs plotting data from neurons or synapses. Definition at line 900 of file SimulationWidget.cpp. References neuronMonitorMap, and synapseMonitorMap. Referenced by hideOpenWindows(), and SimulationWidget(). |
|
|
Hides the windows that are currently visible. FIXME NEED TO KEEP A RECORD SO THAT THE SAME WINDOWS CAN BE SHOWN AGAIN. Definition at line 587 of file SimulationWidget.cpp. References MonitorArea::dockMonitorWindows(), globalParametersDialog, hideGraphsButtonClicked(), monitorArea, neuronParametersDialog, noiseParametersDialog, and synapseParametersDialog. Referenced by SpikeStreamMainWindow::acceleratorKeyPressed(). |
|
|
|
Injects the specified amount of noise into a neuron group. Definition at line 1256 of file SimulationWidget.cpp. References SimulationManager::injectNoise(), injectNoiseAmntCombo, injectNoiseNeurGrpCombo, and simulationManager. Referenced by SimulationWidget(). |
|
|
Loads a table with all the available patterns. Enables a pattern to be assigned to a suitable neuron group before the simulation starts. Definition at line 1732 of file SimulationWidget.cpp. References deviceDBInterface, deviceFiringModeCol, deviceTable, and getNeuronGrpNames(). Referenced by reloadDevices(), reloadNeuronGroups(), and SimulationWidget(). |
|
|
Loads a list of layer names and IDs into a combo box Adapted from method in connection properties dialog. Definition at line 1828 of file SimulationWidget.cpp. References networkDBInterface. Referenced by initialiseButtonToggled(). |
|
|
Loads a table with all the available patterns. Enables a pattern to be assigned to a suitable neuron group before the simulation starts. Definition at line 1860 of file SimulationWidget.cpp. References getNeuronGrpNames(), patternDBInterface, and patternTable. Referenced by reloadNeuronGroups(), reloadPatterns(), and SimulationWidget(). |
|
|
Make the associated network monitor visible in the dock area. Definition at line 1277 of file SimulationWidget.cpp. References liveMonitorTypeCombo, monitorArea, neuronGrpMonitorCombo, MonitorArea::showAllMonitorWindows(), MonitorArea::showMonitorWindow(), and MonitorArea::undockMonitorWindows(). Referenced by SimulationWidget(). |
|
|
Monitors a single neuron. Definition at line 1307 of file SimulationWidget.cpp. References maxMonitorNeuronID, monitorNeuronCombo, monitorNeuronText, neuronMonitorMap, simulationManager, and SimulationManager::startNeuronMonitoring(). Referenced by SimulationWidget(). |
|
|
Gets the first neuron id in the neuron group when the selection is changed in the monitor neuron combo. Definition at line 831 of file SimulationWidget.cpp. References maxMonitorNeuronID, minMonitorNeuronID, monitorNeuronText, monitorNeuronValidator, and networkDBInterface. Referenced by initialiseButtonToggled(), setFromNeuronID(), and SimulationWidget(). |
|
|
Called when the button has been pressed to start synapse monitoring. Definition at line 1384 of file SimulationWidget.cpp. References monitorSynapseFromNumLabel, monitorSynapseToNumLabel, networkDBInterface, simulationManager, SimulationManager::startSynapseMonitoring(), and synapseMonitorMap. Referenced by SimulationWidget(). |
|
|
Checks to see if any of the neuron groups are lacking connections with another neuron group. These will never receive spike messages and so will not be updated. Returns true if there are isolated neuron groups or if there has been an error. Definition at line 1931 of file SimulationWidget.cpp. References networkDBInterface. Referenced by initialiseButtonToggled(). |
|
|
Shows the neuron parameter dialog. Definition at line 1485 of file SimulationWidget.cpp. References NeuronParametersDialog::loadNeuronParameters(), and neuronParametersDialog. Referenced by SimulationWidget(). |
|
|
Shows the noise parameter dialog. Definition at line 1492 of file SimulationWidget.cpp. References NoiseParametersDialog::loadParameters(), and noiseParametersDialog. Referenced by SimulationWidget(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Starts or stops the recording of neuron data to the archive. Definition at line 1499 of file SimulationWidget.cpp. References ignoreRecordButton, recordButton, simulationManager, SimulationManager::startRecording(), and SimulationManager::stopRecording(). Referenced by SimulationWidget(). |
|
|
Reloads the connection groups. Definition at line 598 of file SimulationWidget.cpp. References SynapseParametersDialog::loadSynapseParameters(), and synapseParametersDialog. Referenced by SpikeStreamMainWindow::reloadConnections(), and SpikeStreamMainWindow::reloadEverything(). |
|
|
Reloads the devices. Definition at line 604 of file SimulationWidget.cpp. References loadDeviceTable(). Referenced by SpikeStreamMainWindow::reloadDevices(). |
|
|
vCalled whenver the list of neuron groups changes. Definition at line 610 of file SimulationWidget.cpp. References loadDeviceTable(), NeuronParametersDialog::loadNeuronParameters(), loadPatternTable(), and neuronParametersDialog. Referenced by SpikeStreamMainWindow::reloadEverything(), and SpikeStreamMainWindow::reloadNeuronGroups(). |
|
|
Called when changes are made to the patterns in the database. Definition at line 618 of file SimulationWidget.cpp. References loadPatternTable(). Referenced by SpikeStreamMainWindow::reloadPatterns(). |
|
|
Reloads weights from the database into the neuron groups. This resets the weights in the simulation without restarting it. Definition at line 1523 of file SimulationWidget.cpp. References busyDialog, checkWeightsLoadState(), SimulationManager::loadWeights(), BusyDialog::showDialog(), and simulationManager. Referenced by SimulationWidget(). |
|
|
Instructs the tasks to save their weights to the database. Definition at line 1545 of file SimulationWidget.cpp. References busyDialog, checkWeightsSaveState(), SimulationManager::saveWeights(), BusyDialog::showDialog(), and simulationManager. Referenced by SimulationWidget(). |
|
||||||||||||
|
Sets the currently active neuron so that the user can choose to fire it for debugging etc. Definition at line 625 of file SimulationWidget.cpp. References fireNeuronCombo, fireNeuronComboActivated(), fireNeuronText, monitorNeuronCombo, monitorNeuronComboActivated(), monitorNeuronText, and monitorSynapseFromNumLabel. Referenced by SpikeStreamMainWindow::setFromNeuronID(). |
|
|
Sets the reference to the monitor area that will be used to create monitor windows. Definition at line 653 of file SimulationWidget.cpp. References monitorArea. Referenced by SpikeStreamMainWindow::SpikeStreamMainWindow(). |
|
|
Sets the simulation start time - used to prevent the deletion of active archives. Definition at line 1568 of file SimulationWidget.cpp. References simulationStartTime. Referenced by SimulationWidget(). |
|
|
Sets the active to neuron. Definition at line 659 of file SimulationWidget.cpp. References monitorSynapseToNumLabel. Referenced by SpikeStreamMainWindow::setToNeuronID(). |
|
|
Shows all of the graphs monitoring data. Definition at line 1574 of file SimulationWidget.cpp. References neuronMonitorMap, and synapseMonitorMap. Referenced by SimulationWidget(). |
|
|
Shows the windows that are currently visible. FIXME NEED TO TRACK WHICH ARE CURRENTLY OPEN. Definition at line 666 of file SimulationWidget.cpp. Referenced by SpikeStreamMainWindow::acceleratorKeyPressed(). |
|
|
Called when the combo setting the simulation mode is changed. Instructs the simulation manager to set the simulation mode appropriately. Definition at line 1595 of file SimulationWidget.cpp. References SimulationManager::setUpdateMode(), and simulationManager. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Starts or stops the simulation playing. Definition at line 1607 of file SimulationWidget.cpp. References initialiseButton, reloadWeightsButton, saveWeightsButton, simStopButtonPressed(), simulationManager, SimulationManager::startSimulation(), and viewWeightsButton. Referenced by SimulationWidget(). |
|
|
Steps through the simulation one time step at a time. NOTE this method is pretty slow, probably because of messaging lags in PVM. Definition at line 1626 of file SimulationWidget.cpp. References simStartButton, simulationManager, and SimulationManager::stepSimulation(). Referenced by SimulationWidget(). |
|
|
Stops the simulation without destroying it. Definition at line 1634 of file SimulationWidget.cpp. References initialiseButton, SimulationManager::isRunning(), reloadWeightsButton, saveWeightsButton, simStartButton, simulationManager, SimulationManager::stopSimulation(), and viewWeightsButton. Referenced by checkSimManagerForErrors(), simStartButtonToggled(), and SimulationWidget(). |
|
|
Shows the synapse parameters dialog. Definition at line 1649 of file SimulationWidget.cpp. References SynapseParametersDialog::loadSynapseParameters(), and synapseParametersDialog. Referenced by SimulationWidget(). |
|
|
Undocks all monitor windows. Definition at line 1656 of file SimulationWidget.cpp. References monitorArea, and MonitorArea::undockMonitorWindows(). Referenced by SimulationWidget(). |
|
|
Instructs the tasks to save their weights to the database. Definition at line 1662 of file SimulationWidget.cpp. References busyDialog, checkViewWeightsSaved(), SimulationManager::saveViewWeights(), BusyDialog::showDialog(), and simulationManager. Referenced by SimulationWidget(). |
|
|
Definition at line 128 of file SimulationWidget.h. Referenced by SimulationWidget(). |
|
|
Definition at line 164 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 163 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Dialog to show when something is happening whose progress cannot be measured. Definition at line 226 of file SimulationWidget.h. Referenced by checkViewWeightsSaved(), checkWeightsLoadState(), checkWeightsSaveState(), reloadWeightsButtonPressed(), saveWeightsButtonPressed(), and viewWeightsButtonPressed(). |
|
|
Definition at line 130 of file SimulationWidget.h. Referenced by loadDeviceTable(), and SimulationWidget(). |
|
|
Definition at line 134 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), loadDeviceTable(), and SimulationWidget(). |
|
|
Definition at line 136 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 133 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 167 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), loadDeviceTable(), and SimulationWidget(). |
|
|
Definition at line 222 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 197 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 195 of file SimulationWidget.h. Referenced by fireNeuronButtonPressed(), initialiseButtonToggled(), setFromNeuronID(), and SimulationWidget(). |
|
|
Definition at line 196 of file SimulationWidget.h. Referenced by fireNeuronButtonPressed(), fireNeuronComboActivated(), initialiseButtonToggled(), setFromNeuronID(), and SimulationWidget(). |
|
|
Definition at line 198 of file SimulationWidget.h. Referenced by fireNeuronComboActivated(), and SimulationWidget(). |
|
|
Definition at line 191 of file SimulationWidget.h. Referenced by frameRateComboChanged(), initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 173 of file SimulationWidget.h. Referenced by globalParamButtonPressed(), hideOpenWindows(), and SimulationWidget(). |
|
|
Definition at line 218 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Sometimes will need to change initialise button's state without doing anything. Definition at line 150 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Sometimes will need to change record button's state without doing anything. Definition at line 154 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), recordButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 177 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), simStartButtonToggled(), simStopButtonPressed(), and SimulationWidget(). |
|
|
Definition at line 189 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), injectNoiseButtonPressed(), and SimulationWidget(). |
|
|
Definition at line 187 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 188 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), injectNoiseButtonPressed(), and SimulationWidget(). |
|
|
Definition at line 165 of file SimulationWidget.h. Referenced by SimulationWidget(). |
|
|
Definition at line 185 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), monitorButtonPressed(), and SimulationWidget(). |
|
|
Definition at line 199 of file SimulationWidget.h. Referenced by fireNeuronButtonPressed(), and fireNeuronComboActivated(). |
|
|
Definition at line 207 of file SimulationWidget.h. Referenced by monitorNeuronButtonPressed(), and monitorNeuronComboActivated(). |
|
|
Definition at line 200 of file SimulationWidget.h. Referenced by fireNeuronComboActivated(). |
|
|
Definition at line 208 of file SimulationWidget.h. Referenced by monitorNeuronComboActivated(). |
|
|
Reference to monitor area for docking and undocking of monitor windows. Definition at line 140 of file SimulationWidget.h. Referenced by dockAllButtonClicked(), hideOpenWindows(), initialiseButtonToggled(), monitorButtonPressed(), setMonitorArea(), and undockAllButtonClicked(). |
|
|
Definition at line 186 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 205 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 203 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), monitorNeuronButtonPressed(), setFromNeuronID(), and SimulationWidget(). |
|
|
Definition at line 204 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), monitorNeuronButtonPressed(), monitorNeuronComboActivated(), setFromNeuronID(), and SimulationWidget(). |
|
|
Definition at line 206 of file SimulationWidget.h. Referenced by monitorNeuronComboActivated(), and SimulationWidget(). |
|
|
Definition at line 215 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 211 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 213 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), monitorSynapseButtonPressed(), setFromNeuronID(), and SimulationWidget(). |
|
|
Definition at line 212 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 214 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), monitorSynapseButtonPressed(), setToNeuronID(), and SimulationWidget(). |
|
|
Definition at line 127 of file SimulationWidget.h. Referenced by fireNeuronComboActivated(), getNeuronGrpNames(), loadNeuronGrpNames(), monitorNeuronComboActivated(), monitorSynapseButtonPressed(), neuronGroupsIsolated(), and SimulationWidget(). |
|
|
Definition at line 184 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), monitorButtonPressed(), and SimulationWidget(). |
|
|
Map holding all of the monitors plotting neuron data. Definition at line 236 of file SimulationWidget.h. Referenced by hideGraphsButtonClicked(), initialiseButtonToggled(), monitorNeuronButtonPressed(), showGraphsButtonClicked(), and SimulationWidget(). |
|
|
Definition at line 171 of file SimulationWidget.h. Referenced by hideOpenWindows(), neuronParamButtonPressed(), reloadNeuronGroups(), and SimulationWidget(). |
|
|
Definition at line 174 of file SimulationWidget.h. Referenced by hideOpenWindows(), noiseParamButtonPressed(), and SimulationWidget(). |
|
|
Definition at line 129 of file SimulationWidget.h. Referenced by loadPatternTable(), and SimulationWidget(). |
|
|
Definition at line 137 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 135 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 166 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), loadPatternTable(), and SimulationWidget(). |
|
|
Definition at line 183 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), recordButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 178 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), simStartButtonToggled(), simStopButtonPressed(), and SimulationWidget(). |
|
|
Definition at line 179 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), simStartButtonToggled(), simStopButtonPressed(), and SimulationWidget(). |
|
|
Definition at line 162 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 219 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Timer to check simulation manager for errors whilst simulation is running. Definition at line 229 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 192 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 180 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), simStepButtonPressed(), simStopButtonPressed(), and SimulationWidget(). |
|
|
Definition at line 181 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 182 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Map of the errors received from the simulation manager designed for error filtering. Definition at line 233 of file SimulationWidget.h. Referenced by checkSimManagerForErrors(), and initialiseButtonToggled(). |
|
|
Reference to simulation manager to control simulation. Definition at line 143 of file SimulationWidget.h. Referenced by checkSimManagerForErrors(), checkViewWeightsSaved(), checkWeightsLoadState(), checkWeightsSaveState(), fireNeuronButtonPressed(), frameRateComboChanged(), getSimulationManager(), initialiseButtonToggled(), injectNoiseButtonPressed(), monitorNeuronButtonPressed(), monitorSynapseButtonPressed(), recordButtonToggled(), reloadWeightsButtonPressed(), saveWeightsButtonPressed(), simModeComboChanged(), simStartButtonToggled(), simStepButtonPressed(), simStopButtonPressed(), SimulationWidget(), viewWeightsButtonPressed(), and ~SimulationWidget(). |
|
|
Start time of simulation. Used by the load archive dialog to prevent deletion of archives that are currently being accessed by simulation. Definition at line 159 of file SimulationWidget.h. Referenced by getSimulationStartTime(), initialiseButtonToggled(), and setSimulationStartTime(). |
|
|
Short version of reference to QApplication for processing events. Definition at line 146 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Map holding all of the monitors plotting synapse data. Definition at line 239 of file SimulationWidget.h. Referenced by hideGraphsButtonClicked(), initialiseButtonToggled(), monitorSynapseButtonPressed(), showGraphsButtonClicked(), and SimulationWidget(). |
|
|
Definition at line 172 of file SimulationWidget.h. Referenced by hideOpenWindows(), reloadConnectionGroups(), SimulationWidget(), and synapseParamButtonPressed(). |
|
|
Definition at line 168 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 223 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), and SimulationWidget(). |
|
|
Definition at line 190 of file SimulationWidget.h. Referenced by initialiseButtonToggled(), simStartButtonToggled(), simStopButtonPressed(), and SimulationWidget(). |
1.4.4