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

#include <ControllerConfigGUI.h>

Classes

struct  ControllerElem
 

Public Slots

void disconnectController (void)
 
void connectController (void)
 
void setControllerIP (void)
 
void setControllerPort (void)
 
void toggleControllerAutoMode (bool checked)
 

Signals

void closeSignal (void *widget)
 
- Signals inherited from mars::main_gui::BaseWidget
void hideSignal (void)
 
void closeSignal (void)
 

Public Member Functions

 ControllerConfigGUI (interfaces::ControlCenter *c, main_gui::GuiInterface *gui)
 
 ~ControllerConfigGUI ()
 
- Public Member Functions inherited from mars::main_gui::BaseWidget
 BaseWidget (QWidget *parent, cfg_manager::CFGManagerInterface *_cfg, std::string _widgetName)
 
 ~BaseWidget ()
 
virtual void cfgUpdateProperty (cfg_manager::cfgPropertyStruct _property)
 
void setHiddenCloseState (bool v)
 
bool getHiddenCloseState ()
 
void show ()
 
void hide ()
 
bool isHidden ()
 
void saveState ()
 
const std::string & getName ()
 
- Public Member Functions inherited from mars::cfg_manager::CFGClient
 CFGClient ()
 
virtual ~CFGClient ()
 
virtual void cfgParamCreated (cfgParamId _id)
 
virtual void cfgParamRemoved (cfgParamId _id)
 
- Public Member Functions inherited from mars::main_gui::PropertyCallback
virtual ~PropertyCallback ()
 Destructor. More...
 
virtual void valueChanged (QtProperty *property, const QVariant &value)
 Called every time a property has changed its value. More...
 
virtual void topLevelItemChanged (QtProperty *current)
 Called every time another branch of a QtTreePropertyBrowser has been selected. More...
 
virtual void accept ()
 Associated with the OK button of the Property Dialog. More...
 
virtual void reject ()
 Associated with the Cancel button of the Property Dialog. More...
 

Public Attributes

main_gui::PropertyDialogpDialog
 

Protected Slots

virtual void valueChanged (QtProperty *property, const QVariant &value)
 
void timerEvent (QTimerEvent *event)
 

Private Member Functions

void updateGUI (void)
 
void closeEvent (QCloseEvent *event)
 

Private Attributes

main_gui::GuiInterfacemainGui
 
ControllerElemcontrollerElem
 
interfaces::ControlCentercontrol
 
unsigned long frame
 
bool take_events
 
bool filled
 
QtVariantProperty * controllerIDCombo
 
QtVariantProperty * autoModeCheck
 
QtVariantProperty * state
 
QtVariantProperty * ip_edit
 
QtVariantProperty * port_edit
 
std::vector< ControllerElem * > controllers
 

Additional Inherited Members

- Protected Member Functions inherited from mars::main_gui::BaseWidget
void changeEvent (QEvent *ev)
 
void cfgWindow (void)
 
void applyGeometry ()
 
void hideEvent (QHideEvent *event)
 
void closeEvent (QCloseEvent *event)
 
- Protected Attributes inherited from mars::main_gui::BaseWidget
cfg_manager::CFGManagerInterfacecfg
 
bool setWindowProp
 
bool hiddenState
 

Detailed Description

Definition at line 46 of file ControllerConfigGUI.h.

Constructor & Destructor Documentation

◆ ControllerConfigGUI()

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

Definition at line 32 of file ControllerConfigGUI.cpp.

◆ ~ControllerConfigGUI()

mars::gui::ControllerConfigGUI::~ControllerConfigGUI ( void  )

Definition at line 78 of file ControllerConfigGUI.cpp.

Member Function Documentation

◆ closeEvent()

void mars::gui::ControllerConfigGUI::closeEvent ( QCloseEvent *  event)
private

Definition at line 219 of file ControllerConfigGUI.cpp.

◆ closeSignal

void mars::gui::ControllerConfigGUI::closeSignal ( void *  widget)
signal

◆ connectController

void mars::gui::ControllerConfigGUI::connectController ( void  )
slot

Definition at line 124 of file ControllerConfigGUI.cpp.

◆ disconnectController

void mars::gui::ControllerConfigGUI::disconnectController ( void  )
slot

Definition at line 135 of file ControllerConfigGUI.cpp.

◆ setControllerIP

void mars::gui::ControllerConfigGUI::setControllerIP ( void  )
slot

Definition at line 103 of file ControllerConfigGUI.cpp.

◆ setControllerPort

void mars::gui::ControllerConfigGUI::setControllerPort ( void  )
slot

Definition at line 114 of file ControllerConfigGUI.cpp.

◆ timerEvent

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

Definition at line 146 of file ControllerConfigGUI.cpp.

◆ toggleControllerAutoMode

void mars::gui::ControllerConfigGUI::toggleControllerAutoMode ( bool  checked)
slot

Definition at line 94 of file ControllerConfigGUI.cpp.

◆ updateGUI()

void mars::gui::ControllerConfigGUI::updateGUI ( void  )
private

Definition at line 203 of file ControllerConfigGUI.cpp.

◆ valueChanged

void mars::gui::ControllerConfigGUI::valueChanged ( QtProperty *  property,
const QVariant &  value 
)
protectedvirtualslot

Definition at line 82 of file ControllerConfigGUI.cpp.

Member Data Documentation

◆ autoModeCheck

QtVariantProperty* mars::gui::ControllerConfigGUI::autoModeCheck
private

Definition at line 81 of file ControllerConfigGUI.h.

◆ control

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

Definition at line 76 of file ControllerConfigGUI.h.

◆ controllerElem

ControllerElem* mars::gui::ControllerConfigGUI::controllerElem
private

Definition at line 75 of file ControllerConfigGUI.h.

◆ controllerIDCombo

QtVariantProperty* mars::gui::ControllerConfigGUI::controllerIDCombo
private

Definition at line 80 of file ControllerConfigGUI.h.

◆ controllers

std::vector<ControllerElem*> mars::gui::ControllerConfigGUI::controllers
private

Definition at line 84 of file ControllerConfigGUI.h.

◆ filled

bool mars::gui::ControllerConfigGUI::filled
private

Definition at line 78 of file ControllerConfigGUI.h.

◆ frame

unsigned long mars::gui::ControllerConfigGUI::frame
private

Definition at line 77 of file ControllerConfigGUI.h.

◆ ip_edit

QtVariantProperty* mars::gui::ControllerConfigGUI::ip_edit
private

Definition at line 82 of file ControllerConfigGUI.h.

◆ mainGui

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

Definition at line 67 of file ControllerConfigGUI.h.

◆ pDialog

main_gui::PropertyDialog* mars::gui::ControllerConfigGUI::pDialog

Definition at line 54 of file ControllerConfigGUI.h.

◆ port_edit

QtVariantProperty * mars::gui::ControllerConfigGUI::port_edit
private

Definition at line 82 of file ControllerConfigGUI.h.

◆ state

QtVariantProperty * mars::gui::ControllerConfigGUI::state
private

Definition at line 81 of file ControllerConfigGUI.h.

◆ take_events

bool mars::gui::ControllerConfigGUI::take_events
private

Definition at line 78 of file ControllerConfigGUI.h.


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