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 Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
MAKLogger::DtLgrHlaGuiModel Class Reference

The logger GUI's model for HLA. More...

+ Inheritance diagram for MAKLogger::DtLgrHlaGuiModel:
+ Collaboration diagram for MAKLogger::DtLgrHlaGuiModel:

Public Member Functions

 DtLgrHlaGuiModel (DtLgrAppGui *appGui)
 CTOR. More...
 
virtual ~DtLgrHlaGuiModel ()
 DTOR. More...
 
virtual bool disconnect (QWidget *dialog=0)
 Disconnect the connection. More...
 
- Public Member Functions inherited from MAKLogger::DtLgrGuiModel
 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 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...
 

Static Public Member Functions

static DtLgrGuiModelcreate (DtLgrAppGui *appGui)
 

Protected Member Functions

virtual void connectedStatusChanged (const bool &state)
 Handle connect status changes. More...
 
- Protected Member Functions inherited from MAKLogger::DtLgrGuiModel
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

bool myIsConnected
 
- Protected Attributes inherited from MAKLogger::DtLgrGuiModel
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
 

Additional Inherited Members

- Public Types inherited from MAKLogger::DtLgrGuiModel
typedef std::map< QString, bool > DtComponentVisibilityMap
 
typedef DtLgrExportDialog *(* ExportDialogCreator )(DtLgrGuiModel *, QWidget *parent)
 
- Protected Types inherited from MAKLogger::DtLgrGuiModel
typedef std::map< QString,
DtLgrGuiComponent * > 
GuiComponentMap
 
typedef std::map< QString,
ExportDialogCreator
ExportDialogMap
 
typedef std::set< QString > ExportTypes
 

Detailed Description

The logger GUI's model for HLA.

Constructor & Destructor Documentation

MAKLogger::DtLgrHlaGuiModel::DtLgrHlaGuiModel ( DtLgrAppGui appGui)

CTOR.

Parameters
Input
fullInterfaceA newly allocated full interface which the model will own.
virtual MAKLogger::DtLgrHlaGuiModel::~DtLgrHlaGuiModel ( )
virtual

DTOR.

Member Function Documentation

virtual void MAKLogger::DtLgrHlaGuiModel::connectedStatusChanged ( const bool &  state)
protectedvirtual

Handle connect status changes.

static DtLgrGuiModel* MAKLogger::DtLgrHlaGuiModel::create ( DtLgrAppGui appGui)
static
virtual bool MAKLogger::DtLgrHlaGuiModel::disconnect ( QWidget dialog = 0)
virtual

Disconnect the connection.

Reimplemented from MAKLogger::DtLgrGuiModel.

Member Data Documentation

bool MAKLogger::DtLgrHlaGuiModel::myIsConnected
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)