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 | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
MAKLogger::DtTrafficAnalyzerComponent Class Reference
+ Inheritance diagram for MAKLogger::DtTrafficAnalyzerComponent:
+ Collaboration diagram for MAKLogger::DtTrafficAnalyzerComponent:

Public Slots

virtual void update ()
 Called repeatedly by the host application in the GUI thread.
virtual void tick ()
 Tick the VR-Link/RTI backend.
virtual void onPrepareToResign (const bool &toggle)
 Resign is pending.
virtual void onRecordingChanged (const bool &recordingState)
 Recording changed. Adjust object list if stopped.
void onPlaybackFileOpened (const DtString &filename)
 Playback file opened. Adjust object list.
virtual void onCurrentTimeChanged (const DtAbsoluteTime &currentTime)
 Time changed during playback or record.
virtual void onRejoined (const QString &federationName)
 Federate has rejoined to the given federation after a resign.
virtual void onClose ()
 Process application close.
virtual void filterByEntityType ()
 Call the EntityType filter.
- Public Slots inherited from MAKLogger::DtLgrGuiComponent
virtual void update ()=0
 Called repeatedly by the host application in the GUI thread.

Signals

void consoleOutput (int type, const QString &message)
 Output to message console.

Public Member Functions

 DtTrafficAnalyzerComponent (DtLgrGuiModel *guiModel)
 constructor
virtual ~DtTrafficAnalyzerComponent ()
 destructor
virtual QWidgetinitialize (QWidget *parent)
 This method is called when the logger Gui has been initialized.
virtual void release (QWidget *parent)
 The component is being removed.
virtual bool isOk () const
 Return the status (e.g., did initialization succeed?)
virtual void activate ()
 This method is called when the component is shown.
virtual void deactivate ()
 This method is called when the component is hidden.
virtual double updateTime ()
 Returns the desired times between updates in seconds.
virtual DtLgrZoomableWidgetzoomComponent ()
 Access component as zoom component, return NULL if component is not a zoom component.
virtual DtOMTTreeomtTree ()
 Returns the OMT tree.
virtual DtDatatypeManagerdatatypeManager ()
 Returns the datatype manager.
virtual DtTrafficAnalyzerConfigconfig ()
 Returns the Traffic Analyzer configuration.
virtual bool initializeFomObjects ()
 Initialize parts of the component Return the status - isOk?
virtual bool initializeExerciseConnection ()
 Initialize parts of the component Return the status - isOk?
virtual bool initializePanels ()
 Initialize parts of the component Return the status - isOk?
virtual bool initializeMenus ()
 Initialize parts of the component Return the status - isOk?
- Public Member Functions inherited from MAKLogger::DtLgrGuiComponent
virtual ~DtLgrGuiComponent ()
 Default Destructor.
virtual void startTimer (QObject *parent)
 Called to start the update timer.
virtual void stopTimer ()
 Called to stop the update timer.
virtual bool canExit () const
 This method provides a way for components to control whether the application can quit.
virtual bool canCloseFile () const
 This method provides a way for components to control whether the application can close a file.
virtual QWidgetcontainer ()
 Get the container widget.
virtual void setContainer (QWidget *widget)
 Sets the container.
virtual const QIcon & iconSet () const
 Get an optional icon set. By default returns null QIconSet.
virtual void setIconSet (const QIcon &iconSet)
virtual QString name () const
 Get the component name.
virtual QKeySequence shortcut () const
 Get the component's accelerator.
virtual void setKeySequence (const QKeySequence &sequence)
 Set the key sequence of the view component menu item.

Static Public Member Functions

static const QString & trafficAnalyzerComponentName ()

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *ev)
virtual const
DtLgrHlaSimInterface * 
simulationInterface () const
 Access the simulation interface as DtLgrHlaSimInterface.
virtual DtExerciseConnexerciseConnection ()
 Set/Get the exercise connection.
virtual void setExerciseConnection (DtExerciseConn *e)
 Set/Get the exercise connection.
virtual void setLocationCoordSys (bool alternate)
 Set the coordinate systems to be used for specific attribute types.
virtual void setOrientationCoordSys (bool alternate)
 Set the coordinate systems to be used for specific attribute types.
