Privacy
An open-source, flexible 3D physical simulation framework
mars::gui::CaptureWindow Class Reference

#include <CaptureWindow.h>

Public Member Functions

 CaptureWindow (interfaces::ControlCenter *c, main_gui::GuiInterface *gui)
 
 ~CaptureWindow ()
 
virtual void menuAction (int action, bool checked=false)
 Called whenever a menu item is selected. More...
 
virtual void preGraphicsUpdate (void)
 

Protected Slots

void closeWidget (void)
 
void timerEvent (QTimerEvent *event)
 

Private Attributes

interfaces::ControlCentercontrol
 
main_gui::GuiInterfacemainGui
 
CaptureGUImyWidget
 
std::vector< CaptureConfig * > cameras
 
QMutex myMutex
 
bool init
 

Additional Inherited Members

- Private Member Functions inherited from mars::main_gui::MenuInterface
virtual ~MenuInterface ()
 
- Private Member Functions inherited from mars::interfaces::GraphicsUpdateInterface
 GraphicsUpdateInterface (void)
 
virtual ~GraphicsUpdateInterface (void)
 
virtual void postGraphicsUpdate (void)
 

Detailed Description

Definition at line 49 of file CaptureWindow.h.

Constructor & Destructor Documentation

◆ CaptureWindow()

mars::gui::CaptureWindow::CaptureWindow ( interfaces::ControlCenter c,
main_gui::GuiInterface gui 
)

Definition at line 36 of file CaptureWindow.cpp.

◆ ~CaptureWindow()

mars::gui::CaptureWindow::~CaptureWindow ( )

Definition at line 48 of file CaptureWindow.cpp.

Member Function Documentation

◆ closeWidget

void mars::gui::CaptureWindow::closeWidget ( void  )
protectedslot

Definition at line 75 of file CaptureWindow.cpp.

◆ menuAction()

void mars::gui::CaptureWindow::menuAction ( int  action,
bool  checked = false 
)
virtual

Called whenever a menu item is selected.

Parameters
actionThe action that is passed to the GuiInterface via addGenericMenuAction function.
checkedIndicates if the menu/menu item is checked or not.

Implements mars::main_gui::MenuInterface.

Definition at line 52 of file CaptureWindow.cpp.

◆ preGraphicsUpdate()

void mars::gui::CaptureWindow::preGraphicsUpdate ( void  )
virtual

Reimplemented from mars::interfaces::GraphicsUpdateInterface.

Definition at line 153 of file CaptureWindow.cpp.

◆ timerEvent

void mars::gui::CaptureWindow::timerEvent ( QTimerEvent *  event)
protectedslot

Definition at line 83 of file CaptureWindow.cpp.

Member Data Documentation

◆ cameras

std::vector<CaptureConfig*> mars::gui::CaptureWindow::cameras
private

Definition at line 64 of file CaptureWindow.h.

◆ control

interfaces::ControlCenter* mars::gui::CaptureWindow::control
private

Definition at line 61 of file CaptureWindow.h.

◆ init

bool mars::gui::CaptureWindow::init
private

Definition at line 67 of file CaptureWindow.h.

◆ mainGui

main_gui::GuiInterface* mars::gui::CaptureWindow::mainGui
private

Definition at line 62 of file CaptureWindow.h.

◆ myMutex

QMutex mars::gui::CaptureWindow::myMutex
private

Definition at line 65 of file CaptureWindow.h.

◆ myWidget

CaptureGUI* mars::gui::CaptureWindow::myWidget
private

Definition at line 63 of file CaptureWindow.h.


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