Class for object factory. More...
#include <Object.hpp>
 Collaboration diagram for ven::ObjectFactory:Public Member Functions | |
| ObjectFactory ()=delete | |
| ~ObjectFactory ()=default | |
| ObjectFactory (const ObjectFactory &)=delete | |
| ObjectFactory & | operator= (const ObjectFactory &)=delete | 
| ObjectFactory (ObjectFactory &&)=delete | |
| ObjectFactory & | operator= (ObjectFactory &&)=delete | 
Static Public Member Functions | |
| static std::unique_ptr< Object > | create (const std::shared_ptr< Texture > &texture, const std::shared_ptr< Model > &model, const std::string &name, const Transform3D &transform) | 
| static std::unique_ptr< Object > | duplicate (const Object &objSrc) | 
Static Private Attributes | |
| static unsigned int | m_currentObjId = 0 | 
Class for object factory.
Definition at line 18 of file Object.hpp.
      
  | 
  delete | 
      
  | 
  default | 
      
  | 
  delete | 
      
  | 
  delete | 
      
  | 
  static | 
Definition at line 5 of file Object.cpp.
References m_currentObjId, and ven::MAX_OBJECTS.
Referenced by duplicate(), and ven::Engine::loadObjects().
 Here is the caller graph for this function:
      
  | 
  inlinestatic | 
Definition at line 31 of file Object.hpp.
References create(), ven::Object::getDiffuseMap(), ven::Object::getModel(), ven::Object::getName(), and ven::Object::transform.
Referenced by ven::Gui::objectsSection().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  delete | 
      
  | 
  delete | 
      
  | 
  staticprivate | 
Definition at line 35 of file Object.hpp.
Referenced by create().