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

#include <Menu.h>

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

Public Member Functions

 MenuRoot ()
 
virtual std::string toXMLString ()
 
virtual std::string getName ()
 
virtual std::string getCaption ()
 
void addAttribute (const std::string &name, double value)
 
bool removeAttribute (const std::string &name)
 
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::map< std::string, double > _attributes
 
- Protected Attributes inherited from vreckoUtils::MenuBase
std::vector< osg::ref_ptr
< IMenuComponent > > 
_items
 

Constructor & Destructor Documentation

vreckoUtils::MenuRoot::MenuRoot ( )
inline

Member Function Documentation

void MenuRoot::accept ( MenuVisitor visitor)
virtual
void vreckoUtils::MenuRoot::addAttribute ( const std::string &  name,
double  value 
)
inline
virtual std::string vreckoUtils::MenuRoot::getCaption ( )
inlinevirtual
virtual std::string vreckoUtils::MenuRoot::getName ( void  )
inlinevirtual
bool vreckoUtils::MenuRoot::removeAttribute ( const std::string &  name)
inline
std::string MenuRoot::toXMLString ( )
virtual

Member Data Documentation

std::map<std::string, double> vreckoUtils::MenuRoot::_attributes
protected

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