2 #ifndef _YI_NODE_ADAPTER_H_ 3 #define _YI_NODE_ADAPTER_H_ 81 void SetProperties(
const std::map<CYIString, IYIPropertiesSource *> &properties);
97 virtual void ReleaseNode(uint32_t uIndex, std::unique_ptr<CYISceneNode> pNode) = 0;
119 std::map<CYIString, IYIPropertiesSource *> m_properties;
128 #endif // _YI_NODE_ADAPTER_H_
Scene trees composed of CYISceneNode objects are registered with the scene manager in order for them ...
Definition: YiSceneManager.h:73
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
virtual void ReleaseNode(uint32_t uIndex, std::unique_ptr< CYISceneNode > pNode)=0
CYISignal< uint32_t > ItemAddedAtIndex
Definition: YiNodeAdapter.h:104
virtual glm::vec3 GetInitialNodeSize(uint32_t uIndex) const =0
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
The base class for an object accessible from script source code.
Definition: YiScriptableObject.h:28
void SetProperties(const std::map< CYIString, IYIPropertiesSource * > &properties)
virtual uint32_t GetItemsCount() const =0
Provides an interface for supplying and reclaiming nodes to and from CYIStreamer. ...
Definition: YiNodeAdapter.h:31
A scene node is the base type for all nodes which are used by the scene manager; it is an integral pa...
Definition: YiSceneNode.h:114
An interface to a class that provides key-value properties.
Definition: YiPropertiesSource.h:17
CYISignal< uint32_t, uint32_t > ItemMoved
Definition: YiNodeAdapter.h:116
This file contains the classes and macros used to implement RTTI in You.i Engine. ...
virtual std::unique_ptr< CYISceneNode > BuildNode(uint32_t uIndex, CYISceneManager *pSceneManager)=0
Signals and slots are a thread-safe and flexible communication framework that will allow various obje...
Definition: YiSignal.h:164
virtual void ConfigureProperties(uint32_t uIndex, CYISceneNode *pNode) const
CYISignal< uint32_t > ItemRemovedAtIndex
Definition: YiNodeAdapter.h:109
virtual ~CYINodeAdapter()
IYIPropertiesSource * GetProperties(const CYIString &viewTemplateName) const