The view factory creates GUI widgets to visualize data on a topic.  
 More...
#include <gui/viewers/ViewFactory.hh>
The view factory creates GUI widgets to visualize data on a topic. 
  
  | 
        
          | static void gazebo::gui::ViewFactory::GetViewTypes | ( | std::vector< std::string > & | _types | ) |  |  | static | 
 
Get all the view types. 
- Parameters
- 
  
    | _types | Vector of strings of the view types. |  
 
 
 
  
  | 
        
          | static TopicView* gazebo::gui::ViewFactory::NewView | ( | const std::string & | _msgType, |  
          |  |  | const std::string & | _topicName, |  
          |  |  | QWidget * | _parent = NULL |  
          |  | ) |  |  |  | static | 
 
Create a new instance of a view. 
- Parameters
- 
  
    | [in] | _msgType | Type of message to view. |  | [in] | _topicName | Name of the topic to get data from. |  | [in] | _parent | Parent QWidget. |  
 
- Returns
- Pointer to the new topic viewer. 
 
 
  
  | 
        
          | static void gazebo::gui::ViewFactory::RegisterAll | ( |  | ) |  |  | static | 
 
Register all known views. 
 
 
  
  | 
        
          | static void gazebo::gui::ViewFactory::RegisterView | ( | const std::string & | _className, |  
          |  |  | ViewFactoryFn | _factoryfn |  
          |  | ) |  |  |  | static | 
 
Register a view class (called by view registration function). 
- Parameters
- 
  
    | [in] | _className | Name of class of view to register. |  | [in] | _factoryfn | Function handle for registration. |  
 
 
 
The documentation for this class was generated from the following file: