MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
MAKLogger::DtLgrRemoteMainWindow Class Reference
+ Inheritance diagram for MAKLogger::DtLgrRemoteMainWindow:
+ Collaboration diagram for MAKLogger::DtLgrRemoteMainWindow:

Public Slots

void updateInterfaces ()
 Slot that updates the interfaces on every tick. More...
 

Public Member Functions

 DtLgrRemoteMainWindow (DtRemoteControlInterface *remoteControlInterface)
 CTOR. More...
 
virtual ~DtLgrRemoteMainWindow ()
 DTOR. More...
 
virtual void initialize (QObject *eventhandler, const DtLgrCtrlGuiCommandLine &options)
 Initialize the main window. Connects to the event handler, adds menus, and sets up default connection parameters. More...
 
virtual bool openFile (DtFilename fileName, bool constructFilename)
 Open file. More...
 
virtual void closeFile ()
 Close file. More...
 
virtual void play (int lgrMode)
 Start Playback. More...
 
virtual void pause ()
 Pause Playback/Record. More...
 
virtual void stop ()
 Stop Playback. More...
 
virtual void setSpeed (double, bool)
 Set playback speed. More...
 
virtual void increaseSpeed ()
 Increase (double) playback speed. More...
 
virtual void decreaseSpeed ()
 Decrease (half) playback speed. More...
 
virtual void jumpToStart ()
 Jump to Start. More...
 
virtual void jumpToEnd ()
 Jump to End. More...
 
virtual void toggleLoopAtEnd ()
 Toggle loop at end. More...
 
virtual void record (DtFilename &filename, DtString &description, bool constructFilename)
 Create new file to record. More...
 
virtual void startRecording ()
 Start recording. More...
 
virtual void connectionDialog ()
 Opens "Connection" dialog. More...
 
virtual void connect ()
 Connect. More...
 
virtual void disconnect ()
 Disconnect. More...
 
virtual QString getLoggerFileFilter () const
 Return the Normal Logger file filter. More...
 
virtual QString getRemoteControlLoggerFileFilter () const
 Return the Remote Control Logger file filter. More...
 
virtual QString getDefaultLoggerFileDirectory () const
 Return the default Logger file directory. More...
 
virtual double refreshRate ()
 Return the refresh rate for the GUI. More...
 
virtual void setRefreshRate (double rr)
 Set the refresh rate for the GUI. More...
 
virtual DtLgrRemoteMainWindowwindow ()
 
virtual const DtTimeComponentdisplayTime () const
 
virtual QObjecteventHandler ()
 
MAKCommonWidgets::DtDynamicMenuBar & dynamicMenuBar ()
 
virtual DtLgrRemoteConnectionconnection ()
 Get the network connection. More...
 
virtual DtLgrRemoteDisplayInfodisplayInfo ()
 Get the display info. More...
 
virtual DtFilename xmlFilename ()
 Get the filename for the currently opened remote control file. More...
 
virtual void loadStylesheet (bool enabled)
 Load the stylesheet for the given theme. 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...
 
void setWidgetIconStyleManager (DtRemoteWidgetIconStyleManager *manager)
 Set the widget icon style manager. More...
 
DtRemoteWidgetIconStyleManagerwidgetIconStyleManager ()
 Get the widget icon style manager. More...
 
virtual std::vector< std::pair
< QColor, QColor > > 
iconColorMappingsByMode (QIcon::Mode modeToGetMappingsFor) const
 Get the color mappings to use for the provided QIcon::Mode. More...
 
virtual bool bypassRemoteLoggerFile () const
 Set/Get Bypass remote logger file state. More...
 
virtual void setBypassRemoteLoggerFile (bool enableBypass)
 Set/Get Bypass remote logger file state. More...
 
virtual bool constructFilename () const
 Set/Get Construct filename state. More...
 
virtual void setConstructFilename (bool enableConstuct)
 Set/Get Construct filename state. More...
 
