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 | Protected Slots | Protected Member Functions | Protected Attributes
MAKLogger::DtHlaConnectionDialog Class Reference

The HLA Connection Dialog interface. More...

+ Inheritance diagram for MAKLogger::DtHlaConnectionDialog:
+ Collaboration diagram for MAKLogger::DtHlaConnectionDialog:

Public Member Functions

 DtHlaConnectionDialog (DtLoggerApplication &app, DtLgrHlaSimMenus *menu, QWidget *parent)
 CTOR. More...
 
virtual ~DtHlaConnectionDialog ()
 DTOR. More...
 
virtual void setExerciseName (const QString &exerciseName)
 Set the exercise name. More...
 
virtual QString exerciseName () const
 
virtual void setFederateType (const QString &federateType)
 Set the federate type. More...
 
virtual QString federateType () const
 
virtual void setFedFileName (const QString &fedFileName)
 Set the fed file name. More...
 
virtual QString fedFileName () const
 
virtual void setRPRFomVersion (double fomVersion, int fomRevision)
 Set the RPR FOM version. More...
 
virtual double rprFomVersion () const
 
virtual int rprFomRevision () const
 Get the RPR FOM revision. More...
 
virtual void setUseMatrexFomMapper (bool enabled)
 Set the use MATREX fom mapper state. More...
 
virtual bool useMatrexFomMapper () const
 
virtual void setMatrexFomMapperInitString (const QString &fomMapperInitString)
 Set the fom mapper init string. More...
 
virtual QString matrexFomMapperInitString () const
 
virtual void setCustomFomMapperFileName (const QString &fomMapperFileName)
 Set the fom mapper file name. More...
 
virtual QString fomMapperFileName () const
 
virtual void setCustomFomMapperInitString (const QString &fomMapperInitString)
 Set the fom mapper init string. More...
 
virtual QString fomMapperInitString () const
 
virtual void setUseEmptyFomMapper (bool enabled)
 Set the use generic fom mapper state. More...
 
virtual bool useEmptyFomMapper () const
 
virtual void setIgnoreAdvisories (bool enabled)
 Set the use advisories state. More...
 
virtual bool ignoreAdvisories () const
 
virtual void registerConnectStatusChangeSlot ()
 Register slots associated with connection status. More...
 
virtual void setWaitOnLoadReconnect ()
 Set flag to wait on tape load reconnect. More...
 
virtual void setReadOnlyProperties (bool state)
 Set the property for Qt widgets in order to use dynamic formatting. More...
 
virtual void setReadOnly (bool state)
 Freeze or unfreeze the interface based on the state parameter. More...
 
virtual void setRadioButtonStyling (int selection)
 Formatting the inputs that rely on radio button selections. More...
 
void configureConnectionButton ()
 , sets the state of the connection button (to "connected" or "disconnected") More...
 
virtual void disconnect ()
 disconnects the simulation More...
 
virtual void connect ()
 connects the simulation More...
 
virtual void connectStatusChanged (bool connected)
 Process a connection change. More...
 
virtual void unableToConnect ()
 process a failed connect action More...
 
virtual QString getOpenFileName (const QString &fileFilter)
 Browse for a file name using the given filter. More...
 
- Public Member Functions inherited from MAKLogger::DtLgrConnectionDialog
 DtLgrConnectionDialog (QWidget *parent)
 
virtual ~DtLgrConnectionDialog ()
 

Protected Slots

void connectButtonPressed ()
 A callback for when the connect button is pressed. More...
 
void useRprFomRadioButtonClicked ()
 A callback for when the rpr fom mapper radio button is clicked. More...
 
void useMatrexFomMapperRadioButtonClicked ()
 A callback for when the matrex fom mapper check box is clicked. More...
 
void useCustomFomRadioButtonClicked ()
 A callback for when the custom fom mapper radio button is clicked. More...
 
void useEmptyFomMapperRadioButtonClicked ()
 A callback for when the empty fom mapper check box is clicked. More...
 
virtual void fedFileBrowse ()
 Browse for fed file. More...
 
virtual void fomModuleBrowse ()
 Browse for FOM Module files. More...
 
virtual void mimBrowse ()
 Browse for fed file. More...
 
virtual void fomMapperBrowse ()
 Browse for Fom Mapper files. More...
 

Protected Member Functions

virtual void saveChanges ()
 Save configuration changes after a configuration change initiated from the loading a tape. More...
 

Protected Attributes

DtLoggerApplicationmyApplication
 
DtLgrHlaSimMenusmyMenu
 
bool myWaitingForConnect
 
bool myWaitingForDisconnect
 
bool myWaitOnLoadReconnect
 
