MIRA
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
TapePlayerWidget Class Reference

#include <fw/TapePlayerWidget.h>

Inheritance diagram for TapePlayerWidget:
Inheritance graph
[legend]

Public Slots

void open ()
 
void stop ()
 
void play ()
 
void step ()
 
void check ()
 
void startJump ()
 
void autoStep ()
 
void pause (bool pause)
 
void moveJump (int time)
 
void jump ()
 
void jumpToTime (Duration time)
 
void setSpeed (int speed)
 
void stepToChanged (bool state)
 
void autoStepToChanged (bool state)
 
void loopChanged (bool state)
 
void pauseControlChanged (bool state)
 
void selectChannels ()
 

Signals

void onOpen (const QStringList &files, bool useOriginalTimestamp, const QString &namespacePrefix)
 
void onStop ()
 
void onAutoStep ()
 
void onPauseControl (bool pause)
 

Public Member Functions

 TapePlayerWidget (QWidget *parent)
 
void setupUi ()
 
void openTapes (const QStringList &tapeFiles, boost::optional< std::vector< std::string >> channelsToPlay=boost::optional< std::vector< std::string >>())
 
void closeTapes ()
 

Public Attributes

boost::shared_ptr< TapePlayerplayer
 
TapeVisitor visitor
 
std::map< QString, Tape * > tapes
 
QSlider * slider
 
QLabel * info
 
QToolButton * btOpen
 
QToolButton * btStop
 
QToolButton * btPlay
 
QToolButton * btStep
 
QToolButton * cbLoop
 
QToolButton * btChannels
 
QAction * actStep
 
QAction * actAutoStep
 
QAction * actPauseControl
 
QMenu * loopMenu
 
std::vector< QAction * > actLoopCount
 
int32 loopCount
 
QLabel * lblSpeed
 
QSlider * speed
 
QTimer checkTimer
 
QStringList lastTapes
 
boost::optional< std::vector< std::string > > lastChannelsToPlay
 
std::string mStepToChannel
 
std::string mAutoStepChannel
 
std::string mPauseControlChannel
 
bool useOriginalTimestamp
 
std::string namespacePrefix
 
Time lastTime
 

Protected Member Functions

int32 getLoopCount () const
 
void onAutoStep (ChannelRead< void > data)
 
void onPauseControl (ChannelRead< bool > data)
 

Constructor & Destructor Documentation

◆ TapePlayerWidget()

TapePlayerWidget ( QWidget *  parent)

Member Function Documentation

◆ setupUi()

void setupUi ( )

◆ openTapes()

void openTapes ( const QStringList &  tapeFiles,
boost::optional< std::vector< std::string >>  channelsToPlay = boost::optional< std::vector< std::string >>() 
)

◆ closeTapes()

void closeTapes ( )

◆ open

void open ( )
slot

◆ stop

void stop ( )
slot

◆ play

void play ( )
slot

◆ step

void step ( )
slot

◆ check

void check ( )
slot

◆ startJump

void startJump ( )
slot

◆ autoStep

void autoStep ( )
slot

◆ pause

void pause ( bool  pause)
slot

◆ moveJump

void moveJump ( int  time)
slot

◆ jump

void jump ( )
slot

◆ jumpToTime

void jumpToTime ( Duration  time)
slot

◆ setSpeed

void setSpeed ( int  speed)
slot

◆ stepToChanged

void stepToChanged ( bool  state)
slot

◆ autoStepToChanged

void autoStepToChanged ( bool  state)
slot

◆ loopChanged

void loopChanged ( bool  state)
slot

◆ pauseControlChanged

void pauseControlChanged ( bool  state)
slot

◆ selectChannels

void selectChannels ( )
slot

◆ onOpen

void onOpen ( const QStringList &  files,
bool  useOriginalTimestamp,
const QString &  namespacePrefix 
)
signal

◆ onStop

void onStop ( )
signal

◆ onAutoStep [1/2]

void onAutoStep ( )
signal

◆ onPauseControl [1/2]

void onPauseControl ( bool  pause)
signal

◆ getLoopCount()

int32 getLoopCount ( ) const
protected

◆ onAutoStep() [2/2]

void onAutoStep ( ChannelRead< void >  data)
protected

◆ onPauseControl() [2/2]

void onPauseControl ( ChannelRead< bool >  data)
protected

Member Data Documentation

◆ player

boost::shared_ptr<TapePlayer> player

◆ visitor

TapeVisitor visitor

◆ tapes

std::map<QString, Tape*> tapes

◆ slider

QSlider* slider

◆ info

QLabel* info

◆ btOpen

QToolButton* btOpen

◆ btStop

QToolButton* btStop

◆ btPlay

QToolButton* btPlay

◆ btStep

QToolButton* btStep

◆ cbLoop

QToolButton* cbLoop

◆ btChannels

QToolButton* btChannels

◆ actStep

QAction* actStep

◆ actAutoStep

QAction* actAutoStep

◆ actPauseControl

QAction* actPauseControl

◆ loopMenu

QMenu* loopMenu

◆ actLoopCount

std::vector<QAction*> actLoopCount

◆ loopCount

int32 loopCount

◆ lblSpeed

QLabel* lblSpeed

◆ speed

QSlider* speed

◆ checkTimer

QTimer checkTimer

◆ lastTapes

QStringList lastTapes

◆ lastChannelsToPlay

boost::optional<std::vector<std::string> > lastChannelsToPlay

◆ mStepToChannel

std::string mStepToChannel

◆ mAutoStepChannel

std::string mAutoStepChannel

◆ mPauseControlChannel

std::string mPauseControlChannel

◆ useOriginalTimestamp

bool useOriginalTimestamp

◆ namespacePrefix

std::string namespacePrefix

◆ lastTime

Time lastTime

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