virtual void setFileDescription (const DtString &description)
 Set/Get file description. More...
 
virtual QString getFileDescription (const QString &filename)
 Set/Get file description. More...
 
virtual DtString getFileDescription ()
 Set/Get file description. More...
 
const DtRemoteControlInterfacefullRemoteControlInterface () const
 Access the different remote interfaces. More...
 
DtRemoteControlInterfacefullRemoteControlInterface ()
 Access the different remote interfaces. More...
 
const
DtRemoteControlPlaybackInterface
remoteControlPlaybackInterface () const
 Access the different remote interfaces. More...
 
DtRemoteControlPlaybackInterfaceremoteControlPlaybackInterface ()
 Access the different remote interfaces. More...
 
const
DtRemoteControlRecordInterface
remoteControlRecordInterface () const
 Access the different remote interfaces. More...
 
DtRemoteControlRecordInterfaceremoteControlRecordInterface ()
 Access the different remote interfaces. More...
 
const
DtRemoteControlEditorInterface
remoteControlEditorInterface () const
 Access the different remote interfaces. More...
 
DtRemoteControlEditorInterfaceremoteControlEditorInterface ()
 Access the different remote interfaces. More...
 
const
DtRemoteControlSimulationInterface
remoteControlSimulationInterface () const
 Access the different remote interfaces. More...
 
DtRemoteControlSimulationInterfaceremoteControlSimulationInterface ()
 Access the different remote interfaces. More...
 
const
DtRemoteControlSystemInterface
remoteControlSystemInterface () const
 Access the different remote interfaces. More...
 
DtRemoteControlSystemInterfaceremoteControlSystemInterface ()
 Access the different remote interfaces. More...
 

Static Public Member Functions

static const QString & titleBarText ()
 
static void setTitleBarText (const QString &val)
 
static const QString & shortTitleBarText ()
 
static void setShortTitleBarText (const QString &val)
 
static const QString & guiConfigFileName ()
 
static void setGuiConfigFileName (const QString &val)
 

Protected Member Functions

void closeEvent (QCloseEvent *event)
 
void addNewMenu (DtLgrMenu *menu, QString previousMenuName=QString())
 
void addMenu (QString previousMenuName, DtLgrMenu *menu)
 
void addNewToolbar (QWidget *widget, QString toolbarName)
 
void browseOpenLoggerFile (QString title)
 

Protected Attributes

DtLgrRemoteLoggerViewmyRemoteLoggerView
 
DtLgrRemoteConnectionmyConnection
 
const DtEntityIdentifier myLgrEntityID
 
DtLgrRemoteDisplayInfomyDisplayInfo
 
MAKCommonWidgets::DtDynamicMenuBar * myMenuBar
 
DtTimeComponentmyTimeComponent
 
QTimer * myUpdateTimer
 
QStyle * myNewDockStyle
 
QObjectmyEventHandler
 
DtFilename myFile
 
DtRemoteControlInterfacemyRemoteControlInterface
 
bool myBypassRemoteLoggerFile
 
bool myConstructFilename
 
std::string myAppPath
 
std::string myDataPath
 
QColor myActualIconPrimaryColor
 
QColor myNormalIconPrimaryColor
 
QColor myDisabledIconPrimaryColor
 
QColor mySelectedIconPrimaryColor
 
QColor myActiveIconPrimaryColor
 
DtRemoteWidgetIconStyleManagermyWidgetIconStyleManager
 

Static Protected Attributes

static QString theTitleBarText
 
static QString theShortTitleBarText
 
static QString theGuiConfigFileName
 

Private Member Functions

 DtLgrRemoteMainWindow (const DtLgrRemoteMainWindow &orig)
 Not implemented. More...
 
DtLgrRemoteMainWindowoperator= (const DtLgrRemoteMainWindow &orig)
 Not implemented. More...
 

Constructor & Destructor Documentation

MAKLogger::DtLgrRemoteMainWindow::DtLgrRemoteMainWindow ( DtRemoteControlInterface remoteControlInterface)

CTOR.

virtual MAKLogger::DtLgrRemoteMainWindow::~DtLgrRemoteMainWindow ( )
virtual

DTOR.

MAKLogger::DtLgrRemoteMainWindow::DtLgrRemoteMainWindow ( const DtLgrRemoteMainWindow orig)
private

Not implemented.

Member Function Documentation

void MAKLogger::DtLgrRemoteMainWindow::addMenu ( QString  previousMenuName,
DtLgrMenu menu 
)
protected
void MAKLogger::DtLgrRemoteMainWindow::addNewMenu ( DtLgrMenu menu,
QString  previousMenuName = QString() 
)
protected
void MAKLogger::DtLgrRemoteMainWindow::addNewToolbar ( QWidget widget,
QString  toolbarName 
)
protected
void MAKLogger::DtLgrRemoteMainWindow::browseOpenLoggerFile ( QString  title)
protected
virtual bool MAKLogger::DtLgrRemoteMainWindow::bypassRemoteLoggerFile ( ) const
virtual

Set/Get Bypass remote logger file state.

void MAKLogger::DtLgrRemoteMainWindow::closeEvent ( QCloseEvent *  event)
protected
virtual void MAKLogger::DtLgrRemoteMainWindow::closeFile ( )
virtual

Close file.

virtual void MAKLogger::DtLgrRemoteMainWindow::connect ( )
virtual

Connect.

virtual DtLgrRemoteConnection* MAKLogger::DtLgrRemoteMainWindow::connection ( )
virtual

Get the network connection.

virtual void MAKLogger::DtLgrRemoteMainWindow::connectionDialog ( )
virtual

Opens "Connection" dialog.

virtual bool MAKLogger::DtLgrRemoteMainWindow::constructFilename ( ) const
virtual

Set/Get Construct filename state.

virtual void MAKLogger::DtLgrRemoteMainWindow::decreaseSpeed ( )
virtual

Decrease (half) playback speed.

virtual void MAKLogger::DtLgrRemoteMainWindow::disconnect ( )
virtual

Disconnect.

virtual DtLgrRemoteDisplayInfo* MAKLogger::DtLgrRemoteMainWindow::displayInfo ( )
virtual

Get the display info.

virtual const DtTimeComponent& MAKLogger::DtLgrRemoteMainWindow::displayTime ( ) const
virtual
MAKCommonWidgets::DtDynamicMenuBar& MAKLogger::DtLgrRemoteMainWindow::dynamicMenuBar ( )
virtual QObject* MAKLogger::DtLgrRemoteMainWindow::eventHandler ( )
virtual
const DtRemoteControlInterface* MAKLogger::DtLgrRemoteMainWindow::fullRemoteControlInterface ( ) const

Access the different remote interfaces.

DtRemoteControlInterface* MAKLogger::DtLgrRemoteMainWindow::fullRemoteControlInterface ( )

Access the different remote interfaces.

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

Return the default Logger file directory.

virtual QString MAKLogger::DtLgrRemoteMainWindow::getFileDescription ( const QString &  filename)
virtual

Set/Get file description.

virtual DtString MAKLogger::DtLgrRemoteMainWindow::getFileDescription ( )
virtual

Set/Get file description.

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

Return the Normal Logger file filter.

virtual QString MAKLogger::DtLgrRemoteMainWindow::getRemoteControlLoggerFileFilter ( ) const
virtual

Return the Remote Control Logger file filter.

static const QString& MAKLogger::DtLgrRemoteMainWindow::guiConfigFileName ( )
static
virtual std::vector<std::pair<QColor, QColor> > MAKLogger::DtLgrRemoteMainWindow::iconColorMappingsByMode ( QIcon::Mode  modeToGetMappingsFor) const
virtual

Get the color mappings to use for the provided QIcon::Mode.

