#include <MonitorWindow.h>
Public Member Functions | |
| unsigned int | getNeuronGrpID () |
| MonitorWindow (QWidget *parent) | |
| MonitorWindow (SimulationManager *, QWidget *parent) | |
| void | setMonitorType (bool monitorNeurons) |
| void | setNeuronGrpID (unsigned int) |
| ~MonitorWindow () | |
Protected Member Functions | |
| void | moveEvent (QMoveEvent *) |
| void | resizeEvent (QResizeEvent *) |
Private Slots | |
| void | windowPlaceChanged (QDockWindow::Place p) |
| void | windowVisibilityChanged (bool) |
Private Member Functions | |
| MonitorWindow (const MonitorWindow &) | |
| MonitorWindow | operator= (const MonitorWindow &) |
Private Attributes | |
| bool | finishedUndockingWindow |
| bool | monitorNeurons |
| unsigned int | neuronGrpID |
| bool | oldVisibility |
| SimulationManager * | simulationManager |
| bool | simulationMode |
| int | windowHeight |
| int | windowWidth |
| int | xPos |
| int | yPos |
Static Private Attributes | |
| static const int | minimumHeight = 100 |
Definition at line 40 of file MonitorWindow.h.
|
||||||||||||
|
Constructor for monitoring of simulation. Definition at line 39 of file MonitorWindow.cpp. References finishedUndockingWindow, monitorNeurons, oldVisibility, simulationManager, simulationMode, windowHeight, windowPlaceChanged(), windowVisibilityChanged(), windowWidth, xPos, and yPos. |
|
|
This constructor is used for playing back an archive. Definition at line 73 of file MonitorWindow.cpp. References finishedUndockingWindow, simulationMode, windowHeight, windowPlaceChanged(), and windowWidth. |
|
|
Destructor. Definition at line 92 of file MonitorWindow.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Accessor method for the ID of the neuron group id being monitored by this class. Definition at line 105 of file MonitorWindow.cpp. References neuronGrpID. Referenced by MonitorArea::showMonitorWindow(). |
|
|
Stores the location that it is moved to so that it can be moved to this location when it is next undocked. Definition at line 138 of file MonitorWindow.cpp. References finishedUndockingWindow, xPos, and yPos. |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Stores the size that it is resized to so that it can be resized correctly when it is next undocked. Definition at line 150 of file MonitorWindow.cpp. References finishedUndockingWindow, windowHeight, and windowWidth. |
|
|
Sets whether this class is monitoring spikes from a neuron group or neuron firing patterns. Definition at line 112 of file MonitorWindow.cpp. References SimulationManager::monitorNeuronGroup(), monitorNeurons, neuronGrpID, simulationManager, and SimulationManager::stopMonitoringNeuronGroup(). Referenced by MonitorArea::showAllMonitorWindows(), and MonitorArea::showMonitorWindow(). |
|
|
Sets the neuron group id for this window. Definition at line 127 of file MonitorWindow.cpp. References neuronGrpID. Referenced by MonitorArea::addMonitorWindow(). |
|
|
Called when the window's place changes and moves and resizes the window based on stored values. Otherwise default values are used for the window. Definition at line 168 of file MonitorWindow.cpp. References finishedUndockingWindow, windowHeight, windowWidth, xPos, and yPos. Referenced by MonitorWindow(). |
|
|
Controls whether the simulation manager requests spike information for this neuron group. Definition at line 185 of file MonitorWindow.cpp. References SimulationManager::monitorNeuronGroup(), monitorNeurons, neuronGrpID, oldVisibility, simulationManager, simulationMode, and SimulationManager::stopMonitoringNeuronGroup(). Referenced by MonitorWindow(). |
|
|
Records when the process of undocking the window is complete Definition at line 104 of file MonitorWindow.h. Referenced by MonitorWindow(), moveEvent(), resizeEvent(), and windowPlaceChanged(). |
|
|
Set miniumum height of window to allow space for the time update above the neural networks. Definition at line 101 of file MonitorWindow.h. |
|
|
Records whether this window is monitoring the neuron patterns or the spike patterns from the neuron group. The spike patterns will be spread out in time because of the delay Definition at line 83 of file MonitorWindow.h. Referenced by MonitorWindow(), setMonitorType(), and windowVisibilityChanged(). |
|
|
Store neuron group ID. Needed so that simulation widget can show or hide windows monitoring particular neuron groups. Definition at line 78 of file MonitorWindow.h. Referenced by getNeuronGrpID(), setMonitorType(), setNeuronGrpID(), and windowVisibilityChanged(). |
|
|
Records previous visiblity status This prevents constant requests to simulation manager to cancel messages when none are being sent. Definition at line 109 of file MonitorWindow.h. Referenced by MonitorWindow(), and windowVisibilityChanged(). |
|
|
Use simulation manager reference to stop or start monitoring of a neuron group when corresponding qdockwindow is made visible Definition at line 69 of file MonitorWindow.h. Referenced by MonitorWindow(), setMonitorType(), and windowVisibilityChanged(). |
|
|
Records whether this window is being used for live monitoring or playing back a simulation Definition at line 73 of file MonitorWindow.h. Referenced by MonitorWindow(), and windowVisibilityChanged(). |
|
|
Store window height to save effort resizing window after undocking. Definition at line 89 of file MonitorWindow.h. Referenced by MonitorWindow(), resizeEvent(), and windowPlaceChanged(). |
|
|
Store window width to save effort resizing window after undocking. Definition at line 86 of file MonitorWindow.h. Referenced by MonitorWindow(), resizeEvent(), and windowPlaceChanged(). |
|
|
Store the location of the window so that it can be moved back to this location when the window is undocked. Definition at line 93 of file MonitorWindow.h. Referenced by MonitorWindow(), moveEvent(), and windowPlaceChanged(). |
|
|
Store the location of the window so that it can be moved back to this location when the window is undocked. Definition at line 97 of file MonitorWindow.h. Referenced by MonitorWindow(), moveEvent(), and windowPlaceChanged(). |
1.4.4