MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
MAKLogger::DtLgrGuiModel Class Reference

The logger GUI's model. More...

+ Inheritance diagram for MAKLogger::DtLgrGuiModel:
+ Collaboration diagram for MAKLogger::DtLgrGuiModel:

Public Types

typedef std::map< QString, bool > DtComponentVisibilityMap
 
typedef DtLgrExportDialog *(* ExportDialogCreator )(DtLgrGuiModel *, QWidget *parent)
 

Public Member Functions

 DT_VIRTUAL_CTR (DtLgrGuiModel,(DtLgrAppGui *appGui))
 CTOR. More...
 
virtual ~DtLgrGuiModel ()
 DTOR. More...
 
virtual void initialize (DtLgrMainWindow *mainWindow, QObject *eventHandler)
 Initialize the Model with any defaults. More...
 
virtual void addExportType (QString exportName, int exportType)
 
virtual void addNewMenu (DtLgrMenu *menu, QString previousMenuName=QString())
 Add a new menu. More...
 
virtual void addNewToolbar (QWidget *toolBar, QString toolBarName)
 Add a new widget to the toolbar. More...
 
virtual void addGuiComponent (DtLgrGuiComponent *component, bool addAbove=true, bool floating=false)
 Add a gui component. More...
 
virtual void removeGuiComponent (QString componentName)
 Remove a gui component. More...
 
virtual DtLgrGuiComponentguiComponent (QString componentName)
 Returns the gui component with the given name. More...
 
virtual void changeGuiComponentVisibility (QString componentName, bool visible)
 Change a gui component's visibility. More...
 
virtual void setGuiComponentInitialVisibility (QString componentName, bool visible)
 Set the gui component's initial visibility. More...
 
virtual void updateLgrComponent (QString componentName, bool visible)
 Update a lgr gui component. More...
 
virtual void showLgrComponent (QString componentName)
 Show the component. More...
 
virtual void hideLgrComponent (QString componentName)
 Hide the component. More...
 
virtual void getComponentsVisibility (DtComponentVisibilityMap &visibilityMap) const
 Get list of component names and their visibility. More...
 
virtual void addNewStatusWidget (QWidget *widget)
 Add a new status widget. More...
 
virtual void connectMenuItemToAction (QString menuName, QString menuItemName, QAction *action)
 Connect a menu item trigger to an action. More...
 
virtual void addExportDialog (QString exportType, ExportDialogCreator creator)
 Add an export dialog. More...
 
virtual QString fileNameForDisplay () const
 Get the file name to display. More...
 
virtual void upgradeFile ()
 Convert the current file. More...
 
virtual void repairFile (const QString &filename, bool queryRepair)
 Repair the current file. More...
 
virtual void recoverLastPacket (const QString &filename)
 Begin repair of file by seeking the last packet. More...
 
virtual void exportCompleted ()
 Export logger file has completed. More...
 
virtual void revert ()
 Revert to original file. More...
 
virtual void updateInterfaces ()
 Update the interfaces. More...
 
virtual void deleteAssistant ()
 Clean up the help assistant. More...
 
virtual void toggleConnection ()
 Toggle the connection. More...
 
virtual bool disconnect (QWidget *dialog=0)
 Disconnect the connection Return: disconnect was carried out? More...
 
virtual QObjecteventHandler ()
 Get the event handler object. More...
 
virtual DtLgrMainWindowmainWindow ()
 Get the main window. More...
 
virtual void crippleGui (bool disableAndMinimize)
 Change the cripple GUI state. More...
 
virtual void openUrl (const QString &urlText)
 Open as URL. More...
 
virtual void showHelp (const char *filename=0)
 Show a help page, by default the main page. More...
 
virtual void showUserGuide ()
 Show the user guide. More...
 
virtual void showReleaseNotes ()
 Show the release notes. More...
 
virtual void showClassDocs ()
 Show the class docs. More...
 
virtual void showAboutBox ()
 Show the about box. More...
 
virtual void launchVersionWebsite ()
 Launch the product's version web site. More...
 
virtual void launchProductWebsite ()
 Launch the product web site. More...
 
virtual const DtTimeComponentdisplayTime () const
 Get the model's time component used to control the GUI's display time. More...
 
