|
Castor3D
..
|
Inheritance diagram for Castor3D::SceneNodeManager:
Collaboration diagram for Castor3D::SceneNodeManager:Public Member Functions | |
| SceneNodeManager (Scene &p_owner, SceneNodeSPtr p_rootNode, SceneNodeSPtr p_rootCameraNode, SceneNodeSPtr p_rootObjectNode) | |
| Constructor. More... | |
| ~SceneNodeManager () | |
| Destructor. More... | |
| template<typename ... Parameters> | |
| std::shared_ptr< SceneNode > | Create (Castor::String const &p_name, SceneNodeSPtr p_parent=nullptr, Parameters &&... p_params) |
| Creates an object from a name. More... | |
Public Member Functions inherited from Castor3D::ObjectManager< Castor::String, SceneNode > | |
| Engine * | GetEngine () const |
| void | Cleanup () |
| Sets all the elements to be cleaned up. More... | |
| void | Remove (Castor::String const &p_name) |
| Removes an object, given a name. More... | |
| void | MergeInto (ObjectManager< Castor::String, SceneNode > &p_destination) |
| std::shared_ptr< SceneNode > | Create (Castor::String const &p_name, SceneNodeSPtr p_parent=nullptr, Parameters &&... p_params) |
| Creates an object. More... | |
| uint32_t | GetObjectCount () const |
Public Member Functions inherited from Castor3D::Manager< Castor::String, SceneNode, Scene, ObjectManagerEngineGetter > | |
| void | Cleanup () |
| Sets all the elements to be cleaned up. More... | |
| void | Clear () |
| Flushes the collection. More... | |
| bool | IsEmpty () |
| void | Insert (Castor::String const &p_name, std::shared_ptr< SceneNode > p_element) |
| Removes an object, given a name. More... | |
| void | Remove (Castor::String const &p_name) |
| Removes an object, given a name. More... | |
| void | SetRenderSystem (RenderSystem *p_renderSystem) |
| RenderSystem * | SetRenderSystem () const |
| Engine * | GetEngine () const |
| Castor::String const & | GetObjectTypeName () const |
| bool | Has (Castor::String const &p_name) const |
| std::shared_ptr< SceneNode > | Find (Castor::String const &p_name) const |
| Looks for an element with given name. More... | |
| void | lock () const |
| Locks the collection mutex. More... | |
| void | unlock () const |
| Unlocks the collection mutex. More... | |
| Collection::TObjPtrMapIt | begin () |
| Returns an iterator to the first element of the collection. More... | |
| Collection::TObjPtrMapConstIt | begin () const |
| Returns an constant iterator to the first element of the collection. More... | |
| Collection::TObjPtrMapIt | end () |
| Returns an iterator to the after last element of the collection. More... | |
| Collection::TObjPtrMapConstIt | end () const |
| Returns an constant iterator to the after last element of the collection. More... | |
| std::shared_ptr< SceneNode > | Create (Castor::String const &p_name, Parameters &&... p_params) |
| Creates an object. More... | |
Additional Inherited Members | |
Public Types inherited from Castor3D::Manager< Castor::String, SceneNode, Scene, ObjectManagerEngineGetter > | |
| typedef Castor::Collection< SceneNode, Castor::String > | Collection |
Protected Member Functions inherited from Castor3D::ObjectManager< Castor::String, SceneNode > | |
| ObjectManager (Scene &p_owner, SceneNodeSPtr p_rootNode, SceneNodeSPtr p_rootCameraNode, SceneNodeSPtr p_rootObjectNode) | |
| Constructor. More... | |
| ~ObjectManager () | |
| Destructor. More... | |
Protected Member Functions inherited from Castor3D::Manager< Castor::String, SceneNode, Scene, ObjectManagerEngineGetter > | |
| Manager (Scene &p_owner) | |
| Constructor. More... | |
| ~Manager () | |
| Destructor. More... | |
Protected Attributes inherited from Castor3D::ObjectManager< Castor::String, SceneNode > | |
| SceneNodeWPtr | m_rootNode |
| The root node. More... | |
| SceneNodeWPtr | m_rootCameraNode |
| The root node used only for cameras (used to ease the use of cameras) More... | |
| SceneNodeWPtr | m_rootObjectNode |
| The root node for every object other than camera (used to ease the use of cameras) More... | |
Protected Attributes inherited from Castor3D::Manager< Castor::String, SceneNode, Scene, ObjectManagerEngineGetter > | |
| RenderSystem * | m_renderSystem |
| The RenderSystem. More... | |
| Collection | m_elements |
| The elements collection. More... | |
|
inline |
Constructor.
| [in] | p_owner | The owner. |
| [in] | p_rootNode | The root node. |
| [in] | p_rootCameraNode | The cameras root node. |
| [in] | p_rootObjectNode | The objects root node. |
|
inline |
Destructor.
|
inline |
Creates an object from a name.
| [in] | p_name | The object name. |
| [in] | p_parent | The parent scene node. |
| [in] | p_params | The other constructor parameters. |
References Castor3D::Manager< Castor::String, SceneNode, Scene, ObjectManagerEngineGetter >::GetObjectTypeName(), Castor3D::INFO_MANAGER_CREATED_OBJECT, Castor3D::Manager< Castor::String, SceneNode, Scene, ObjectManagerEngineGetter >::m_elements, Castor3D::ObjectManager< Castor::String, SceneNode >::m_rootCameraNode, Castor3D::ObjectManager< Castor::String, SceneNode >::m_rootNode, Castor3D::ObjectManager< Castor::String, SceneNode >::m_rootObjectNode, and Castor3D::WARNING_MANAGER_DUPLICATE_OBJECT.
Here is the call graph for this function:
1.8.15