vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vreckoUtils::Menu Class Reference

#include <Menu.h>

Inheritance diagram for vreckoUtils::Menu:
vreckoUtils::MenuBase vreckoUtils::IMenuComponent

Public Member Functions

 Menu (string name="", string caption="")
 
virtual std::string toXMLString ()
 
virtual std::string getName ()
 
virtual std::string getCaption ()
 
virtual void accept (MenuVisitor &visitor)
 
- Public Member Functions inherited from vreckoUtils::MenuBase
void addChild (osg::ref_ptr< IMenuComponent > menuComponent)
 
void removeChild (int index)
 
IMenuComponentgetChild (u_int index)
 
- Public Member Functions inherited from vreckoUtils::IMenuComponent
virtual ~IMenuComponent ()
 

Protected Attributes

std::string _menuName
 
std::string _menuCaption
 
- Protected Attributes inherited from vreckoUtils::MenuBase
std::vector< osg::ref_ptr
< IMenuComponent > > 
_items
 

Constructor & Destructor Documentation

vreckoUtils::Menu::Menu ( string  name = "",
string  caption = "" 
)
inline

Member Function Documentation

void Menu::accept ( MenuVisitor visitor)
virtual
virtual std::string vreckoUtils::Menu::getCaption ( )
inlinevirtual
virtual std::string vreckoUtils::Menu::getName ( void  )
inlinevirtual
std::string Menu::toXMLString ( )
virtual

Member Data Documentation

std::string vreckoUtils::Menu::_menuCaption
protected
std::string vreckoUtils::Menu::_menuName
protected

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