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

The DtLgrMediaStreamView contains the media play in window view. More...

+ Inheritance diagram for MAKLogger::DtLgrMediaStreamView:
+ Collaboration diagram for MAKLogger::DtLgrMediaStreamView:

Public Slots

void fileOpenChanged (QString fileName)
 
void connectionStatusChanged (bool connected)
 
void playbackStateChanged (bool isPlaying)
 
void playbackPausedChanged (bool isPaused)
 
- Public Slots inherited from MAKLogger::DtLgrGuiComponent

Public Member Functions

 DtLgrMediaStreamView (DtLgrGuiModel *model)
 CTOR. More...
 
virtual ~DtLgrMediaStreamView ()
 DTOR. More...
 
virtual QWidgetinitialize (QWidget *parent)
 This method is called after the GUI has been initialized. More...
 
virtual void activate ()
 This method is called when the component is shown. More...
 
virtual void deactivate ()
 This method is called when the component is hidden. More...
 
virtual bool canCloseFile () const
 This method is called when the file is going to be closed. More...
 
void startView ()
 Start the view updating. More...
 
void stopView ()
 Stop the view from updating. More...
 
void clearView ()
 Clear the view of updates. More...
 
void closeView ()
 
virtual double updateTime ()
 Returns the desired times between updates in seconds. More...
 
virtual void update ()
 Called repeatedly by the host application in the GUI thread. More...
 
virtual
MAKLogger::DtLgrZoomableWidget
zoomComponent ()
 Access component as zoom component, return NULL if component is not a zoom component. More...
 
virtual
DtLgrMediaStreamViewWidget
widget ()
 
- Public Member Functions inherited from MAKLogger::DtLgrGuiComponent
virtual ~DtLgrGuiComponent ()
 Default Destructor. More...
 
virtual void startTimer (QObject *parent)
 Called to start the update timer. More...
 
virtual void stopTimer ()
 Called to stop the update timer. More...
 
virtual void release (QWidget *parent)
 The component is being removed. More...
 
virtual bool canExit () const
 This method provides a way for components to control whether the application can quit. More...
 
virtual QWidgetcontainer ()
 Get the container widget. More...
 
virtual void setContainer (QWidget *widget)
 Sets the container. More...
 
virtual const QIcon & iconSet () const
 Get an optional icon set. By default returns null QIconSet. More...
 
virtual void setIconSet (const QIcon &iconSet)
 
virtual QString name () const
 Get the component name. More...
 
virtual QKeySequence shortcut () const
 Get the component's accelerator. More...
 
virtual void setKeySequence (const QKeySequence &sequence)
 Set the key sequence of the view component menu item. More...
 

Protected Attributes

DtLgrGuiModelmyGuiModel
 
DtLgrMediaStreamViewWidgetmyWidget
 
bool myActiveState
 
DtAbsoluteTime myLastUpdateTime
 
bool myIsVisible
 
- Protected Attributes inherited from MAKLogger::DtLgrGuiComponent
QWidgetmyContainer
 
QTimer * myTimer
 
QString myName
 
QIcon myIconSet
 
QKeySequence mySequence
 

Static Protected Attributes

static const int theRequestUpdateRate = 10
 

Additional Inherited Members

- Protected Member Functions inherited from MAKLogger::DtLgrGuiComponent
 DtLgrGuiComponent (QString name)
 

Detailed Description

The DtLgrMediaStreamView contains the media play in window view.

Constructor & Destructor Documentation

MAKLogger::DtLgrMediaStreamView::DtLgrMediaStreamView ( DtLgrGuiModel model)

CTOR.

virtual MAKLogger::DtLgrMediaStreamView::~DtLgrMediaStreamView ( )
virtual

DTOR.

Member Function Documentation

virtual void MAKLogger::DtLgrMediaStreamView::activate ( )
virtual

This method is called when the component is shown.

Implements MAKLogger::DtLgrGuiComponent.

virtual bool MAKLogger::DtLgrMediaStreamView::canCloseFile ( ) const
virtual

This method is called when the file is going to be closed.

Reimplemented from MAKLogger::DtLgrGuiComponent.

void MAKLogger::DtLgrMediaStreamView::clearView ( )

Clear the view of updates.

void MAKLogger::DtLgrMediaStreamView::closeView ( )
void MAKLogger::DtLgrMediaStreamView::connectionStatusChanged ( bool  connected)
slot
virtual void MAKLogger::DtLgrMediaStreamView::deactivate ( )
virtual

This method is called when the component is hidden.

Implements MAKLogger::DtLgrGuiComponent.

void MAKLogger::DtLgrMediaStreamView::fileOpenChanged ( QString  fileName)
slot
virtual QWidget* MAKLogger::DtLgrMediaStreamView::initialize ( QWidget parent)
virtual

This method is called after the GUI has been initialized.

Implements MAKLogger::DtLgrGuiComponent.

void MAKLogger::DtLgrMediaStreamView::playbackPausedChanged ( bool  isPaused)
slot
void MAKLogger::DtLgrMediaStreamView::playbackStateChanged ( bool  isPlaying)
slot
void MAKLogger::DtLgrMediaStreamView::startView ( )

Start the view updating.

void MAKLogger::DtLgrMediaStreamView::stopView ( )

Stop the view from updating.

virtual void MAKLogger::DtLgrMediaStreamView::update ( )
virtual

Called repeatedly by the host application in the GUI thread.

The time between calls is controlled by updateTime.

Implements MAKLogger::DtLgrGuiComponent.

virtual double MAKLogger::DtLgrMediaStreamView::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 DtLgrMediaStreamViewWidget* MAKLogger::DtLgrMediaStreamView::widget ( )
virtual
virtual MAKLogger::DtLgrZoomableWidget* MAKLogger::DtLgrMediaStreamView::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::DtLgrMediaStreamView::myActiveState
protected
DtLgrGuiModel* MAKLogger::DtLgrMediaStreamView::myGuiModel
protected
bool MAKLogger::DtLgrMediaStreamView::myIsVisible
protected
DtAbsoluteTime MAKLogger::DtLgrMediaStreamView::myLastUpdateTime
protected
DtLgrMediaStreamViewWidget* MAKLogger::DtLgrMediaStreamView::myWidget
protected
const int MAKLogger::DtLgrMediaStreamView::theRequestUpdateRate = 10
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)