Classes | Macros
Gazebo_views

Classes

class  gazebo::gui::ViewFactory
 The view factory creates GUI widgets to visualize data on a topic. More...
 

Macros

#define GZ_REGISTER_STATIC_VIEWER(msgtype, classname)
 Static view registration macro. More...
 

Detailed Description

Macro Definition Documentation

#define GZ_REGISTER_STATIC_VIEWER (   msgtype,
  classname 
)
Value:
GZ_GUI_VISIBLE TopicView *New##classname(QWidget *_parent) \
{ \
return new gazebo::gui::classname(_parent); \
} \
GZ_GUI_VISIBLE \
void Register##classname() \
{\
ViewFactory::RegisterView(msgtype, New##classname);\
}
#define GZ_GUI_VISIBLE
Definition: system.hh:284

Static view registration macro.

Use this macro to register views.

Parameters
[in]msgtypeType of message to visualize.
[in]classnameC++ class name for the view.