![]() |
MAK Data Logger API Documentation for HLA
|
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 Slots | |
| void | fileOpenChanged (QString fileName) |
| void | connectionStatusChanged (bool connected) |
Public Slots inherited from MAKLogger::DtLgrGuiComponent | |
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. | |
| void | clearView () |
| Clear the view of updates. | |
| 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. | |
Public Member Functions inherited from MAKLogger::DtLgrGuiComponent | |
| virtual | ~DtLgrGuiComponent () |
| Default Destructor. | |
| virtual void | startTimer (QObject *parent) |
| Called to start the update timer. | |
| virtual void | stopTimer () |
| Called to stop the update timer. | |
| virtual void | release (QWidget *parent) |
| The component is being removed. | |
| virtual bool | canExit () const |
| This method provides a way for components to control whether the application can quit. | |
| virtual QWidget * | container () |
| Get the container widget. | |
| virtual void | setContainer (QWidget *widget) |
| Sets the container. | |
| virtual const QIcon & | iconSet () const |
| Get an optional icon set. By default returns null QIconSet. | |
| virtual void | setIconSet (const QIcon &iconSet) |
| virtual QString | name () const |
| Get the component name. | |
| virtual QKeySequence | shortcut () const |
| Get the component's accelerator. | |
| virtual void | setKeySequence (const QKeySequence &sequence) |
| Set the key sequence of the view component menu item. | |
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 |
Protected Attributes inherited from MAKLogger::DtLgrGuiComponent | |
| QWidget * | myContainer |
| QTimer * | myTimer |
| QString | myName |
| QIcon | myIconSet |
| QKeySequence | mySequence |
Static Protected Attributes | |
| static const int | theRequestUpdateRate = 10 |
Additional Inherited Members | |
Protected Member Functions inherited from MAKLogger::DtLgrGuiComponent | |
| DtLgrGuiComponent (QString name) | |
The DtStateObserverView represents the view for the state observer which is part of a standard Model-View-Controller interface.
|
protected |
| MAKLogger::DtStateObserverView::DtStateObserverView | ( | DtLgrAppGui * | , |
| DtStateObserverController * | |||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
This method is called when the component is shown.
Implements MAKLogger::DtLgrGuiComponent.
|
virtual |
This method is called when the file is going to be closed.
Reimplemented from MAKLogger::DtLgrGuiComponent.
| void MAKLogger::DtStateObserverView::clearView | ( | ) |
Clear the view of updates.
|
slot |
|
virtual |
This method is called when the component is hidden.
Implements MAKLogger::DtLgrGuiComponent.
|
slot |
THis method is called after the GUI has been initialized.
Implements MAKLogger::DtLgrGuiComponent.
| void MAKLogger::DtStateObserverView::setAggregateCount | ( | int | count | ) |
Set the total aggregate count.
| void MAKLogger::DtStateObserverView::setEntityCount | ( | int | count | ) |
Set the total entity count.
| void MAKLogger::DtStateObserverView::setEnvironmentalProcessCount | ( | int | count | ) |
Set the total environment process count.
| void MAKLogger::DtStateObserverView::setRemovedObjectCount | ( | int | count | ) |
Set the total removed object count.
| void MAKLogger::DtStateObserverView::setTotalObjectCount | ( | int | count | ) |
Set the total object count.
| void MAKLogger::DtStateObserverView::setUnknownObjectCount | ( | int | count | ) |
Set the total unknown object count.
| void MAKLogger::DtStateObserverView::startView | ( | ) |
Start the view updating.
| void MAKLogger::DtStateObserverView::stopView | ( | ) |
Stop the view from updating.
|
virtual |
Called repeatedly by the host application in the GUI thread.
The time between calls is controlled by updateTime.
Implements MAKLogger::DtLgrGuiComponent.
|
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 |
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.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |