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:
GAZEBO_VISIBLE TopicView *New##classname(QWidget *_parent) \
{ \
return new gazebo::gui::classname(_parent); \
} \
GAZEBO_VISIBLE \
void Register##classname() \
{\
ViewFactory::RegisterView(msgtype, New##classname);\
}
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48

Static view registration macro.

Use this macro to register views.

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