virtual void playbackFileEvent (const QString &filename)
 Handle when a playback file is opened/closed. More...
 
virtual void recordFileEvent (const QString &filename)
 Handle when a record file is opened/closed. More...
 
virtual bool isZoomEnabled () const
 Get whether zooming is enabled. More...
 
virtual void setFollowMode (bool enableFollow)
 Enable follow mode. More...
 
virtual void setFollowInterval (double interval)
 Set follow interval. More...
 
virtual bool isFollowMode () const
 Get the follow mode. More...
 
virtual void jumpTimeChanged (const DtAbsoluteTime &jumpTime)
 Handle when a time jump is made. More...
 
virtual void mediaPlayInWindowOperationActive (bool isActive, bool onCloseMainWindow=false)
 Show or hide the video view. When showing the view it increases the size of the view (and main window) while locking other views. More...
 
virtual void changeGuiComponentVisibilityWithLocking (QString componentName, bool visible, int initialSize=-1, bool lockOtherViewsX=true, bool lockOtherViewsY=true, bool ignoreVisibility=false)
 
virtual void openDroppedFile (DtString &filename)
 Open a logger file that has been dropped onto the GUI. More...
 
virtual bool protocolIsMatch (DtString &filename, DtString &protocol)
 Check if the protocol of the file matches the protocol of the Logger. More...
 
virtual bool darkModeEnabled ()
 Get the dark mode status. More...
 
virtual void replaceAll (std::string &searchText, const std::string &stringToFind, const std::string &stringToReplace) const
 Replace all instances of stringToFind with stringToReplace in searchText. More...
 
virtual std::string resolveVars (const std::string &s)
 Resolve a directory by replacing variables with the appropriate values. More...
 
virtual bool exit ()
 Attempt to exit the logger. More...
 
virtual void startLongOperation ()
 Start the long operation. More...
 
virtual void finishLongOperation ()
 Finish the long operation. More...
 
virtual void updateLongOperation ()
 Update the long operation. More...
 
virtual void cancelLongOperation ()
 Attempt to cancel a long operation. More...
 
virtual QString getLoggerFileFilter () const
 Get the Logger file filter string. More...
 
virtual QString getDefaultLoggerFileDirectory () const
 Get the default Logger file directory. More...
 
virtual QString getSaveLoggerFileName (QWidget *parentWindow, QString title, QString &description, bool &descriptionChanged, DtString *streamConfiguration=0, int mediaPort=5000, bool activeStream=0)
 Query user for New Logger File name. More...
 
virtual bool openFile ()
 Attempt to open a file. Queries user to choose a file. More...
 
virtual bool openFile (const QString &filename, bool checkMediaFile=false)
 Attempt to open a file, with a provided file name. More...
 
virtual bool needDifferentConnectionSettings (DtString &filename)
 Check if playback file and connection settings are compatible. More...
 
virtual bool saveFileAs (bool reopenAfterSave=true)
 Attempt to save a file (with a new name). More...
 
virtual void saveFile (bool reopenAfterSave=true)
 Save a file. More...
 
virtual bool fileSaved () const
 Is a file saved. More...
 
virtual bool canCloseFile ()
 Can file be closed? (recording or playback). More...
 
virtual bool closeFile ()
 Attempt to close a file (recording or playback). More...
 
virtual void exportSection (const DtString &fileFormat)
 Export a section. More...
 
virtual void exportFile (const DtString &fileFormat)
 Export the entire file. More...
 
virtual bool openLoggerInformation ()
 Open the logger information dialog. More...
 
virtual QVector< QString > recentFiles ()
 Get list of recently opened files. More...
 
virtual void setRecentFiles (QVector< QString > recentFiles)
 Set list of recently opened files. More...
 
virtual void addRecentFile (QString filename)
 Attempt to add file to recent files list. More...
 
virtual void recordAs ()
 Start a new recordingAs. More...
 
virtual void recordFile (QString filename, QString description, bool overwrite)
 Start a record file with a specific name, and overwrite permission. More...
 
virtual void queryToRecordMultipleFiles ()
 Start a recording to multiple files. More...
 
virtual void recordToMultipleFiles (QString filename, QString description)
 Record to multiple files. More...
 
virtual bool queryStopRecordingEmptyTape ()
 Recording is being stopped with no data. More...
 