virtual void setVelocityCoordSys (bool alternate)
 Set the coordinate systems to be used for specific attribute types.
virtual void setEntityTypeCoordSys (bool alternate)
 Set the coordinate systems to be used for specific attribute types.
virtual void setLocationDatatype (DtComplexDatatypeNode *datatypeNode, bool useAlternate)
 Set the coordinate systems to be used for specific attribute types.
virtual void setOrientationDatatype (DtComplexDatatypeNode *datatypeNode, bool useAlternate)
 Set the coordinate systems to be used for specific attribute types.
virtual void setVelocityDatatype (DtComplexDatatypeNode *datatypeNode, bool useAlternate)
 Set the coordinate systems to be used for specific attribute types.
- Protected Member Functions inherited from MAKLogger::DtLgrGuiComponent
 DtLgrGuiComponent (QString name)

Protected Attributes

DtLgrGuiModelmyModel
bool myActivatedFlag
bool myIsOk
DtExerciseConnmyExconn
MAKTrafficClientServerExConn::DtClientExerciseConnectionmyClientExconn
 Access to ex conn as client ex conn (if created that way)
QMainWindowmyParentWindow
DtLgrTrafficAnalyzerViewmyView
QTimer * myVrlinkTimer
DtFom * myFom
DtOMTTreemyOMTTree
DtDatatypeManagermyManager
DtDisDictionarymyEntityTypeDictionary
DtTrafficAnalyzerConfig myConfig
DtFomClassListDlgmyClassListDlg
DtObjectInstanceListDlgmyObjectInstanceListDlg
DtInteractionInstanceListDlgmyInteractionInstanceListDlg
QDockWidget * myClassDock
QDockWidget * myObjectInstanceDock
QDockWidget * myInteractionInstanceDock
QMenumyViewSubMenu
QAction * myFilterEntityAction
DtFilterByTypeDialogmyFilterEntityTypeDlg
DtFilterByTypeFiltermyFilterEntityTypeFilter
bool myUseAltLocationCoordSys
bool myUseAltOrientationCoordSys
bool myUseAltVelocityCoordSys
bool myUseAltEntityTypeCoordSys
DtString myBaseEntityClassName
- Protected Attributes inherited from MAKLogger::DtLgrGuiComponent
QWidgetmyContainer
QTimer * myTimer
QString myName
QIcon myIconSet
QKeySequence mySequence

Static Protected Attributes

static QString theTrafficAnalyzerComponentName

Constructor & Destructor Documentation

MAKLogger::DtTrafficAnalyzerComponent::DtTrafficAnalyzerComponent ( DtLgrGuiModel guiModel)

constructor

virtual MAKLogger::DtTrafficAnalyzerComponent::~DtTrafficAnalyzerComponent ( )
virtual

destructor

Member Function Documentation

virtual void MAKLogger::DtTrafficAnalyzerComponent::activate ( )
virtual

This method is called when the component is shown.

Implements MAKLogger::DtLgrGuiComponent.

virtual DtTrafficAnalyzerConfig* MAKLogger::DtTrafficAnalyzerComponent::config ( )
virtual

Returns the Traffic Analyzer configuration.

void MAKLogger::DtTrafficAnalyzerComponent::consoleOutput ( int  type,
const QString &  message 
)
signal

Output to message console.

The type follows the logger message levels: MessageLevelsEnum - Critical(0), Warning(1), Info(2), Verbose(3), Debug(4)

virtual DtDatatypeManager* MAKLogger::DtTrafficAnalyzerComponent::datatypeManager ( )
virtual

Returns the datatype manager.

virtual void MAKLogger::DtTrafficAnalyzerComponent::deactivate ( )
virtual

This method is called when the component is hidden.

Implements MAKLogger::DtLgrGuiComponent.

bool MAKLogger::DtTrafficAnalyzerComponent::eventFilter ( QObject obj,
QEvent ev 
)
protected
virtual DtExerciseConn* MAKLogger::DtTrafficAnalyzerComponent::exerciseConnection ( )
protectedvirtual

Set/Get the exercise connection.

virtual void MAKLogger::DtTrafficAnalyzerComponent::filterByEntityType ( )
virtualslot

Call the EntityType filter.

