![]() |
An open-source, flexible 3D physical simulation framework
|
#include <DataWidget.h>
Public Member Functions | |
DataWidget (MainDataGui *mainLib, lib_manager::LibManager *libManager, mars::data_broker::DataBrokerInterface *_dataBroker, mars::cfg_manager::CFGManagerInterface *cfg, QWidget *parent=0) | |
~DataWidget () | |
void | addParam (const mars::data_broker::DataInfo _info) |
virtual void | valueChanged (QtProperty *property, const QVariant &value) |
Called every time a property has changed its value. More... | |
void | receiveData (const mars::data_broker::DataInfo &info, const mars::data_broker::DataPackage &data_package, int callbackParam) |
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur. More... | |
![]() | |
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 () |
![]() | |
CFGClient () | |
virtual | ~CFGClient () |
virtual void | cfgParamCreated (cfgParamId _id) |
virtual void | cfgParamRemoved (cfgParamId _id) |
![]() | |
ReceiverInterface () | |
virtual | ~ReceiverInterface () |
![]() | |
virtual | ~PropertyCallback () |
Destructor. 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::PropertyDialog * | pDialog |
Protected Slots | |
void | timerEvent (QTimerEvent *event) |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
![]() | |
void | changeEvent (QEvent *ev) |
void | cfgWindow (void) |
void | applyGeometry () |
void | hideEvent (QHideEvent *event) |
void | closeEvent (QCloseEvent *event) |
Private Attributes | |
MainDataGui * | mainLib |
lib_manager::LibManager * | libManager |
mars::data_broker::DataBrokerInterface * | dataBroker |
QtProperty * | showAllProperty |
bool | showAll |
QMutex | addMutex |
QMutex | listMutex |
QMutex | changeMutex |
set< unsigned long > | changeList |
map< unsigned long, paramWrapper > | addList |
map< unsigned long, paramWrapper > | paramList |
map< QtVariantProperty *, paramWrapper * > | guiToWrapper |
bool | ignore_change |
Additional Inherited Members | |
![]() | |
void | hideSignal (void) |
void | closeSignal (void) |
![]() | |
cfg_manager::CFGManagerInterface * | cfg |
bool | setWindowProp |
bool | hiddenState |
Definition at line 65 of file DataWidget.h.
mars::data_broker_gui::DataWidget::DataWidget | ( | MainDataGui * | mainLib, |
lib_manager::LibManager * | libManager, | ||
mars::data_broker::DataBrokerInterface * | _dataBroker, | ||
mars::cfg_manager::CFGManagerInterface * | cfg, | ||
QWidget * | parent = 0 |
||
) |
Definition at line 40 of file DataWidget.cpp.
mars::data_broker_gui::DataWidget::~DataWidget | ( | void | ) |
Definition at line 83 of file DataWidget.cpp.
void mars::data_broker_gui::DataWidget::addParam | ( | const mars::data_broker::DataInfo | _info | ) |
Definition at line 90 of file DataWidget.cpp.
|
protected |
Definition at line 376 of file DataWidget.cpp.
|
virtual |
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur.
info | Information about the DataPackage. |
dataPackage | The DataPackage containing all the data. |
callbackParam | The int the receiver passed during registration. The default (the receiver didn't provide a callbackParam) is 0. This can be used to easily distinguish different registrations. |
Implements mars::data_broker::ReceiverInterface.
Definition at line 100 of file DataWidget.cpp.
|
protectedslot |
Definition at line 130 of file DataWidget.cpp.
|
virtual |
Called every time a property has changed its value.
property | The property with a new value. |
value | The new value. |
Reimplemented from mars::main_gui::PropertyCallback.
Definition at line 262 of file DataWidget.cpp.
|
private |
Definition at line 101 of file DataWidget.h.
|
private |
Definition at line 96 of file DataWidget.h.
|
private |
Definition at line 100 of file DataWidget.h.
|
private |
Definition at line 98 of file DataWidget.h.
|
private |
Definition at line 93 of file DataWidget.h.
|
private |
Definition at line 104 of file DataWidget.h.
|
private |
Definition at line 105 of file DataWidget.h.
|
private |
Definition at line 92 of file DataWidget.h.
|
private |
Definition at line 97 of file DataWidget.h.
|
private |
Definition at line 91 of file DataWidget.h.
|
private |
Definition at line 102 of file DataWidget.h.
main_gui::PropertyDialog* mars::data_broker_gui::DataWidget::pDialog |
Definition at line 80 of file DataWidget.h.
|
private |
Definition at line 95 of file DataWidget.h.
|
private |
Definition at line 94 of file DataWidget.h.