virtual void saveRecordingData ()
 Save the currently recorded data without stopping recording. More...
 
virtual void setZoom ()
 Set the zoom settings. More...
 
virtual void setZoom (const DtAbsoluteTime &start, const DtAbsoluteTime &end)
 Set the zoom area by times. More...
 
virtual void setSpeed ()
 Set the speed of playback. More...
 
virtual void setStartStopTimes ()
 Set the start and stop times by Dialog. More...
 
virtual void setStartStopTimes (const DtAbsoluteTime &start, const DtAbsoluteTime &stop)
 Set the start and stop times. More...
 
virtual void stop ()
 Stop playback and recording. More...
 
virtual void clearSelection ()
 Clear using the current selection. More...
 
virtual void cutSelection ()
 Cut using the current selection. More...
 
virtual void setDarkModeEnabled (bool enable)
 Set the boolean for the current stylesheet theme. More...
 
virtual void loadStylesheet (bool enabled)
 Load the stylesheet for the given theme. More...
 
virtual void mergeInFile ()
 Merge in a new file. More...
 
virtual void appendFile ()
 Append a file to the end. More...
 
virtual void prefixFile ()
 Prefix a file to the beginning. More...
 
virtual void offsetTime ()
 Offset the time in a file. More...
 
virtual const DtLgrFullInterfacefullInterface () const
 Get the full interface. More...
 
virtual DtLgrFullInterfacefullInterface ()
 Get the full interface. More...
 
virtual const DtLgrAppGuiappGui () const
 Get the application GUI. More...
 
virtual DtLgrAppGuiappGui ()
 Get the application GUI. More...
 
virtual const
DtLgrEditorInterface
editorInterface () const
 Get an editor interface. More...
 
virtual DtLgrEditorInterfaceeditorInterface ()
 Get an editor interface. More...
 
virtual const
DtLgrPlaybackInterface
playbackInterface () const
 Get a playback interface. More...
 
virtual DtLgrPlaybackInterfaceplaybackInterface ()
 Get a playback interface. More...
 
virtual const
DtLgrRecordInterface
recordInterface () const
 Get a record interface. More...
 
virtual DtLgrRecordInterfacerecordInterface ()
 Get a record interface. More...
 
virtual const DtLgrSimInterfacesimulationInterface () const
 Get a simulation interface. More...
 
virtual DtLgrSimInterfacesimulationInterface ()
 Get a simulation interface. More...
 
virtual const
DtLgrSystemInterface
systemInterface () const
 Get a system interface. More...
 
virtual DtLgrSystemInterfacesystemInterface ()
 Get a system interface. More...
 
virtual const DtLgrTimeInterfacetimeInterface () const
 Get the current time interface. More...
 
virtual DtLgrTimeInterfacetimeInterface ()
 Get the current time interface. More...
 

Protected Types

typedef std::map< QString,
DtLgrGuiComponent * > 
GuiComponentMap
 
typedef std::map< QString,
ExportDialogCreator
ExportDialogMap
 
typedef std::set< QString > ExportTypes
 

Protected Member Functions

virtual void longOperationChangedCallback (const bool &state)
 
virtual void longOperationMessageChangedCallback (const DtString &message)
 
virtual void longOperationProgressChangedCallback (const int &percent)
 
virtual QString showExportDialog (QString fileFormat, QString filter, QString dialogName)
 
virtual QString browseOpenLoggerFile (QString title, DtLgrMediaPlayPipelineInfo *pipelineInfo=0)
 

Protected Attributes

DtLgrMainWindowmyMainWindow
 
QObjectmyEventHandler
 
DtLgrFullInterfacemyFullInterface
 
DtLgrAppGuimyAppGui
 
DtLgrTimeBarWidgetmyTimeBar
 
DtBoundsSlidermyTimeControl
 
DtLgrTimeBarZoomBoxmyZoomControl
 
QProcess * myHelpAssistant
 
DtTimeComponentmyTimeComponent
 
QDockWidget * myTimeLineDocWidget
 
GuiComponentMap myComponents
 
DtComponentVisibilityMap myComponentsInitialVisibility
 
ExportDialogMap myExportDialogMap
 
ExportTypes myExportTypes
 
QStyle * myNewDockStyle
 
