Public Slots | Public Member Functions | Public Attributes | List of all members
gazebo::gui::ViewState Class Reference

A class for managing view visualization states. More...

#include <ModelRightMenu.hh>

Inheritance diagram for gazebo::gui::ViewState:
Inheritance graph
[legend]

Public Slots

void Callback ()
 QT callback for the QAction. More...
 

Public Member Functions

 ViewState (ModelRightMenu *_parent, const std::string &_checkRequest, const std::string &_uncheckRequest)
 Constructor. More...
 

Public Attributes

QAction * action
 Action for this view. More...
 
std::string checkRequest
 Name of the request to send when checked. More...
 
bool globalEnable
 True if the view visualization is enabled globally. More...
 
std::map< std::string, bool > modelStates
 State of all the models for this view. More...
 
ModelRightMenuparent
 Pointer to the ModelRightMenu. More...
 
std::string uncheckRequest
 Name of the request to send when unchecked. More...
 

Detailed Description

A class for managing view visualization states.

Used by ModelRightMenu.

Constructor & Destructor Documentation

gazebo::gui::ViewState::ViewState ( ModelRightMenu _parent,
const std::string &  _checkRequest,
const std::string &  _uncheckRequest 
)

Constructor.

Parameters
[in]_parentPointer to the MOdelRightMenu
[in]_checkRequestName of the request to send when checked.
[in]_uncheckRequestName of the request to send when unchecked.

Member Function Documentation

void gazebo::gui::ViewState::Callback ( )
slot

QT callback for the QAction.

Member Data Documentation

QAction* gazebo::gui::ViewState::action

Action for this view.

std::string gazebo::gui::ViewState::checkRequest

Name of the request to send when checked.

bool gazebo::gui::ViewState::globalEnable

True if the view visualization is enabled globally.

std::map<std::string, bool> gazebo::gui::ViewState::modelStates

State of all the models for this view.

ModelRightMenu* gazebo::gui::ViewState::parent

Pointer to the ModelRightMenu.

std::string gazebo::gui::ViewState::uncheckRequest

Name of the request to send when unchecked.


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