virtual void MAKLogger::DtLgrRemoteMainWindow::increaseSpeed ( )
virtual

Increase (double) playback speed.

virtual void MAKLogger::DtLgrRemoteMainWindow::initialize ( QObject eventhandler,
const DtLgrCtrlGuiCommandLine options 
)
virtual

Initialize the main window. Connects to the event handler, adds menus, and sets up default connection parameters.

virtual void MAKLogger::DtLgrRemoteMainWindow::jumpToEnd ( )
virtual

Jump to End.

virtual void MAKLogger::DtLgrRemoteMainWindow::jumpToStart ( )
virtual

Jump to Start.

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

Load the stylesheet for the given theme.

virtual bool MAKLogger::DtLgrRemoteMainWindow::openFile ( DtFilename  fileName,
bool  constructFilename 
)
virtual

Open file.

DtLgrRemoteMainWindow& MAKLogger::DtLgrRemoteMainWindow::operator= ( const DtLgrRemoteMainWindow orig)
private

Not implemented.

virtual void MAKLogger::DtLgrRemoteMainWindow::pause ( )
virtual

Pause Playback/Record.

virtual void MAKLogger::DtLgrRemoteMainWindow::play ( int  lgrMode)
virtual

Start Playback.

virtual void MAKLogger::DtLgrRemoteMainWindow::record ( DtFilename &  filename,
DtString &  description,
bool  constructFilename 
)
virtual

Create new file to record.

virtual double MAKLogger::DtLgrRemoteMainWindow::refreshRate ( )
virtual

Return the refresh rate for the GUI.

const DtRemoteControlEditorInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlEditorInterface ( ) const

Access the different remote interfaces.

DtRemoteControlEditorInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlEditorInterface ( )

Access the different remote interfaces.

const DtRemoteControlPlaybackInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlPlaybackInterface ( ) const

Access the different remote interfaces.

DtRemoteControlPlaybackInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlPlaybackInterface ( )

Access the different remote interfaces.

const DtRemoteControlRecordInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlRecordInterface ( ) const

Access the different remote interfaces.

DtRemoteControlRecordInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlRecordInterface ( )

Access the different remote interfaces.

const DtRemoteControlSimulationInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlSimulationInterface ( ) const

Access the different remote interfaces.

DtRemoteControlSimulationInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlSimulationInterface ( )

Access the different remote interfaces.

const DtRemoteControlSystemInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlSystemInterface ( ) const

Access the different remote interfaces.

DtRemoteControlSystemInterface* MAKLogger::DtLgrRemoteMainWindow::remoteControlSystemInterface ( )

Access the different remote interfaces.

virtual void MAKLogger::DtLgrRemoteMainWindow::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::DtLgrRemoteMainWindow::resolveVars ( const std::string &  s)
virtual

Resolve a directory by replacing variables with the appropriate values.

virtual void MAKLogger::DtLgrRemoteMainWindow::setBypassRemoteLoggerFile ( bool  enableBypass)
virtual

Set/Get Bypass remote logger file state.

virtual void MAKLogger::DtLgrRemoteMainWindow::setConstructFilename ( bool  enableConstuct)
virtual

Set/Get Construct filename state.

virtual void MAKLogger::DtLgrRemoteMainWindow::setFileDescription ( const DtString &  description)
virtual

Set/Get file description.

static void MAKLogger::DtLgrRemoteMainWindow::setGuiConfigFileName ( const QString &  val)
static
virtual void MAKLogger::DtLgrRemoteMainWindow::setRefreshRate ( double  rr)
virtual

Set the refresh rate for the GUI.

static void MAKLogger::DtLgrRemoteMainWindow::setShortTitleBarText ( const QString &  val)
static
virtual void MAKLogger::DtLgrRemoteMainWindow::setSpeed ( double  ,
bool   
)
virtual

Set playback speed.