bool myExitingFlag
 
bool myJumpPending
 
DtAbsoluteTime myJumpTime
 
bool myResetZoom
 
DtFilename myRepairedFilename
 
QString myDataViewName
 
QString mySizeViewName
 
QString myStreamViewName
 
QVector< QString > myRecentFiles
 
bool myDarkModeEnabled
 
std::string myAppPath
 
std::string myDataPath
 

Detailed Description

The logger GUI's model.

Member Typedef Documentation

typedef DtLgrExportDialog*(* MAKLogger::DtLgrGuiModel::ExportDialogCreator)(DtLgrGuiModel *, QWidget *parent)
typedef std::set<QString> MAKLogger::DtLgrGuiModel::ExportTypes
protected
typedef std::map<QString,DtLgrGuiComponent*> MAKLogger::DtLgrGuiModel::GuiComponentMap
protected

Constructor & Destructor Documentation

virtual MAKLogger::DtLgrGuiModel::~DtLgrGuiModel ( )
virtual

DTOR.

Member Function Documentation

virtual void MAKLogger::DtLgrGuiModel::addExportDialog ( QString  exportType,
ExportDialogCreator  creator 
)
virtual

Add an export dialog.

virtual void MAKLogger::DtLgrGuiModel::addExportType ( QString  exportName,
int  exportType 
)
virtual
virtual void MAKLogger::DtLgrGuiModel::addGuiComponent ( DtLgrGuiComponent component,
bool  addAbove = true,
bool  floating = false 
)
virtual

Add a gui component.

Indicate whether the component should be added above or below the existing stack. If floating is set to true, the component will appear as its own window.

virtual void MAKLogger::DtLgrGuiModel::addNewMenu ( DtLgrMenu menu,
QString  previousMenuName = QString() 
)
virtual

Add a new menu.

virtual void MAKLogger::DtLgrGuiModel::addNewStatusWidget ( QWidget widget)
virtual

Add a new status widget.

virtual void MAKLogger::DtLgrGuiModel::addNewToolbar ( QWidget toolBar,
QString  toolBarName 
)
virtual

Add a new widget to the toolbar.

virtual void MAKLogger::DtLgrGuiModel::addRecentFile ( QString  filename)
virtual

Attempt to add file to recent files list.

virtual void MAKLogger::DtLgrGuiModel::appendFile ( )
virtual

Append a file to the end.

virtual const DtLgrAppGui* MAKLogger::DtLgrGuiModel::appGui ( ) const
virtual

Get the application GUI.

virtual DtLgrAppGui* MAKLogger::DtLgrGuiModel::appGui ( )
virtual

Get the application GUI.

virtual QString MAKLogger::DtLgrGuiModel::browseOpenLoggerFile ( QString  title,
DtLgrMediaPlayPipelineInfo pipelineInfo = 0 
)
protectedvirtual
virtual void MAKLogger::DtLgrGuiModel::cancelLongOperation ( )
virtual

Attempt to cancel a long operation.

virtual bool MAKLogger::DtLgrGuiModel::canCloseFile ( )
virtual

Can file be closed? (recording or playback).

virtual void MAKLogger::DtLgrGuiModel::changeGuiComponentVisibility ( QString  componentName,
bool  visible 
)
virtual

Change a gui component's visibility.

virtual void MAKLogger::DtLgrGuiModel::changeGuiComponentVisibilityWithLocking ( QString  componentName,
bool  visible,
int  initialSize = -1,
bool  lockOtherViewsX = true,
bool  lockOtherViewsY = true,
bool  ignoreVisibility = false 
)
virtual
virtual void MAKLogger::DtLgrGuiModel::clearSelection ( )
virtual

Clear using the current selection.

virtual bool MAKLogger::DtLgrGuiModel::closeFile ( )
virtual

Attempt to close a file (recording or playback).

virtual void MAKLogger::DtLgrGuiModel::connectMenuItemToAction ( QString  menuName,
QString  menuItemName,
QAction *  action 
)
virtual

Connect a menu item trigger to an action.

virtual void MAKLogger::DtLgrGuiModel::crippleGui ( bool  disableAndMinimize)
virtual

Change the cripple GUI state.

virtual void MAKLogger::DtLgrGuiModel::cutSelection ( )
virtual