virtual QWidget* MAKLogger::DtTrafficAnalyzerComponent::initialize ( QWidget parent)
virtual

This method is called when the logger Gui has been initialized.

Returns the components main widget

Implements MAKLogger::DtLgrGuiComponent.

virtual bool MAKLogger::DtTrafficAnalyzerComponent::initializeExerciseConnection ( )
virtual

Initialize parts of the component Return the status - isOk?

virtual bool MAKLogger::DtTrafficAnalyzerComponent::initializeFomObjects ( )
virtual

Initialize parts of the component Return the status - isOk?

virtual bool MAKLogger::DtTrafficAnalyzerComponent::initializeMenus ( )
virtual

Initialize parts of the component Return the status - isOk?

virtual bool MAKLogger::DtTrafficAnalyzerComponent::initializePanels ( )
virtual

Initialize parts of the component Return the status - isOk?

virtual bool MAKLogger::DtTrafficAnalyzerComponent::isOk ( ) const
virtual

Return the status (e.g., did initialization succeed?)

virtual DtOMTTree* MAKLogger::DtTrafficAnalyzerComponent::omtTree ( )
virtual

Returns the OMT tree.

virtual void MAKLogger::DtTrafficAnalyzerComponent::onClose ( )
virtualslot

Process application close.

virtual void MAKLogger::DtTrafficAnalyzerComponent::onCurrentTimeChanged ( const DtAbsoluteTime currentTime)
virtualslot

Time changed during playback or record.

void MAKLogger::DtTrafficAnalyzerComponent::onPlaybackFileOpened ( const DtString &  filename)
slot

Playback file opened. Adjust object list.

virtual void MAKLogger::DtTrafficAnalyzerComponent::onPrepareToResign ( const bool &  toggle)
virtualslot

Resign is pending.

Stop all activity and notify connection when ready. The follow up rejoined signal will indicate when federate has rejoined and activity can be resumed.

virtual void MAKLogger::DtTrafficAnalyzerComponent::onRecordingChanged ( const bool &  recordingState)
virtualslot

Recording changed. Adjust object list if stopped.

virtual void MAKLogger::DtTrafficAnalyzerComponent::onRejoined ( const QString &  federationName)
virtualslot

Federate has rejoined to the given federation after a resign.

Notify connection then activity can resume.

virtual void MAKLogger::DtTrafficAnalyzerComponent::release ( QWidget parent)
virtual

The component is being removed.

It should perform any clean up associated with connections to the GUI.

Reimplemented from MAKLogger::DtLgrGuiComponent.

virtual void MAKLogger::DtTrafficAnalyzerComponent::setEntityTypeCoordSys ( bool  alternate)
protectedvirtual

Set the coordinate systems to be used for specific attribute types.

virtual void MAKLogger::DtTrafficAnalyzerComponent::setExerciseConnection ( DtExerciseConn e)
protectedvirtual

Set/Get the exercise connection.

virtual void MAKLogger::DtTrafficAnalyzerComponent::setLocationCoordSys ( bool  alternate)
protectedvirtual

Set the coordinate systems to be used for specific attribute types.

virtual void MAKLogger::DtTrafficAnalyzerComponent::setLocationDatatype ( DtComplexDatatypeNode datatypeNode,
bool  useAlternate 
)
protectedvirtual

Set the coordinate systems to be used for specific attribute types.

virtual void MAKLogger::DtTrafficAnalyzerComponent::setOrientationCoordSys ( bool  alternate)
protectedvirtual

Set the coordinate systems to be used for specific attribute types.

virtual void MAKLogger::DtTrafficAnalyzerComponent::setOrientationDatatype ( DtComplexDatatypeNode datatypeNode,
bool  useAlternate 
)
protectedvirtual

Set the coordinate systems to be used for specific attribute types.

virtual void MAKLogger::DtTrafficAnalyzerComponent::setVelocityCoordSys ( bool  alternate)
protectedvirtual

Set the coordinate systems to be used for specific attribute types.

virtual void MAKLogger::DtTrafficAnalyzerComponent::setVelocityDatatype ( DtComplexDatatypeNode datatypeNode,
bool  useAlternate 
)
protectedvirtual

