![]() |
MAK Data Logger API Documentation for HLA
|
Inheritance diagram for MAKLogger::DtLgrDataViewComponent:
Collaboration diagram for MAKLogger::DtLgrDataViewComponent:Public Slots | |
| virtual void | reloadFile (QString fileName) |
| File has changed; reload it. More... | |
| virtual void | reloadFile (const DtLgrEditorInterface::FileDataOperations &fileOp) |
| Edit operation has changed data; reload it. More... | |
| virtual void | syncRunningData (DtLgrGuiModel &) |
| Running data has changed; sync it with the view. More... | |
| virtual void | syncExpandingData (DtLgrGuiModel &) |
| Expanding data has changed; sync it with the view. More... | |
Public Slots inherited from MAKLogger::DtLgrGuiComponent | |
Public Member Functions | |
| DtLgrDataViewComponent (DtLgrGuiModel &model, const QString &name) | |
| The CTOR. More... | |
| virtual | ~DtLgrDataViewComponent () |
| The DTOR. More... | |
| virtual void | update () |
| This is called to update the component. More... | |
| virtual double | updateTime () |
| Returns the desired times between updates in seconds. More... | |
| virtual QWidget * | initialize (QWidget *parent) |
| This method is called when the logger Gui has been initialized. More... | |
| virtual void | activate () |
| This method is called when the component is shown. More... | |
| virtual void | deactivate () |
| This method is called when the component is hidden. More... | |
| virtual DtLgrZoomableWidget * | zoomComponent () |
| Access component as zoom component, return NULL if component is not a zoom component. More... | |
| virtual void | updateExportData (DtLgrDataViewSetSP set) |
| Called by other threads to set the data to be used. More... | |
| virtual void | addRunningData (const DtLgrDataViewSet &set) |
| Added by other threads to add data to the running set. More... | |
| virtual DtLgrDataViewSetSP | getExportData () |
| Get a pointer the the current data set. More... | |
| virtual bool | getRunningData (DtLgrDataViewSet &outputSet) |
| Get the running data into the output set. More... | |
| virtual void | reloadFile () |
| Reload the file data into the view. More... | |
| virtual QWidget * | graph () |
| virtual void | enableZoom () |
Public Member Functions inherited from MAKLogger::DtLgrGuiComponent | |
| virtual | ~DtLgrGuiComponent () |
| Default Destructor. More... | |
| virtual void | startTimer (QObject *parent) |
| Called to start the update timer. More... | |
| virtual void | stopTimer () |
| Called to stop the update timer. More... | |
| virtual void | release (QWidget *parent) |
| The component is being removed. More... | |
| virtual bool | canExit () const |
| This method provides a way for components to control whether the application can quit. More... | |
| virtual bool | canCloseFile () const |
| This method provides a way for components to control whether the application can close a file. More... | |
| virtual QWidget * | container () |
| Get the container widget. More... | |
| virtual void | setContainer (QWidget *widget) |
| Sets the container. More... | |
| virtual const QIcon & | iconSet () const |
| Get an optional icon set. By default returns null QIconSet. More... | |
| virtual void | setIconSet (const QIcon &iconSet) |
| virtual QString | name () const |
| Get the component name. More... | |
| virtual QKeySequence | shortcut () const |
| Get the component's accelerator. More... | |
| virtual void | setKeySequence (const QKeySequence &sequence) |
| Set the key sequence of the view component menu item. More... | |
Static Public Attributes | |
| static DtRelativeTime | theSliceLast |
| static DtRelativeTime | thePadFirst |
Protected Member Functions | |
| virtual void | syncData () |
| Synchronize the data. More... | |
| void | toggleRunningData (const bool &running) |
| Update running state. More... | |
| void | lastTimeChanged (const DtAbsoluteTime &lastTime) |
| Update last time. More... | |
| void | jumpTimeChanged (const DtAbsoluteTime &jumpTime) |
| Jump in time. More... | |
| void | fileExpandingChanged (const bool &isExpanding) |
| File has stopped expanding (as far as playback interface is concerned). More... | |
| void | followExportIntervalChanged (const double &interval) |
| Follow export interval has changed. More... | |
| void | updateCurrentSet (const DtString &exportType) |
| Call back for updating the current data set after the export is complete. More... | |
| virtual void | adjustValue (unsigned long &value, const DtLgrDataViewSet::DataPoint &dataPoint) |
| Adjust the data value using the given data point. More... | |
| virtual double | updateGraph (const DtLgrDataViewSet &aSet, double firstVisibleTime, double lastVisibleTime) |
| Update the graph via a dataset. More... | |
| void | cancelUpdateCurrentSet (const DtString &exportType) |
| Call back for canceling the data set update request. More... | |
Protected Member Functions inherited from MAKLogger::DtLgrGuiComponent | |
| DtLgrGuiComponent (QString name) | |
Protected Attributes | |
| DtLgrGuiModel * | myModel |
| DtProgressiveLineGraph * | myGraph |
| QWidget * | myMainWidget |
| DtMutex * | myDataMutex |
| DtMutex * | myRunningMutex |
| DtString | myExporteraName |
| bool | myDataOutOfSyncFlag |
| bool | myWaitingForDataFlag |
| bool | myActivatedFlag |
| bool | myRecording |
| bool | myFileLoading |
| bool | myJumpPending |
| DtAbsoluteTime | myUpdateFirstTime |
| DtAbsoluteTime | myUpdateLastTime |
| DtAbsoluteTime | myLastTimeChange |
| DtAbsoluteTime | myPreviousFirstTime |
| DtAbsoluteTime | myPreviousLastTime |
| DtAbsoluteTime | myJumpTime |
| DtTime | myNextExportTime |
| DtLgrDataViewSetSP | myExportedDataSet |
| DtLgrDataViewSet * | myRunningDataSet |
| DtLgrDataViewSet * | myCompleteDataSet |
| size_t | myRunningDataIndex |
| bool | myIsExpanding |
| DtTime | myExportInterval |
| DtClock | myClock |
| QColor | myGraphBG |
| QColor | myGraphFG |
| QColor | myUpdateColor |
| QColor | myInteraColor |
| QColor | myCheckpColor |
Protected Attributes inherited from MAKLogger::DtLgrGuiComponent | |
| QWidget * | myContainer |
| QTimer * | myTimer |
| QString | myName |
| QIcon | myIconSet |
| QKeySequence | mySequence |
Static Protected Attributes | |
| static const int | Graph_Updates = 0 |
| static const int | Graph_Interactions = 1 |
| static const int | Graph_Checkpoints = 2 |
Properties | |
| QColor | GraphBG |
| QColor | GraphFG |
| QColor | UpdateColor |
| QColor | InteraColor |
| QColor | CheckpColor |
| MAKLogger::DtLgrDataViewComponent::DtLgrDataViewComponent | ( | DtLgrGuiModel & | model, |
| const QString & | name | ||
| ) |
The CTOR.
|
virtual |
The DTOR.
|
virtual |
This method is called when the component is shown.
Implements MAKLogger::DtLgrGuiComponent.
|
virtual |
Added by other threads to add data to the running set.
|
protectedvirtual |
Adjust the data value using the given data point.
Reimplemented in MAKLogger::DtLgrSizeViewComponent.
|
protected |
Call back for canceling the data set update request.
|
virtual |
This method is called when the component is hidden.
Implements MAKLogger::DtLgrGuiComponent.
|
virtual |
|
protected |
File has stopped expanding (as far as playback interface is concerned).
|
protected |
Follow export interval has changed.
|
virtual |
Get a pointer the the current data set.
|
virtual |
Get the running data into the output set.
Return true if new data was acquired.
|
virtual |
This method is called when the logger Gui has been initialized.
Implements MAKLogger::DtLgrGuiComponent.
Reimplemented in MAKLogger::DtLgrSizeViewComponent.
|
protected |
Jump in time.
|
protected |
Update last time.
|
virtual |
Reload the file data into the view.
|
virtualslot |
File has changed; reload it.
|
virtualslot |
Edit operation has changed data; reload it.
|
protectedvirtual |
Synchronize the data.
|
virtualslot |
Expanding data has changed; sync it with the view.
|
virtualslot |
Running data has changed; sync it with the view.
|
protected |
Update running state.
|
virtual |
This is called to update the component.
Implements MAKLogger::DtLgrGuiComponent.
|
protected |
Call back for updating the current data set after the export is complete.
|
virtual |
Called by other threads to set the data to be used.
|
protectedvirtual |
Update the graph via a dataset.
|
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.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
| QColor MAKLogger::DtLgrDataViewComponent::CheckpColor |
| QColor MAKLogger::DtLgrDataViewComponent::GraphBG |
| QColor MAKLogger::DtLgrDataViewComponent::GraphFG |
| QColor MAKLogger::DtLgrDataViewComponent::InteraColor |
| QColor MAKLogger::DtLgrDataViewComponent::UpdateColor |