QString myFomFilter
 
QString myMapperFilter
 
bool myHasChangedSinceSave
 
QString myCurrentExerciseName
 
QString myCurrentFederateType
 
QString myCurrentFedFileName
 
QString myCurrentMatrexFomMapperInitString
 
QString myCurrentFomMapperFileName
 
QString myCurrentFomMapperInitString
 
double myCurrentRprFomVersion
 
int myCurrentRprFomRevision
 
bool myCurrentUseMatrexFomMapper
 
bool myCurrentUseEmptyFomMapper
 
bool myCurrentIgnoreAdvisories
 

Detailed Description

The HLA Connection Dialog interface.

This wraps the Ui_DtHlaConnectionDialog created by QT Designer with useful methods for manipulation. This class knows how to connect itself and disconnect itself, as well as the current state of the connection. However, it only knows the current state of the connection from the SimManager, which may be off for several seconds after the connection state has changed.

Constructor & Destructor Documentation

MAKLogger::DtHlaConnectionDialog::DtHlaConnectionDialog ( DtLoggerApplication app,
DtLgrHlaSimMenus menu,
QWidget parent 
)

CTOR.

virtual MAKLogger::DtHlaConnectionDialog::~DtHlaConnectionDialog ( )
virtual

DTOR.

Member Function Documentation

void MAKLogger::DtHlaConnectionDialog::configureConnectionButton ( )

, sets the state of the connection button (to "connected" or "disconnected")

virtual void MAKLogger::DtHlaConnectionDialog::connect ( )
virtual

connects the simulation

void MAKLogger::DtHlaConnectionDialog::connectButtonPressed ( )
protectedslot

A callback for when the connect button is pressed.

The connect button is used for both connection and disconnection. Its text changes.

virtual void MAKLogger::DtHlaConnectionDialog::connectStatusChanged ( bool  connected)
virtual

Process a connection change.

virtual void MAKLogger::DtHlaConnectionDialog::disconnect ( )
virtual

disconnects the simulation

virtual QString MAKLogger::DtHlaConnectionDialog::exerciseName ( ) const
virtual
virtual QString MAKLogger::DtHlaConnectionDialog::federateType ( ) const
virtual
virtual void MAKLogger::DtHlaConnectionDialog::fedFileBrowse ( )
protectedvirtualslot

Browse for fed file.

virtual QString MAKLogger::DtHlaConnectionDialog::fedFileName ( ) const
virtual
virtual void MAKLogger::DtHlaConnectionDialog::fomMapperBrowse ( )
protectedvirtualslot

Browse for Fom Mapper files.

virtual QString MAKLogger::DtHlaConnectionDialog::fomMapperFileName ( ) const
virtual
virtual QString MAKLogger::DtHlaConnectionDialog::fomMapperInitString ( ) const
virtual
virtual void MAKLogger::DtHlaConnectionDialog::fomModuleBrowse ( )
protectedvirtualslot

Browse for FOM Module files.

virtual QString MAKLogger::DtHlaConnectionDialog::getOpenFileName ( const QString &  fileFilter)
virtual

Browse for a file name using the given filter.

Return just the file name if it is in the working dir; otherwise; return the full path.

virtual bool MAKLogger::DtHlaConnectionDialog::ignoreAdvisories ( ) const
virtual
virtual QString MAKLogger::DtHlaConnectionDialog::matrexFomMapperInitString ( ) const
virtual
virtual void MAKLogger::DtHlaConnectionDialog::mimBrowse ( )
protectedvirtualslot

Browse for fed file.

virtual void MAKLogger::DtHlaConnectionDialog::registerConnectStatusChangeSlot ( )
virtual

Register slots associated with connection status.

Implements MAKLogger::DtLgrConnectionDialog.

virtual int MAKLogger::DtHlaConnectionDialog::rprFomRevision ( ) const
virtual

Get the RPR FOM revision.

virtual double MAKLogger::DtHlaConnectionDialog::rprFomVersion ( ) const
virtual
virtual void MAKLogger::DtHlaConnectionDialog::saveChanges ( )
protectedvirtual

Save configuration changes after a configuration change initiated from the loading a tape.

virtual void MAKLogger::DtHlaConnectionDialog::setCustomFomMapperFileName ( const QString &  fomMapperFileName)
virtual

Set the fom mapper file name.

virtual void MAKLogger::DtHlaConnectionDialog::setCustomFomMapperInitString ( const QString &  fomMapperInitString)
virtual

Set the fom mapper init string.

virtual void MAKLogger::DtHlaConnectionDialog::setExerciseName ( const QString &  exerciseName)
virtual

Set the exercise name.

