UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::action::mode3d::component::View Class Reference

#include <ugdk/action/3D/component/view.h>

Inheritance diagram for ugdk::action::mode3d::component::View:
Collaboration diagram for ugdk::action::mode3d::component::View:

Public Member Functions

 View ()
 
virtual std::type_index type () const override
 
Ogre::Entity * AddEntity (const std::string &meshName)
 
Ogre::Entity * AddEntity (const std::string &entName, const std::string &meshName)
 
Ogre::Entity * AddEntity (Ogre::Entity *ent)
 
Ogre::Entity * GetEntity (int index)
 
Ogre::Entity * GetEntity (const std::string &entName)
 
- Public Member Functions inherited from ugdk::action::mode3d::Component
virtual ~Component ()
 
std::shared_ptr< Elementowner () const
 

Protected Member Functions

void OnTaken () override
 TODO: Make this not accessible from Object. More...
 
- Protected Member Functions inherited from ugdk::action::mode3d::Component
 Component ()
 
void Take (const std::weak_ptr< Element > &the_owner)
 

Protected Attributes

std::vector< std::pair
< std::string, std::string > > 
pending_entities_
 
std::vector< Ogre::Entity * > entities_
 

Constructor & Destructor Documentation

ugdk::action::mode3d::component::View::View ( )
inline

Member Function Documentation

Ogre::Entity* ugdk::action::mode3d::component::View::AddEntity ( const std::string &  meshName)
Ogre::Entity* ugdk::action::mode3d::component::View::AddEntity ( const std::string &  entName,
const std::string &  meshName 
)
Ogre::Entity* ugdk::action::mode3d::component::View::AddEntity ( Ogre::Entity *  ent)
Ogre::Entity* ugdk::action::mode3d::component::View::GetEntity ( int  index)
Ogre::Entity* ugdk::action::mode3d::component::View::GetEntity ( const std::string &  entName)
void ugdk::action::mode3d::component::View::OnTaken ( )
overrideprotectedvirtual

TODO: Make this not accessible from Object.

Implements ugdk::action::mode3d::Component.

std::type_index ugdk::action::mode3d::component::View::type ( ) const
inlineoverridevirtual

Member Data Documentation

std::vector<Ogre::Entity*> ugdk::action::mode3d::component::View::entities_
protected
std::vector<std::pair<std::string, std::string> > ugdk::action::mode3d::component::View::pending_entities_
protected

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