MyGUI 3.4.1
Public Types | Public Member Functions | Static Public Member Functions
MyGUI::SharedLayerNode Class Reference

#include <MyGUI_SharedLayerNode.h>

Inheritance diagram for MyGUI::SharedLayerNode:
Inheritance graph
[legend]

Public Types

typedef RTTIBase Base
 
typedef SharedLayerNode RTTIBase
 
- Public Types inherited from MyGUI::LayerNode
typedef RTTIBase Base
 
typedef LayerNode RTTIBase
 
- Public Types inherited from MyGUI::ILayerNode
typedef RTTIBase Base
 
typedef ILayerNode RTTIBase
 
- Public Types inherited from MyGUI::IObject
typedef IObject RTTIBase
 

Public Member Functions

virtual const std::string & getTypeName () const override
 
virtual bool isType (const std::type_info &_type) const override
 
template<typename Type >
bool isType () const
 
 SharedLayerNode (ILayer *_layer, ILayerNode *_parent=nullptr)
 
void addUsing ()
 
void removeUsing ()
 
size_t countUsing () const
 
- Public Member Functions inherited from MyGUI::LayerNode
virtual const std::string & getTypeName () const override
 
virtual bool isType (const std::type_info &_type) const override
 
template<typename Type >
bool isType () const
 
 LayerNode (ILayer *_layer, ILayerNode *_parent=nullptr)
 
 ~LayerNode () override
 
ILayergetLayer () const override
 
ILayerNodegetParent () const override
 
ILayerNodecreateChildItemNode () override
 
void destroyChildItemNode (ILayerNode *_node) override
 
void upChildItemNode (ILayerNode *_node) override
 
EnumeratorILayerNode getEnumerator () const override
 
size_t getLayerNodeCount () const override
 
ILayerNodegetLayerNodeAt (size_t _index) const override
 
void attachLayerItem (ILayerItem *_item) override
 
void detachLayerItem (ILayerItem *_item) override
 
RenderItemaddToRenderItem (ITexture *_texture, bool _firstQueue, bool _manualRender) override
 
void outOfDate (RenderItem *_item) override
 
ILayerItemgetLayerItemByPoint (int _left, int _top) const override
 
void renderToTarget (IRenderTarget *_target, bool _update) override
 
void resizeView (const IntSize &_viewSize) override
 
float getNodeDepth () const override
 
bool isOutOfDate () const
 
- Public Member Functions inherited from MyGUI::ILayerNode
virtual const std::string & getTypeName () const override
 
virtual bool isType (const std::type_info &_type) const override
 
template<typename Type >
bool isType () const
 
virtual ILayergetLayer () const =0
 
virtual ILayerNodegetParent () const =0
 
virtual ILayerNodecreateChildItemNode ()=0
 
virtual void destroyChildItemNode (ILayerNode *_node)=0
 
virtual void upChildItemNode (ILayerNode *_node)=0
 
virtual EnumeratorILayerNode getEnumerator () const =0
 
virtual size_t getLayerNodeCount () const =0
 
virtual ILayerNodegetLayerNodeAt (size_t _index) const =0
 
virtual void attachLayerItem (ILayerItem *_item)=0
 
virtual void detachLayerItem (ILayerItem *_root)=0
 
virtual RenderItemaddToRenderItem (ITexture *_texture, bool _firstQueue, bool _separate)=0
 
virtual void outOfDate (RenderItem *_item)=0
 
virtual ILayerItemgetLayerItemByPoint (int _left, int _top) const =0
 
virtual void renderToTarget (IRenderTarget *_target, bool _update)=0
 
virtual void resizeView (const IntSize &_viewSize)=0
 
virtual float getNodeDepth () const =0
 
- Public Member Functions inherited from MyGUI::IObject
virtual const std::string & getTypeName () const
 
virtual bool isType (const std::type_info &_type) const
 
template<typename Type >
bool isType () const
 
template<typename Type >
Type * castType (bool _throw=true)
 
template<typename Type >
const Type * castType (bool _throw=true) const
 
 IObject ()=default
 
virtual ~IObject ()=default
 

Static Public Member Functions

static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::LayerNode
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::ILayerNode
static const std::string & getClassTypeName ()
 
- Static Public Member Functions inherited from MyGUI::IObject
static const std::string & getClassTypeName ()
 

Additional Inherited Members

- Protected Member Functions inherited from MyGUI::LayerNode
void updateCompression ()
 
RenderItemaddToRenderItemFirstQueue (ITexture *_texture, bool _manualRender)
 
RenderItemaddToRenderItemSecondQueue (ITexture *_texture, bool _manualRender)
 
- Protected Attributes inherited from MyGUI::LayerNode
VectorRenderItem mFirstRenderItems
 
VectorRenderItem mSecondRenderItems
 
size_t mLastNotEmptyItem
 
VectorLayerItem mLayerItems
 
VectorILayerNode mChildItems
 
ILayerNodemParent
 
ILayermLayer
 
bool mOutOfDate
 
bool mOutOfDateCompression
 
float mDepth
 

Detailed Description

Definition at line 16 of file MyGUI_SharedLayerNode.h.

Member Typedef Documentation

◆ Base

Definition at line 19 of file MyGUI_SharedLayerNode.h.

◆ RTTIBase

Definition at line 19 of file MyGUI_SharedLayerNode.h.

Constructor & Destructor Documentation

◆ SharedLayerNode()

MyGUI::SharedLayerNode::SharedLayerNode ( ILayer _layer,
ILayerNode _parent = nullptr 
)
explicit

Definition at line 13 of file MyGUI_SharedLayerNode.cpp.

Member Function Documentation

◆ addUsing()

void MyGUI::SharedLayerNode::addUsing ( )

Definition at line 19 of file MyGUI_SharedLayerNode.cpp.

◆ countUsing()

size_t MyGUI::SharedLayerNode::countUsing ( ) const

Definition at line 29 of file MyGUI_SharedLayerNode.cpp.

◆ getClassTypeName()

static const std::string & MyGUI::SharedLayerNode::getClassTypeName ( )
inlinestatic

Definition at line 19 of file MyGUI_SharedLayerNode.h.

◆ getTypeName()

virtual const std::string & MyGUI::SharedLayerNode::getTypeName ( ) const
inlineoverridevirtual

Get type name as string

Reimplemented from MyGUI::LayerNode.

Definition at line 19 of file MyGUI_SharedLayerNode.h.

◆ isType() [1/2]

template<typename Type >
bool MyGUI::SharedLayerNode::isType ( ) const
inline

Compare with selected type

Definition at line 19 of file MyGUI_SharedLayerNode.h.

◆ isType() [2/2]

virtual bool MyGUI::SharedLayerNode::isType ( const std::type_info &  _type) const
inlineoverridevirtual

Compare with selected type

Reimplemented from MyGUI::LayerNode.

Definition at line 19 of file MyGUI_SharedLayerNode.h.

◆ removeUsing()

void MyGUI::SharedLayerNode::removeUsing ( )

Definition at line 24 of file MyGUI_SharedLayerNode.cpp.


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