virtual void MAKLogger::DtHlaConnectionDialog::setFederateType ( const QString &  federateType)
virtual

Set the federate type.

virtual void MAKLogger::DtHlaConnectionDialog::setFedFileName ( const QString &  fedFileName)
virtual

Set the fed file name.

virtual void MAKLogger::DtHlaConnectionDialog::setIgnoreAdvisories ( bool  enabled)
virtual

Set the use advisories state.

virtual void MAKLogger::DtHlaConnectionDialog::setMatrexFomMapperInitString ( const QString &  fomMapperInitString)
virtual

Set the fom mapper init string.

virtual void MAKLogger::DtHlaConnectionDialog::setRadioButtonStyling ( int  selection)
virtual

Formatting the inputs that rely on radio button selections.

virtual void MAKLogger::DtHlaConnectionDialog::setReadOnly ( bool  state)
virtual

Freeze or unfreeze the interface based on the state parameter.

virtual void MAKLogger::DtHlaConnectionDialog::setReadOnlyProperties ( bool  state)
virtual

Set the property for Qt widgets in order to use dynamic formatting.

virtual void MAKLogger::DtHlaConnectionDialog::setRPRFomVersion ( double  fomVersion,
int  fomRevision 
)
virtual

Set the RPR FOM version.

virtual void MAKLogger::DtHlaConnectionDialog::setUseEmptyFomMapper ( bool  enabled)
virtual

Set the use generic fom mapper state.

virtual void MAKLogger::DtHlaConnectionDialog::setUseMatrexFomMapper ( bool  enabled)
virtual

Set the use MATREX fom mapper state.

virtual void MAKLogger::DtHlaConnectionDialog::setWaitOnLoadReconnect ( )
virtual

Set flag to wait on tape load reconnect.

Implements MAKLogger::DtLgrConnectionDialog.

virtual void MAKLogger::DtHlaConnectionDialog::unableToConnect ( )
virtual

process a failed connect action

void MAKLogger::DtHlaConnectionDialog::useCustomFomRadioButtonClicked ( )
protectedslot

A callback for when the custom fom mapper radio button is clicked.

virtual bool MAKLogger::DtHlaConnectionDialog::useEmptyFomMapper ( ) const
virtual
void MAKLogger::DtHlaConnectionDialog::useEmptyFomMapperRadioButtonClicked ( )
protectedslot

A callback for when the empty fom mapper check box is clicked.

virtual bool MAKLogger::DtHlaConnectionDialog::useMatrexFomMapper ( ) const
virtual
void MAKLogger::DtHlaConnectionDialog::useMatrexFomMapperRadioButtonClicked ( )
protectedslot

A callback for when the matrex fom mapper check box is clicked.

void MAKLogger::DtHlaConnectionDialog::useRprFomRadioButtonClicked ( )
protectedslot

A callback for when the rpr fom mapper radio button is clicked.

Member Data Documentation

DtLoggerApplication& MAKLogger::DtHlaConnectionDialog::myApplication
protected
QString MAKLogger::DtHlaConnectionDialog::myCurrentExerciseName
protected
QString MAKLogger::DtHlaConnectionDialog::myCurrentFederateType
protected
QString MAKLogger::DtHlaConnectionDialog::myCurrentFedFileName
protected
QString MAKLogger::DtHlaConnectionDialog::myCurrentFomMapperFileName
protected
QString MAKLogger::DtHlaConnectionDialog::myCurrentFomMapperInitString
protected
bool MAKLogger::DtHlaConnectionDialog::myCurrentIgnoreAdvisories
protected
QString MAKLogger::DtHlaConnectionDialog::myCurrentMatrexFomMapperInitString
protected
int MAKLogger::DtHlaConnectionDialog::myCurrentRprFomRevision
protected
double MAKLogger::DtHlaConnectionDialog::myCurrentRprFomVersion
protected
bool MAKLogger::DtHlaConnectionDialog::myCurrentUseEmptyFomMapper
protected
bool MAKLogger::DtHlaConnectionDialog::myCurrentUseMatrexFomMapper
protected
QString MAKLogger::DtHlaConnectionDialog::myFomFilter
protected
bool MAKLogger::DtHlaConnectionDialog::myHasChangedSinceSave
protected
QString MAKLogger::DtHlaConnectionDialog::myMapperFilter
protected
DtLgrHlaSimMenus* MAKLogger::DtHlaConnectionDialog::myMenu
protected
bool MAKLogger::DtHlaConnectionDialog::myWaitingForConnect
protected
bool MAKLogger::DtHlaConnectionDialog::myWaitingForDisconnect
protected
bool MAKLogger::DtHlaConnectionDialog::myWaitOnLoadReconnect
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)