Set the coordinate systems to be used for specific attribute types.

virtual const DtLgrHlaSimInterface* MAKLogger::DtTrafficAnalyzerComponent::simulationInterface ( ) const
protectedvirtual

Access the simulation interface as DtLgrHlaSimInterface.

virtual void MAKLogger::DtTrafficAnalyzerComponent::tick ( )
virtualslot

Tick the VR-Link/RTI backend.

static const QString& MAKLogger::DtTrafficAnalyzerComponent::trafficAnalyzerComponentName ( )
static
virtual void MAKLogger::DtTrafficAnalyzerComponent::update ( )
virtualslot

Called repeatedly by the host application in the GUI thread.

The time between calls is controlled by updateTime.

virtual double MAKLogger::DtTrafficAnalyzerComponent::updateTime ( )
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 DtLgrZoomableWidget* MAKLogger::DtTrafficAnalyzerComponent::zoomComponent ( )
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.

Member Data Documentation

bool MAKLogger::DtTrafficAnalyzerComponent::myActivatedFlag
protected
DtString MAKLogger::DtTrafficAnalyzerComponent::myBaseEntityClassName
protected
QDockWidget* MAKLogger::DtTrafficAnalyzerComponent::myClassDock
protected
DtFomClassListDlg* MAKLogger::DtTrafficAnalyzerComponent::myClassListDlg
protected
MAKTrafficClientServerExConn::DtClientExerciseConnection* MAKLogger::DtTrafficAnalyzerComponent::myClientExconn
protected

Access to ex conn as client ex conn (if created that way)

DtTrafficAnalyzerConfig MAKLogger::DtTrafficAnalyzerComponent::myConfig
protected
DtDisDictionary* MAKLogger::DtTrafficAnalyzerComponent::myEntityTypeDictionary
protected
DtExerciseConn* MAKLogger::DtTrafficAnalyzerComponent::myExconn
protected
QAction* MAKLogger::DtTrafficAnalyzerComponent::myFilterEntityAction
protected
DtFilterByTypeDialog* MAKLogger::DtTrafficAnalyzerComponent::myFilterEntityTypeDlg
protected
DtFilterByTypeFilter* MAKLogger::DtTrafficAnalyzerComponent::myFilterEntityTypeFilter
protected
DtFom* MAKLogger::DtTrafficAnalyzerComponent::myFom
protected
QDockWidget* MAKLogger::DtTrafficAnalyzerComponent::myInteractionInstanceDock
protected
DtInteractionInstanceListDlg* MAKLogger::DtTrafficAnalyzerComponent::myInteractionInstanceListDlg
protected
bool MAKLogger::DtTrafficAnalyzerComponent::myIsOk
protected
DtDatatypeManager* MAKLogger::DtTrafficAnalyzerComponent::myManager
protected
DtLgrGuiModel* MAKLogger::DtTrafficAnalyzerComponent::myModel
protected
QDockWidget* MAKLogger::DtTrafficAnalyzerComponent::myObjectInstanceDock
protected
DtObjectInstanceListDlg* MAKLogger::DtTrafficAnalyzerComponent::myObjectInstanceListDlg
protected
DtOMTTree* MAKLogger::DtTrafficAnalyzerComponent::myOMTTree
protected
QMainWindow* MAKLogger::DtTrafficAnalyzerComponent::myParentWindow
protected
bool MAKLogger::DtTrafficAnalyzerComponent::myUseAltEntityTypeCoordSys
protected
bool MAKLogger::DtTrafficAnalyzerComponent::myUseAltLocationCoordSys
protected
bool MAKLogger::DtTrafficAnalyzerComponent::myUseAltOrientationCoordSys
protected
bool MAKLogger::DtTrafficAnalyzerComponent::myUseAltVelocityCoordSys
protected
DtLgrTrafficAnalyzerView* MAKLogger::DtTrafficAnalyzerComponent::myView
protected
QMenu* MAKLogger::DtTrafficAnalyzerComponent::myViewSubMenu
protected
QTimer* MAKLogger::DtTrafficAnalyzerComponent::myVrlinkTimer
protected
QString MAKLogger::DtTrafficAnalyzerComponent::theTrafficAnalyzerComponentName
staticprotected

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

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)