Cut using the current selection.

virtual bool MAKLogger::DtLgrGuiModel::darkModeEnabled ( )
virtual

Get the dark mode status.

virtual void MAKLogger::DtLgrGuiModel::deleteAssistant ( )
virtual

Clean up the help assistant.

virtual bool MAKLogger::DtLgrGuiModel::disconnect ( QWidget dialog = 0)
virtual

Disconnect the connection Return: disconnect was carried out?

Reimplemented in MAKLogger::DtLgrHlaGuiModel.

virtual const DtTimeComponent& MAKLogger::DtLgrGuiModel::displayTime ( ) const
virtual

Get the model's time component used to control the GUI's display time.

MAKLogger::DtLgrGuiModel::DT_VIRTUAL_CTR ( DtLgrGuiModel  ,
(DtLgrAppGui *appGui  
)

CTOR.

Parameters
Input
fullInterfaceA newly allocated full interface which the model will own.
virtual const DtLgrEditorInterface* MAKLogger::DtLgrGuiModel::editorInterface ( ) const
virtual

Get an editor interface.

virtual DtLgrEditorInterface* MAKLogger::DtLgrGuiModel::editorInterface ( )
virtual

Get an editor interface.

virtual QObject* MAKLogger::DtLgrGuiModel::eventHandler ( )
virtual

Get the event handler object.

virtual bool MAKLogger::DtLgrGuiModel::exit ( )
virtual

Attempt to exit the logger.

Return values
trueif the logger will attempt to exit. false if the exist was canceled.
virtual void MAKLogger::DtLgrGuiModel::exportCompleted ( )
virtual

Export logger file has completed.

virtual void MAKLogger::DtLgrGuiModel::exportFile ( const DtString fileFormat)
virtual

Export the entire file.

virtual void MAKLogger::DtLgrGuiModel::exportSection ( const DtString fileFormat)
virtual

Export a section.

virtual QString MAKLogger::DtLgrGuiModel::fileNameForDisplay ( ) const
virtual

Get the file name to display.

virtual bool MAKLogger::DtLgrGuiModel::fileSaved ( ) const
virtual

Is a file saved.

Return values
Trueif the file is saved, or no file is loaded.
Falseif the file is not saved.
virtual void MAKLogger::DtLgrGuiModel::finishLongOperation ( )
virtual

Finish the long operation.

virtual const DtLgrFullInterface* MAKLogger::DtLgrGuiModel::fullInterface ( ) const
virtual

Get the full interface.

virtual DtLgrFullInterface* MAKLogger::DtLgrGuiModel::fullInterface ( )
virtual

Get the full interface.

virtual void MAKLogger::DtLgrGuiModel::getComponentsVisibility ( DtComponentVisibilityMap visibilityMap) const
virtual

Get list of component names and their visibility.

virtual QString MAKLogger::DtLgrGuiModel::getDefaultLoggerFileDirectory ( ) const
virtual

Get the default Logger file directory.

virtual QString MAKLogger::DtLgrGuiModel::getLoggerFileFilter ( ) const
virtual

Get the Logger file filter string.

virtual QString MAKLogger::DtLgrGuiModel::getSaveLoggerFileName ( QWidget parentWindow,
QString  title,
QString &  description,
bool &  descriptionChanged,
DtString streamConfiguration = 0,
int  mediaPort = 5000,
bool  activeStream = 0 
)
virtual

Query user for New Logger File name.

virtual DtLgrGuiComponent* MAKLogger::DtLgrGuiModel::guiComponent ( QString  componentName)
virtual

Returns the gui component with the given name.

virtual void MAKLogger::DtLgrGuiModel::hideLgrComponent ( QString  componentName)
virtual

Hide the component.

virtual void MAKLogger::DtLgrGuiModel::initialize ( DtLgrMainWindow mainWindow,
QObject eventHandler 
)
virtual

Initialize the Model with any defaults.

Parameters
Input
mainWindow,avalid pointer to the main window widget.
eventHandler,avalid pointer to the eventHandler.
Exceptions
DtInvalidInputif either input is NULL.
virtual bool MAKLogger::DtLgrGuiModel::isFollowMode ( ) const
virtual

Get the follow mode.

virtual bool MAKLogger::DtLgrGuiModel::isZoomEnabled ( ) const
virtual

Get whether zooming is enabled.

virtual void MAKLogger::DtLgrGuiModel::jumpTimeChanged ( const DtAbsoluteTime jumpTime)
virtual

Handle when a time jump is made.

virtual void MAKLogger::DtLgrGuiModel::launchProductWebsite ( )
virtual

Launch the product web site.

virtual void MAKLogger::DtLgrGuiModel::launchVersionWebsite ( )
virtual

Launch the product's version web site.

virtual void MAKLogger::DtLgrGuiModel::loadStylesheet ( bool  enabled)
virtual

Load the stylesheet for the given theme.

virtual void MAKLogger::DtLgrGuiModel::longOperationChangedCallback ( const bool &  state)
protectedvirtual
virtual void MAKLogger::DtLgrGuiModel::longOperationMessageChangedCallback ( const DtString message)
protectedvirtual
virtual void MAKLogger::DtLgrGuiModel::longOperationProgressChangedCallback ( const int &  percent)
protectedvirtual
virtual DtLgrMainWindow* MAKLogger::DtLgrGuiModel::mainWindow ( )
virtual

Get the main window.

virtual void MAKLogger::DtLgrGuiModel::mediaPlayInWindowOperationActive ( bool  isActive,
bool  onCloseMainWindow = false 
)
virtual

Show or hide the video view. When showing the view it increases the size of the view (and main window) while locking other views.

virtual void MAKLogger::DtLgrGuiModel::mergeInFile ( )
virtual

Merge in a new file.

virtual bool MAKLogger::DtLgrGuiModel::needDifferentConnectionSettings ( DtString filename)
virtual

Check if playback file and connection settings are compatible.

virtual void MAKLogger::DtLgrGuiModel::offsetTime ( )
virtual

Offset the time in a file.

virtual void MAKLogger::DtLgrGuiModel::openDroppedFile ( DtString filename)
virtual

Open a logger file that has been dropped onto the GUI.

virtual bool MAKLogger::DtLgrGuiModel::openFile ( )
virtual

Attempt to open a file. Queries user to choose a file.

virtual bool MAKLogger::DtLgrGuiModel::openFile ( const QString &  filename,
bool  checkMediaFile = false 
)
virtual

Attempt to open a file, with a provided file name.

virtual bool MAKLogger::DtLgrGuiModel::openLoggerInformation ( )
virtual

Open the logger information dialog.

virtual void MAKLogger::DtLgrGuiModel::openUrl ( const QString &  urlText)
virtual

Open as URL.

virtual void MAKLogger::DtLgrGuiModel::playbackFileEvent ( const QString &  filename)
virtual

Handle when a playback file is opened/closed.

virtual const DtLgrPlaybackInterface* MAKLogger::DtLgrGuiModel::playbackInterface ( ) const
virtual

Get a playback interface.

virtual DtLgrPlaybackInterface* MAKLogger::DtLgrGuiModel::playbackInterface ( )
virtual

Get a playback interface.

virtual void MAKLogger::DtLgrGuiModel::prefixFile ( )
virtual

Prefix a file to the beginning.

virtual bool MAKLogger::DtLgrGuiModel::protocolIsMatch ( DtString filename,
DtString protocol 
)
virtual

Check if the protocol of the file matches the protocol of the Logger.

virtual bool MAKLogger::DtLgrGuiModel::queryStopRecordingEmptyTape ( )
virtual

Recording is being stopped with no data.

Prompt user to double check that recording can stop producing an empty tape. Return - recording was stopped?

virtual void MAKLogger::DtLgrGuiModel::queryToRecordMultipleFiles ( )
virtual

Start a recording to multiple files.

virtual QVector<QString> MAKLogger::DtLgrGuiModel::recentFiles ( )
virtual

Get list of recently opened files.

virtual void MAKLogger::DtLgrGuiModel::recordAs ( )
virtual

Start a new recordingAs.

This function will query the user with a save file dialog.

virtual void MAKLogger::DtLgrGuiModel::recordFile ( QString  filename,
QString  description,
bool  overwrite 
)
virtual

Start a record file with a specific name, and overwrite permission.

virtual void MAKLogger::DtLgrGuiModel::recordFileEvent ( const QString &  filename)
virtual

Handle when a record file is opened/closed.

virtual const DtLgrRecordInterface* MAKLogger::DtLgrGuiModel::recordInterface ( ) const
virtual

Get a record interface.

virtual DtLgrRecordInterface* MAKLogger::DtLgrGuiModel::recordInterface ( )
virtual

Get a record interface.

virtual void MAKLogger::DtLgrGuiModel::recordToMultipleFiles ( QString  filename,
QString  description 
)
virtual

Record to multiple files.

virtual void MAKLogger::DtLgrGuiModel::recoverLastPacket ( const QString &  filename)
virtual

Begin repair of file by seeking the last packet.

virtual void MAKLogger::DtLgrGuiModel::removeGuiComponent ( QString  componentName)
virtual

Remove a gui component.

virtual void MAKLogger::DtLgrGuiModel::repairFile ( const QString &  filename,
bool  queryRepair 
)
virtual

Repair the current file.

virtual void MAKLogger::DtLgrGuiModel::replaceAll ( std::string &  searchText,
const std::string &  stringToFind,
const std::string &  stringToReplace 
) const
virtual

Replace all instances of stringToFind with stringToReplace in searchText.

virtual std::string MAKLogger::DtLgrGuiModel::resolveVars ( const std::string &  s)
virtual

Resolve a directory by replacing variables with the appropriate values.

virtual void MAKLogger::DtLgrGuiModel::revert ( )
virtual

Revert to original file.

virtual void MAKLogger::DtLgrGuiModel::saveFile ( bool  reopenAfterSave = true)
virtual

Save a file.

virtual bool MAKLogger::DtLgrGuiModel::saveFileAs ( bool  reopenAfterSave = true)
virtual

Attempt to save a file (with a new name).

virtual void MAKLogger::DtLgrGuiModel::saveRecordingData ( )
virtual

Save the currently recorded data without stopping recording.

virtual void MAKLogger::DtLgrGuiModel::setDarkModeEnabled ( bool  enable)
virtual

Set the boolean for the current stylesheet theme.

virtual void MAKLogger::DtLgrGuiModel::setFollowInterval ( double  interval)
virtual

Set follow interval.

virtual void MAKLogger::DtLgrGuiModel::setFollowMode ( bool  enableFollow)
virtual

Enable follow mode.

virtual void MAKLogger::DtLgrGuiModel::setGuiComponentInitialVisibility ( QString  componentName,
bool  visible 
)
virtual

Set the gui component's initial visibility.

virtual void MAKLogger::DtLgrGuiModel::setRecentFiles ( QVector< QString >  recentFiles)
virtual

Set list of recently opened files.

virtual void MAKLogger::DtLgrGuiModel::setSpeed ( )
virtual

Set the speed of playback.

virtual void MAKLogger::DtLgrGuiModel::setStartStopTimes ( )
virtual

Set the start and stop times by Dialog.

virtual void MAKLogger::DtLgrGuiModel::setStartStopTimes ( const DtAbsoluteTime start,
const DtAbsoluteTime stop 
)
virtual

Set the start and stop times.

virtual void MAKLogger::DtLgrGuiModel::setZoom ( )
virtual

Set the zoom settings.

Typically querying the user via a dialog.

virtual void MAKLogger::DtLgrGuiModel::setZoom ( const DtAbsoluteTime start,
const DtAbsoluteTime end 
)
virtual

Set the zoom area by times.

virtual void MAKLogger::DtLgrGuiModel::showAboutBox ( )
virtual

Show the about box.

virtual void MAKLogger::DtLgrGuiModel::showClassDocs ( )
virtual

Show the class docs.

virtual QString MAKLogger::DtLgrGuiModel::showExportDialog ( QString  fileFormat,
QString  filter,
QString  dialogName 
)
protectedvirtual
virtual void MAKLogger::DtLgrGuiModel::showHelp ( const char *  filename = 0)
virtual

Show a help page, by default the main page.

virtual void MAKLogger::DtLgrGuiModel::showLgrComponent ( QString  componentName)
virtual

Show the component.

virtual void MAKLogger::DtLgrGuiModel::showReleaseNotes ( )
virtual

Show the release notes.

virtual void MAKLogger::DtLgrGuiModel::showUserGuide ( )
virtual

Show the user guide.

virtual const DtLgrSimInterface* MAKLogger::DtLgrGuiModel::simulationInterface ( ) const
virtual

Get a simulation interface.

virtual DtLgrSimInterface* MAKLogger::DtLgrGuiModel::simulationInterface ( )
virtual

Get a simulation interface.

virtual void MAKLogger::DtLgrGuiModel::startLongOperation ( )
virtual

Start the long operation.

virtual void MAKLogger::DtLgrGuiModel::stop ( )
virtual

Stop playback and recording.

virtual const DtLgrSystemInterface* MAKLogger::DtLgrGuiModel::systemInterface ( ) const
virtual

Get a system interface.

virtual DtLgrSystemInterface* MAKLogger::DtLgrGuiModel::systemInterface ( )
virtual

Get a system interface.

virtual const DtLgrTimeInterface* MAKLogger::DtLgrGuiModel::timeInterface ( ) const
virtual

Get the current time interface.

This interface will change depending on whether the logger is playing or recording.

virtual DtLgrTimeInterface* MAKLogger::DtLgrGuiModel::timeInterface ( )
virtual

Get the current time interface.

This interface will change depending on whether the logger is playing or recording.

virtual void MAKLogger::DtLgrGuiModel::toggleConnection ( )
virtual

Toggle the connection.

virtual void MAKLogger::DtLgrGuiModel::updateInterfaces ( )
virtual

Update the interfaces.

virtual void MAKLogger::DtLgrGuiModel::updateLgrComponent ( QString  componentName,
bool  visible 
)
virtual

Update a lgr gui component.

virtual void MAKLogger::DtLgrGuiModel::updateLongOperation ( )
virtual

Update the long operation.

virtual void MAKLogger::DtLgrGuiModel::upgradeFile ( )
virtual

Convert the current file.

Member Data Documentation

DtLgrAppGui* MAKLogger::DtLgrGuiModel::myAppGui
protected
std::string MAKLogger::DtLgrGuiModel::myAppPath
protected
GuiComponentMap MAKLogger::DtLgrGuiModel::myComponents
protected
DtComponentVisibilityMap MAKLogger::DtLgrGuiModel::myComponentsInitialVisibility
protected
bool MAKLogger::DtLgrGuiModel::myDarkModeEnabled
protected
std::string MAKLogger::DtLgrGuiModel::myDataPath
protected
QString MAKLogger::DtLgrGuiModel::myDataViewName
protected
QObject* MAKLogger::DtLgrGuiModel::myEventHandler
protected
bool MAKLogger::DtLgrGuiModel::myExitingFlag
protected
ExportDialogMap MAKLogger::DtLgrGuiModel::myExportDialogMap
protected
ExportTypes MAKLogger::DtLgrGuiModel::myExportTypes
protected
DtLgrFullInterface* MAKLogger::DtLgrGuiModel::myFullInterface
protected
QProcess* MAKLogger::DtLgrGuiModel::myHelpAssistant
protected
bool MAKLogger::DtLgrGuiModel::myJumpPending
protected
DtAbsoluteTime MAKLogger::DtLgrGuiModel::myJumpTime
protected
DtLgrMainWindow* MAKLogger::DtLgrGuiModel::myMainWindow
protected
QStyle* MAKLogger::DtLgrGuiModel::myNewDockStyle
protected
QVector<QString> MAKLogger::DtLgrGuiModel::myRecentFiles
protected
DtFilename MAKLogger::DtLgrGuiModel::myRepairedFilename
protected
bool MAKLogger::DtLgrGuiModel::myResetZoom
protected
QString MAKLogger::DtLgrGuiModel::mySizeViewName
protected
QString MAKLogger::DtLgrGuiModel::myStreamViewName
protected
DtLgrTimeBarWidget* MAKLogger::DtLgrGuiModel::myTimeBar
protected
DtTimeComponent* MAKLogger::DtLgrGuiModel::myTimeComponent
protected
DtBoundsSlider* MAKLogger::DtLgrGuiModel::myTimeControl
protected
QDockWidget* MAKLogger::DtLgrGuiModel::myTimeLineDocWidget
protected
DtLgrTimeBarZoomBox* MAKLogger::DtLgrGuiModel::myZoomControl
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)