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

#include <Menu.h>

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

Public Member Functions

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

Protected Attributes

std::vector< osg::ref_ptr
< IMenuComponent > > 
_items
 

Member Function Documentation

void vreckoUtils::MenuBase::addChild ( osg::ref_ptr< IMenuComponent menuComponent)
inline
IMenuComponent* vreckoUtils::MenuBase::getChild ( u_int  index)
inline
void vreckoUtils::MenuBase::removeChild ( int  index)
inline

Member Data Documentation

std::vector<osg::ref_ptr<IMenuComponent> > vreckoUtils::MenuBase::_items
protected

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