The DtStateObserverView represents the view for the state observer which is part of a standard Model-View-Controller interface. More...
Inheritance diagram for MAKLogger::DtStateObserverView:
Collaboration diagram for MAKLogger::DtStateObserverView:Public Member Functions | |
| DtStateObserverView (DtLgrAppGui *, DtStateObserverController *) | |
| CTOR. | |
| virtual | ~DtStateObserverView () |
| DTOR. | |
| void | setTotalObjectCount (int count) |
| Set the total object count. | |
| void | setRemovedObjectCount (int count) |
| Set the total removed object count. | |
| void | setUnknownObjectCount (int count) |
| Set the total unknown object count. | |
| void | setEntityCount (int count) |
| Set the total entity count. | |
| void | setAggregateCount (int count) |
| Set the total aggregate count. | |
| void | setEnvironmentalProcessCount (int count) |
| Set the total environment process count. | |
| virtual QWidget * | initialize (QWidget *parent) |
| THis method is called after the GUI has been initialized. | |
| virtual void | activate () |
| This method is called when the component is shown. | |
| virtual void | deactivate () |
| This method is called when the component is hidden. | |
| virtual bool | canCloseFile () const |
| This method is called when the file is going to be closed. | |
| void | startView () |
| Start the view updating. | |
| void | stopView () |
| Stop the view from updating. | |
| virtual double | updateTime () |
| Returns the desired times between updates in seconds. | |
| virtual void | update () |
| Called repeatedly by the host application in the GUI thread. | |
| virtual MAKLogger::DtLgrZoomableWidget * | zoomComponent () |
| Access component as zoom component, return NULL if component is not a zoom component. | |
Protected Types | |
| enum | GraphIds { Graph_TotalObjectCount = 1, Graph_RemovedObjectCount, Graph_UnknownObjectCount, Graph_EntityCount, Graph_AggregateCount, Graph_EnvironmentalProcessCount } |
Protected Attributes | |
| DtLgrAppGui * | myGui |
| DtLgrGuiModel * | myModel |
| DtStateObserverController * | myController |
| MAKLogger::DtProgressiveLineGraph * | myGraph |
| DtStateObjectViewWidget * | myWidget |
| bool | myActiveState |
| int | myCurrentUpdateCount |
| DtAbsoluteTime | myLastGraphTime |
Static Protected Attributes | |
| static const int | theRequestUpdateRate = 10 |
The DtStateObserverView represents the view for the state observer which is part of a standard Model-View-Controller interface.
| virtual void MAKLogger::DtStateObserverView::update | ( | ) | [virtual] |
Called repeatedly by the host application in the GUI thread.
The time between calls is controlled by updateTime.
Implements MAKLogger::DtLgrGuiComponent.
| virtual double MAKLogger::DtStateObserverView::updateTime | ( | ) | [virtual] |
Returns the desired times between updates in seconds.
If updateTime returns 1.0 the component will be updated every second, if it is 0.5 the component will be updated every 30 seconds. Return -1 if update should not be called.
Implements MAKLogger::DtLgrGuiComponent.
| virtual MAKLogger::DtLgrZoomableWidget* MAKLogger::DtStateObserverView::zoomComponent | ( | ) | [virtual] |
Access component as zoom component, return NULL if component is not a zoom component.
This interface will be used to automatically connect and disconnect the zoom component slots.
Implements MAKLogger::DtLgrGuiComponent.