static void MAKLogger::DtLgrRemoteMainWindow::setTitleBarText ( const QString &  val)
static
void MAKLogger::DtLgrRemoteMainWindow::setWidgetIconStyleManager ( DtRemoteWidgetIconStyleManager manager)

Set the widget icon style manager.

static const QString& MAKLogger::DtLgrRemoteMainWindow::shortTitleBarText ( )
static
virtual void MAKLogger::DtLgrRemoteMainWindow::startRecording ( )
virtual

Start recording.

virtual void MAKLogger::DtLgrRemoteMainWindow::stop ( )
virtual

Stop Playback.

static const QString& MAKLogger::DtLgrRemoteMainWindow::titleBarText ( )
static
virtual void MAKLogger::DtLgrRemoteMainWindow::toggleLoopAtEnd ( )
virtual

Toggle loop at end.

void MAKLogger::DtLgrRemoteMainWindow::updateInterfaces ( )
slot

Slot that updates the interfaces on every tick.

DtRemoteWidgetIconStyleManager* MAKLogger::DtLgrRemoteMainWindow::widgetIconStyleManager ( )

Get the widget icon style manager.

virtual DtLgrRemoteMainWindow* MAKLogger::DtLgrRemoteMainWindow::window ( )
virtual
virtual DtFilename MAKLogger::DtLgrRemoteMainWindow::xmlFilename ( )
virtual

Get the filename for the currently opened remote control file.

Member Data Documentation

QColor MAKLogger::DtLgrRemoteMainWindow::myActiveIconPrimaryColor
protected
QColor MAKLogger::DtLgrRemoteMainWindow::myActualIconPrimaryColor
protected
std::string MAKLogger::DtLgrRemoteMainWindow::myAppPath
protected
bool MAKLogger::DtLgrRemoteMainWindow::myBypassRemoteLoggerFile
protected
DtLgrRemoteConnection* MAKLogger::DtLgrRemoteMainWindow::myConnection
protected
bool MAKLogger::DtLgrRemoteMainWindow::myConstructFilename
protected
std::string MAKLogger::DtLgrRemoteMainWindow::myDataPath
protected
QColor MAKLogger::DtLgrRemoteMainWindow::myDisabledIconPrimaryColor
protected
DtLgrRemoteDisplayInfo* MAKLogger::DtLgrRemoteMainWindow::myDisplayInfo
protected
QObject* MAKLogger::DtLgrRemoteMainWindow::myEventHandler
protected
DtFilename MAKLogger::DtLgrRemoteMainWindow::myFile
protected
const DtEntityIdentifier MAKLogger::DtLgrRemoteMainWindow::myLgrEntityID
protected
MAKCommonWidgets::DtDynamicMenuBar* MAKLogger::DtLgrRemoteMainWindow::myMenuBar
protected
QStyle* MAKLogger::DtLgrRemoteMainWindow::myNewDockStyle
protected
QColor MAKLogger::DtLgrRemoteMainWindow::myNormalIconPrimaryColor
protected
DtRemoteControlInterface* MAKLogger::DtLgrRemoteMainWindow::myRemoteControlInterface
protected
DtLgrRemoteLoggerView* MAKLogger::DtLgrRemoteMainWindow::myRemoteLoggerView
protected
QColor MAKLogger::DtLgrRemoteMainWindow::mySelectedIconPrimaryColor
protected
DtTimeComponent* MAKLogger::DtLgrRemoteMainWindow::myTimeComponent
protected
QTimer* MAKLogger::DtLgrRemoteMainWindow::myUpdateTimer
protected
DtRemoteWidgetIconStyleManager* MAKLogger::DtLgrRemoteMainWindow::myWidgetIconStyleManager
protected
QString MAKLogger::DtLgrRemoteMainWindow::theGuiConfigFileName
staticprotected
QString MAKLogger::DtLgrRemoteMainWindow::theShortTitleBarText
staticprotected
QString MAKLogger::DtLgrRemoteMainWindow::theTitleBarText
staticprotected

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)